occasional "socket timeout after 10 seconds"
occasional "socket timeout after 10 seconds"
Moderator Edit: This thread has been split from another - https://support.nagios.com/forum/viewto ... 16&t=45274
In the future, please create a new thread and link to the old one instead of adding on.
Hello, i'm facing the same ramdom issue. should i send you the file as well?
In the future, please create a new thread and link to the old one instead of adding on.
Hello, i'm facing the same ramdom issue. should i send you the file as well?
Re: occasional "socket timeout after 10 seconds"
bolson wrote:Yes please
great, i just sent it
Re: occasional "socket timeout after 10 seconds"
Hello... any update on this?bolson wrote:File received and shared with team
thanks!
-
bolson
Re: occasional "socket timeout after 10 seconds"
It could be that at random times a server being checked becomes busy and it cannot respond in time before the default timeout for the plugin kicks in and displays the timeout message.
But, the default time out for those plugins can be increased bu going to the Core Config Manager > Commands menu, find those commands and add the -t option to the command like the example below.
Try this and let us know if it resolves your issue. Thank you!
But, the default time out for those plugins can be increased bu going to the Core Config Manager > Commands menu, find those commands and add the -t option to the command like the example below.
Code: Select all
-t 60Re: occasional "socket timeout after 10 seconds"
This seems not to be a good option since almost all the services send that message.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: occasional "socket timeout after 10 seconds"
It's hard to really say conclusively what the complete cause of this issue is. There are several reason that can cause this issue, it could be network congestion, too many threads being used on the monitoring server, or a isolated problem at the far end.lpereira wrote:This seems not to be a good option since almost all the services send that message.
The timeout is basically saying it made the request, but didn't hear back from the remote server in the time allotted.
This generally isn't a problem on the Nagios server, and if intermittent I would tend to look at connectivity problems.
Re: occasional "socket timeout after 10 seconds"
I have a few servers being monitored on remote locations with a ping TTL flapping between 715 and 1000 ms. The regular TTL is about 150 to 350ms. should that be the cause? is there a way to fix that if is the case?
-
bolson
Re: occasional "socket timeout after 10 seconds"
Hello lpereira, as a troubleshooting measure run the following on the command line of your NagiosXI server replacing ip_address with the IP address of one of the hosts you're having trouble with:
Let it run for several hours, stop it with ^C, and attach ping.txt to this topic.
Thank you!
Code: Select all
ping ip_address > ping.txtThank you!