Was this helpful?
ema_check_memory
The ema_check_memory plug-in checks RAM, buffer, and memcache utilization using the “free” command. Information displayed includes percentage of free memory remaining.
The plug-in has the following format:
ema_disk_check -s|-r -w free% -c free% [-h]
-w free%
Specifies the free threshold for a warning. This number should be greater than -c free%.
-c free%
Specifies the usage threshold for a critical state.
-s
Checks for swap.
-r
Checks for RAM.
-h
Prints help.
Example:
Check RAM memory. Warning is when there is 20% free. Critical is when there is only 10% free.
ema_check_memory -r -w 20 -c 10
Last modified date: 08/29/2024