Check_MK used.mem doesn't calculate buff/cache
Posted: Tue May 23, 2017 8:34 am
I was told by the Support Staff to post here, hopefully someone will be able to point me in the right direction.
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
What would be the best way to remediate this problem?
Thanks,
TempHost
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