Check_NRPE: Error receiving data from daemon.

Andrew Barker andrew.barker at nottingham.ac.uk
Mon Mar 15 15:16:46 CET 2004


Hi
	
I am running into the following error in what appears to me to be fairly
strange circumstances.

I have written a plugin which calculates the amount of messages in an
exim mailq (it's written in perl and based on the check_mailq plugin but
is much simpler).

It runs (via check_nrpe over ssl) on 4 of our 5 mail relays without any
problem at all, however when I installed it on the fifth relay  I got an
error back when trying to pole it using check_nrpe which said "Error
receiving data from daemon". This only happens on my home grown plugin,
both the check_disk and check_load plugins run and return values to my
central nagios box using check_nrpe (I also tried running check_ntp to
prove this wasn't a problem related to the fact this plugin was written
in perl).

The plugin itself (check_eximq) runs fine when run as the username which
nrpe runs as.

I run nrpe in xinetd mode on all of these machines, when, however, I run
it in standalone daemon mode, miraculously the check_eximq plugin starts
working.

So basically I'm at a loss as to what is causing this problem to occur,
if anyone could shed any light at all on this problem it would be
greatly appreciated. (or even could point me at some more tests I could
do to figure out what's going on) I've checked the syslog and there are
no error messages on either machine, even with the nrpe debugging option
switch on (only a message to say that NRPE will be encrypting traffic).

Thanks

Andy





-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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