Page 1 of 2

CRITICAL - Socket timeout after 10 seconds

Posted: Tue Oct 13, 2015 8:01 am
by mmcknig4
Getting this error message on one host:

CRITICAL - Socket timeout after 10 seconds

Resolution?

Mark

Re: CRITICAL - Socket timeout after 10 seconds

Posted: Tue Oct 13, 2015 9:42 am
by tmcdonald
We'll need quite a bit more information:
  • Is this for XI or Core?
  • What plugin are you using to check?
  • Is this being run through an agent? If so, which one?
  • Is this error appearing on just that one host/service or on many?

Re: CRITICAL - Socket timeout after 10 seconds

Posted: Tue Oct 13, 2015 12:00 pm
by mmcknig4
Hello,

It is Nagios XI
And only one host is having this issue.

See attachment.

Re: CRITICAL - Socket timeout after 10 seconds

Posted: Tue Oct 13, 2015 12:23 pm
by hsmith
Try to ping it. According to that screenshot there is 100% packet loss to this host. I believe Nagios is doing its job and telling you it cannot communicate with this host.

Re: CRITICAL - Socket timeout after 10 seconds

Posted: Tue Oct 13, 2015 1:10 pm
by mmcknig4
Yep. Pinging fails. Could a firewall issue cause this kind of behavior?

Re: CRITICAL - Socket timeout after 10 seconds

Posted: Tue Oct 13, 2015 1:18 pm
by hsmith
Yes, it could. There could be a lot of things causing the issue. Perhaps ICMP is blocked? Maybe the host is actually down? Do you have any way to verify connectivity to this location?

Re: CRITICAL - Socket timeout after 10 seconds

Posted: Tue Oct 13, 2015 2:31 pm
by mmcknig4
The host is not down. I can log into the server via RDP. I also noticed I cannot ping it from my workstation in addition to the server that nagios is hosted on.

But I also noticed it is a webserver. I'm new here and still learning this environment. I am going to look at the firewall rules and see what is in place. Thanks for your patience and working with me.

Mark

Re: CRITICAL - Socket timeout after 10 seconds

Posted: Tue Oct 13, 2015 2:34 pm
by hsmith
Makes sense. I came from a Casino environment before working here, and everything was super locked down. Let us know if there is anything else we can do to help.

Thanks for following up!

Re: CRITICAL - Socket timeout after 10 seconds

Posted: Wed Oct 21, 2015 2:33 pm
by rkennedy
@mmcknig4 I saw you opened another thread regarding this with the same issue, and I wanted to address it here where there is more information available. The new thread you posted today has been deleted.

Were you able to check your firewall rules at both locations to see if anything is blocking it at that layer?

To check if Nagios is the issue, please post the result of the following command.
- From the Nagios machine, navigate to /usr/local/nagios/libexec/
- Enter the command ./check_nrpe -H iphere -t 30

Replace iphere with the IP of the machine in Missouri.

Re: CRITICAL - Socket timeout after 10 seconds

Posted: Wed Oct 21, 2015 2:36 pm
by tmcdonald
I have also moved this to the appropriate section of the forum, out of Nagios Ideas.