[Nagiosplug-help] problem with nrpe
ssimmons at cymfony.com
Wed Mar 19 23:58:22 CET 2008
Found the problem.
Forgot to change only_from value of localhost to the nagios server in
/etc/xinetd.d/nrpe on the other machines; working now - knew it had to
be something stupid I was missing.
From: kevin at roundsphere.com [mailto:kevin at roundsphere.com]
Sent: Wednesday, March 19, 2008 5:57 PM
To: Seth Simmons
Cc: nagiosplug-help at lists.sourceforge.net
Subject: Re: [Nagiosplug-help] problem with nrpe
On Tue, 18 Mar 2008 19:29:10 +0100 (CET), seth simmons
<ssimmons at cymfony.com> wrote:
> 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...
> 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
Once you get the communication working, I would compile back in ssl
support since that was most likely a symptom and not the problem.
More information about the Help