CHECK_NRPE: Socket timeout after 10 seconds

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: CHECK_NRPE: Socket timeout after 10 seconds

Post by lmiltchev »

Do you have a IPv4 address assigned to eth0 on the client? Check it out by running:

Code: Select all

ifconfig
Be sure to check out our Knowledgebase for helpful articles and solutions!
dbarnsdal
Posts: 9
Joined: Wed Feb 26, 2014 10:16 am

Re: CHECK_NRPE: Socket timeout after 10 seconds

Post 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)
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: CHECK_NRPE: Socket timeout after 10 seconds

Post 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?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
dbarnsdal
Posts: 9
Joined: Wed Feb 26, 2014 10:16 am

Re: CHECK_NRPE: Socket timeout after 10 seconds

Post by dbarnsdal »

detvmrh2 140.211 is the client.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: CHECK_NRPE: Socket timeout after 10 seconds

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
dbarnsdal
Posts: 9
Joined: Wed Feb 26, 2014 10:16 am

Re: CHECK_NRPE: Socket timeout after 10 seconds

Post 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
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: CHECK_NRPE: Socket timeout after 10 seconds

Post by tmcdonald »

Yea, that would do it. Locking the thread up now, feel free to post another if you need to.
Former Nagios employee
Locked