Page 1 of 1

check_mem reports incorrect info

Posted: Mon Sep 25, 2023 6:26 am
by kabamaru
Hello everyone

I'm trying to use the check_mem plugin to monitor a machine (Rocky 9), that has 30G of RAM and it is reporting that more than 80% is in use. This is not correct. I've checked the memory usage on the host using top and there is less than 1G currently in use. The check_mem plugin is old and I am not sure if it properly works on newer OSes.

Could you please let me know if there is a a newer plugin for monitoring memory?
I'm using this line in nrpe.cfg
command[check_mem]=/usr/lib64/nagios/plugins/check_mem -u -w 85 -c 95


Thank you

Re: check_mem reports incorrect info

Posted: Mon Sep 25, 2023 10:07 am
by kabamaru
Hi

I tried this plugin instead: https://exchange.nagios.org/directory/P ... em/details
It works fine using the free command which is what I need.

Thank you