memory check
Posted: Thu Mar 10, 2011 5:25 pm
I have been trying to check the memory on a redhat server with the nrpe agent. There wasn't a plugin so I grabbed the custom_check_mem script from the centos machine that I have, and copied it to the server. It will do the check, but when the memory is ok it gives a warning. When I switch the -gt -lt on the warnings in the script my nagios server says its ok. It won't pull the percentage into nagios, but it does give me the information. When I run the script locally it does everything correct. Do you know what could be causing the problem or if there is a better check to use? Thanks.