When I run check_mem to check memory usage on a system, I get an error message. Not sure what would cause that. My other nrpe commands works... like check_sda1. Why would check_mem not work? Both of the commands are on the server and client side.
Here's what I have on my nrpe.cfg for the check_mem command
command[check_mem]=/usr/local/nagios/libexec/check_mem -w 90 -c 95
When I run the command manually
sudo /usr/local/nagios/libexec/check_nrpe -H ***.***.***.*** -c check_mem -t 30
NRPE: Unable to read output