Currently, our organization is monitoring our servers with Check_MK.
Specifically regarding the mem.used check, it doesn't use the buff/cache field to calculate used memory. So instead of [Used memory = Total Memory - Free Memory - Buff/Cache Memory] it's only doing [Used memory = Total Memory - Free Memory], which causes alerts that the server is almost of out memory since the buff/cache is high on the server.
Hopefully I'm describing this well. If not, take a look here: http://nagios69.rssing.com/browser.php? ... &item=3037
Code: Select all
I did a code rewrite and added a check of "free" version, because since procps-ng 3.3.0+ (RHEL 7+) check_mem.sh doesn't work anymore as it is (buff/cache column)
Thanks,
TempHost