Added available ram check

This commit is contained in:
Daniele 2022-04-01 00:34:50 +02:00
parent 483d7c7f57
commit fa859d6b3f

View File

@ -101,6 +101,12 @@ DISABLED=True
COMMAND=free | grep Mem | awk '{print int($4/$2 * 100.0)}' COMMAND=free | grep Mem | awk '{print int($4/$2 * 100.0)}'
ALARM_VALUE_LESS_THAN=20 ALARM_VALUE_LESS_THAN=20
[available_ram]
# Like Free ram, but shows available instead of free. You may want to use this if you use a memcache.
DISABLED=True
COMMAND=free | grep Mem | awk '{print int($6/$2 * 100.0)}'
ALARM_VALUE_LESS_THAN=20
[cpu_temperature] [cpu_temperature]
# CPU Temperature alarm: requires lm-sensors installed and configured (check your distribution's guide) # CPU Temperature alarm: requires lm-sensors installed and configured (check your distribution's guide)
# The regexp must be adapted to your configuration: run `sensors` in the command line # The regexp must be adapted to your configuration: run `sensors` in the command line