[Nagiosplug-help] problem with nrpe

kevin at roundsphere.com kevin at roundsphere.com
Wed Mar 19 22:57:04 CET 2008


On Tue, 18 Mar 2008 19:29:10 +0100 (CET), seth simmons
<ssimmons at cymfony.com> wrote:
> 
<snip>
>
> I have a problem communicating with nrpe.  I can do a local check on both
> systems and it works fine.  When I try to do a remote check, it fails
> saying 0 bytes received from daemon, check logs etc...
> 
<snip> 
> I originally was getting ssl errors, but it went away after doing
> ./configure --disable-ssl so I'm not sure what the issue is.  I've tried
> the plugin on two different clients with the same results.  I don't know
> if the issue is with the way I setup the client or if it's the server-or
> perhaps both?
> 
> 

It appears to be a communication problem, my guess would be a configuration
problem on the client (xinetd or firewall).  I would check the following
things on the client.

netstat -a | grep nrpe # is it listening on the right port?
iptables -L # make sure the firewall is open on port 5666

Then from the server try to telnet to the client on port 5666:

telnet client 5666 # does it open a connection or is the connection
refused?

Once you get the communication working, I would compile back in ssl support
since that was most likely a symptom and not the problem.

HTH,

Kevin






More information about the Help mailing list