We are using the latest "custom_check_mem" and even the "-n" param but no success. It's still show Critical even if all the RAM is in cache.
CentOS 7.8 x86_64 latest version of everything.
Code: Select all
# cat /usr/local/nagios/etc/nrpe/common.cfg
(...)
command[check_mem]=/usr/local/nagios/libexec/custom_check_mem -n $ARG1$
(...)
# /usr/local/nagios/libexec/custom_check_mem -n -w 20 -c 10
CRITICAL - 12432 / 128675 MB (9%) Free Memory, Used: 37987 MB, Shared: 218 MB, Buffers + Cached: 80799 MB | total=128675MB free=12432MB used=37987MB shared=218MB buffers_and_cached=80799MB
Thanks,
Saber