<HTML>
<HEAD>
<TITLE>No Debug logging for NRPE when trying ts NRPE: Unable to read output</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi Nagios Users,<BR>
<BR>
I am running NRPE on CentOS 5.3 and I am unable to get nrpe to run with debug logging. I am trying to debug a “NRPE: Unable to read output” error but I cannot see any nrpe activity in /var/log/messages pertaining to nrpe other than the usual startup stuff:<BR>
<BR>
Sep 10 23:06:20 srwe02lcg001 nrpe[3575]: Starting up daemon<BR>
Sep 10 23:06:20 srwe02lcg001 nrpe[3575]: Warning: Daemon is configured to accept command arguments from clients!<BR>
Sep 10 23:06:20 srwe02lcg001 nrpe[3575]: Listening for connections on port 5666 <BR>
Sep 10 23:06:20 srwe02lcg001 nrpe[3575]: Allowing connections from: 10.X.X.X,10.X.X.X,127.0.0.1<BR>
<BR>
After attempted to connect and failing, I get no logging whatsover, as tho the debug is being ignored. “debug’ doesn’t appear anywhere else in the file.<BR>
<BR>
In nrpe.cfg I have this:<BR>
debug=1<BR>
log_facility=daemon<BR>
<BR>
The command in nrpe.cfg looks like this:<BR>
command[check_broker]=/usr/local/nagios/libexec/check_broker $ARG1$ $ARG2$ $ARG3$<BR>
<BR>
I attempt to invoke the nrpe command using check_nrpe like this:<BR>
/usr/local/nagios/libexec/check_nrpe -H srwe02lcg001.XX.XX -c check_broker -a '//usr/local/nagios/libexec /tmp broker-pair1.xml'<BR>
(The leading slash in intentional, long story)<BR>
<BR>
Obviously, my main goal is troubleshooting this problem, but really, I would like to find out why NRPE won’t log anything more than it does. I run in on solaris in debug mode and I get gobs of wonderful debug logging, but for CentOS I get bupkiss.<BR>
<BR>
I have tested making changes to other NRPE command names to confirm that my config updates and restarts are in fact potent just to eliminate complete bone-headed-ness and I have proved to myself that I edits are being reflected after restarts of NRPE.<BR>
<BR>
Any suggestions appreciated!<BR>
<BR>
Thanks,<BR>
Matt<BR>
</SPAN></FONT>
</BODY>
</HTML>