Skip to content

Nagios compatible Memory Utilization health check script for Automatron

License

Notifications You must be signed in to change notification settings

Automatron-Plugins/memory-free-healthchecks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Memory Utilization Health Check

Nagios compatible Memory Utilization health check script for Automatron

Install

Simply copy the memfree.py script to the plugins/checks/ directory

Usage

The memfree health check is used to check whether the available memory on a system is within threshold.

OS Support

  • Linux
    • Debian Base (Debian, Ubuntu, etc.)
    • RedHat Base (RHEL, CentOS)
  • FreeBSD

For Linux systems this check script does take into consideration the memory used for cache and Linux's ability to reclaim that memory.

Runbook example

The below is an example of the memfree check used within a runbook.

checks:
  memfree:
    execute_from: target
    type: plugin
    plugin: memfree.py
    args: --warn=20 --critical=10

In the above, the health check will return a WARNING status if the memory is below 20% and return a CRITICAL status if the memory is below 10%.

Required Arguments

The memfree check requires 2 arguments.

args: --warn=<warning threshold %> --critical=<critical threshold %>

About

Nagios compatible Memory Utilization health check script for Automatron

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages