A strange one here. I have installed NRPE and the plugins on a Ubuntu server and all works fine. However when I then install it on one of my live red hat enterprise linux servers the check_swap command stops working. I get the following:
check_swap NRPE Unable to read output
I have turned debugging on and I get the following:
Return code 3, Output: NRPE: Unable to read output
Any ideas? I have tried the permissions tweaks on the check_swap file already but to no avail.
I can run the check_swap locally and get the correct result. Running the NRPE commend either locally or remotely gives me this result.