I am running NRPE on Solaris 9. I am running the Nagios server on Debian.
I have successfully created my own plugin on the Solaris server and can execute it from the Debian server using check_nrpe.
I can run the native plugins on the Solaris server locally via the command line. The command that I run is the exact same one that appears in nrpe.cfg so nrpe.cfg must be right.
Every time I try to run one of the native plugins (e.g. check_users) I get an error:
NRPE: Unable to read output
I don’t understand. The service is running and accepting connections since my custom plugin worked. The native plugins work because I can run them locally. Why can’t I run the native plugins remotely?
Both Nagios and NRPE were compiled without SSL so that is not a problem. There are no firewalls/tcpwrappers or anything like that involved.
Has anyone seen this before? Does anyone have any ideas? Also, I have debugging turned on via nrpe.conf and I have *.info going to /var/adm/messages but I am getting nothing more than service start/stop messages.
Any help is appreciated.