Page 2 of 2

Re: CHECK_NRPE: Socket timeout after 10 seconds

Posted: Wed Feb 26, 2014 4:15 pm
by lmiltchev
Do you have a IPv4 address assigned to eth0 on the client? Check it out by running:

Code: Select all

ifconfig

Re: CHECK_NRPE: Socket timeout after 10 seconds

Posted: Fri Feb 28, 2014 8:24 am
by dbarnsdal
[root@detvmrh2 ~]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:50:56:9E:3D:88
inet addr:158.60.140.211 Bcast:158.60.140.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4606765924 errors:0 dropped:0 overruns:0 frame:0
TX packets:4954257593 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2865170003173 (2.6 TiB) TX bytes:2222061593767 (2.0 TiB)

Re: CHECK_NRPE: Socket timeout after 10 seconds

Posted: Fri Feb 28, 2014 12:39 pm
by abrist
dbarnsdal wrote: Server
[root@dethprh2 init.d]# nmap 158.60.146.211 -p 5666

Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2014-02-26 15:57 EST
Failed to lookup subnet/netmask for device (eth0): eth0: no IPv4 address assigned
QUITTING!
dbarnsdal wrote:[root@detvmrh2 ~]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:50:56:9E:3D:88
inet addr:158.60.140.211 Bcast:158.60.140.255 Mask:255.255.255.0
Is 158.60.140.211 you nagios server, or remote host?

Re: CHECK_NRPE: Socket timeout after 10 seconds

Posted: Fri Feb 28, 2014 3:44 pm
by dbarnsdal
detvmrh2 140.211 is the client.

Re: CHECK_NRPE: Socket timeout after 10 seconds

Posted: Fri Feb 28, 2014 3:56 pm
by lmiltchev
Can you restart the network on the client?

Code: Select all

service network restart
...and check the IP again?

Code: Select all

ifconfig
Then from the nagios server, run:

Code: Select all

nmap <remote ip address>
and show the output.

Re: CHECK_NRPE: Socket timeout after 10 seconds

Posted: Sat Mar 01, 2014 1:50 pm
by dbarnsdal
Hi guys.

I believe I've discovered the issue. There isn't a software firewall, there is a physical firewall between the two subnets.

Thanks for all your help.

Derrick

Re: CHECK_NRPE: Socket timeout after 10 seconds

Posted: Mon Mar 03, 2014 10:24 am
by tmcdonald
Yea, that would do it. Locking the thread up now, feel free to post another if you need to.