NRPE - Could not read request from client, bailing out...

Andreas Ericsson ae at op5.se
Fri May 14 08:58:55 CEST 2004



Flak Magnet wrote:
> On Thursday 13 May 2004 02:46 am, Andreas Ericsson wrote:
> 
>>Flak Magnet wrote:
>>
>>>I am having a fit trying to get check_nrpe to work and so I reluctantly
>>>ask you folks for assistance.
>>>
>>>Environ:
>>>Nagios 1.2 on a Linux box with nrpe_check v 2.0
>>>
>>>NRPE v 1.9 on Solaris 8 box.
>>>
>>>I compiled both ends of nrpe without SSL support and I'm running nrpe on
>>>the Solaris box from inetd.
>>>
>>>When I run check_nrpe receive the following message in /var/tmp/messages:
>>>
>>>May 12 09:16:27 <hostname> nrpe[6750]: [ID 421412 daemon.error] Could not
>>>read request from client, bailing out...
>>>
>>>I've searched the FAQ and RTFM'd without coming up with anything... could
>>>it be the different versions of NRPE that are shnackering up the works?
>>
>>Documentation isn't all too obvious on this, but the two versions are
>>incompatible, due to some hasty mistake in the making of the packet
>>structure of version 1.x. I'm working on creating a backward compatible
>>check_nrpe, but I'm not done yet, so you'll just have to wait a while
>>longer, or update nrpe on the solaris box to nrpe 2.0
> 
> 
> Thank you for the help, but I'm still having the problem.  I started out with 
> identical versions (2.0) compiled sans SSL support but after that didn't work 
> I installed the packages for NRPE (v1.9) on the solaris box.  Still no joy.
> 
> Going back to the compiled 2.0 version I recieve this:
> 
> On Nagios Box - 
> CHECK_NRPE: Received 0 bytes from daemon.  Check the remote server logs for 
> error messages.
> 

Your nagios servers IP probably isn't mentioned in the 'allowed_hosts' 
section in your nrpe.conf on the solaris machine.

Also, if check_nrpe was compiled WITH ssl support and NRPE was compiled 
without, you have to specify the '-n' flag to check_nrpe, so to make it 
use a non-ssl connection (otherwise the handshake will fail, and it will 
tell you so).

> In /var/adm/messages on solaris box - 
> Well, that's odd, now I'm not seeing anything there... where should I look?
> 

-- 
Mvh
Andreas Ericsson
OP5 AB
+46 (0)733 709032
andreas.ericsson at op5.se


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&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