No Debug logging for NRPE when trying ts NRPE: Unable to read output

Matthew Litwin mlitwin at stubhub.com
Fri Sep 11 01:15:00 CEST 2009


Hi Nagios Users,

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:

Sep 10 23:06:20 srwe02lcg001 nrpe[3575]: Starting up daemon
Sep 10 23:06:20 srwe02lcg001 nrpe[3575]: Warning: Daemon is configured to
accept command arguments from clients!
Sep 10 23:06:20 srwe02lcg001 nrpe[3575]: Listening for connections on port
5666 
Sep 10 23:06:20 srwe02lcg001 nrpe[3575]: Allowing connections from:
10.X.X.X,10.X.X.X,127.0.0.1

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.

In nrpe.cfg I have this:
debug=1
log_facility=daemon

The command in nrpe.cfg looks like this:
command[check_broker]=/usr/local/nagios/libexec/check_broker $ARG1$ $ARG2$
$ARG3$

I attempt to invoke the nrpe command using check_nrpe like this:
/usr/local/nagios/libexec/check_nrpe -H srwe02lcg001.XX.XX -c check_broker
-a '//usr/local/nagios/libexec /tmp broker-pair1.xml'
(The leading slash in intentional, long story)

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.

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.

Any suggestions appreciated!

Thanks,
Matt

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090910/787002a3/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list