Help on CHECK_NRPE: Received 0 bytes from daemon.

Lori Adams ladams at cloudmark.com
Fri Jun 24 21:48:38 CEST 2005


I just started getting this same error.  For me it has to do with what
the argument is that I'm passing to nrpe.

I'm attempting to pass a string with '[' or ']' and I get this error:
CHECK_NRPE: Received 0 bytes from daemon.  Check the remote server logs
for error messages.

I haven't figured out where the log is yet to check for error messages.


If the string I pass does not have those brackets, it works.  I have
tried escaping the brackets to no avail.

Thoughts?

-Lori


-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marc
Powell
Sent: Friday, June 24, 2005 11:13 AM
To: nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Help on CHECK_NRPE: Received 0 bytes from
daemon.



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Kindy Sylla
> Sent: Friday, June 24, 2005 12:42 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Help on CHECK_NRPE: Received 0 bytes from
daemon.
> 
> Hello,
> I am trying to monitor remote host using nrpe and i am
> having the following : CHECK_NRPE: Received 0 bytes
> from daemon.
> 
> On the remote host, nrpe is listening on port 5666.
> netstat -pta return
> ...
> tcp        0      0 *:nrpe                  *:*
>              LISTEN      3088/nrpe
> tcp        0      0 monedia:42670           *:*
>              LISTEN      3414/xinetd
> 
> The nrpe is running as standalone daemon. No way to
> run it under xinetd. I tried everything i know,
> followed all the steps.
> I am using nrpe-2.0b5 and nagios1-2 on mandrake linux
> 10.1.
> I hope someone can help!!!!

Is your nagios host listed as an allowed_hosts in nrpe.cfg? Can you
manually telnet from your nagios host to your nrpe host on port 5666?
Have you tried enabling debug in nrpe.cfg? If the first two are correct,
the last should direct you to what you need to fix.

--
Marc


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick
_______________________________________________
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


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&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