You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some time, I was facing issue that check_mem was reporting high memory usage, while free reported that memory usage was ok. On closer inspection, I found that the cache reported by check_mem was negative:
Hi!
For some time, I was facing issue that
check_mem
was reporting high memory usage, whilefree
reported that memory usage was ok. On closer inspection, I found that the cache reported bycheck_mem
was negative:The negative cache value is what causes the issue; if I choose to ignore cache dont get the warning:
Its a linux system, details are as follows:
=========================
Tried it on a different system with a more modern kernel, output is as follows:
Looks to be an issue with the
Shmem
usage in the code:https://github.com/justintime/nagios-plugins/blob/master/check_mem/check_mem.pl#L159
The text was updated successfully, but these errors were encountered: