Discussion Locked

nagios - NRPE: Unable to read output

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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.

3 replies

by cpfeiffe

Sorry, I didn't realize I still had this open. We have given up on this and have opted for MRTG instead. It is easy enough to use and if you can get the right OIDs/MIBs you can monitor anything. They have plenty of graphing tools that MRTG is compatible with so it is a good all-around solution. I did verify permissions as one of the possible problems when we were trying to get it to work, but permissions were correct. Good thought though, so I'll still give you credit before I close out the question.

This discussion is closed to new replies.