Check_NRPE Connectivity Issues

Chris Miller cmiller at servermotion.com
Mon May 8 03:18:58 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

All:

I'm still having problems with this. I was able to test it from a
friend's box that did not place a NAT between the two boxes and it
worked fine. Does check_nrpe not support NAT traversal? Surely it does...?

Thanks,

Chris Miller
ServerMotion
www.servermotion.com


Chris Miller wrote:
| I am using check_nrpe to connect to a remote box and run a check
| command. I am able to telnet to the box on port 5666 and get an open
| connection, but when I try to run check_nrpe (either via Nagios or just
| from CLI), I get: "CHECK_NRPE: Socket timeout after 10 seconds."
|
| I know it works because I have it checking other machines running NRPE
| too, with the exact same configuration.
|
| On the remote machine, I am getting this in /var/log/messages: "Could
| not read request from client, bailing out..."
|
| All of the machines that run nrpe are FreeBSD 5.4 and FreeBSD 6.0 (this
| one is 6.0).
|
| I am able to run the check_nrpe command from the local box and I get
| "OK" returned just fine. I have NRPE bound to the correct IP address --
| the one I am checking from the remote host.
|
| The only difference in configuration between the host that I'm getting
| the errors on and the other machines that also run NRPE without any
| issue is that the Nagios server is behind a NAT (running static NAT).
| The other servers running NRPE are also behind the same NAT, so I
| connect to them using the 10.x.x.x address. On the machine I am having
| problems with, it is located on the other side of the NAT (I connect to
| its public IP). The machine having issues is *not* behind a NAT its
| self, so I only traverse the NAT on the way *out* from the Nagios
| server. Since it runs over TCP, I would think it should work just fine
| as the connection state would be maintained in the NAT.
|
| What am I missing here? I'm also certain it's something in the NAT, was
| just wondering if there is anything special I have to do. The NAT is a
| Cisco PIX.
|



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEXpyCxBwlCB7CRwsRAnpUAJ90zTqtfqtY0RBAlmd/qbfgfaNqjwCeJ6ye
MWqN4W65IazK0N/g5dhCQJo=
=3vH6
-----END PGP SIGNATURE-----


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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