Hello, i have general question.
I should to check a lot of servers and services. But sometimes i got error "Socket timeout" only for 1 minute, after that status change to OK. It is affect http check, ntp check and etc. Usually i got socket timeout twice a day. My commands use the timeout key "-t 8:1"
Ports are open, tcpdump did not show errors. To increase timeout is not good idea as i think. What the problem with timeout can be?
Thank you.
Socket timeout
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Socket timeout
Hi @matisse,
I think this is most likely the result of network issues; it's not uncommon to increase timeout settings for checks.
For example:
Increasing the Nagios Global Timeout
Edit the Nagios config file,/usr/local/nagios/etc, the two directives to change are:
Save changes and re-start core.
Let us know if that resolves the issue for you.
I think this is most likely the result of network issues; it's not uncommon to increase timeout settings for checks.
For example:
Code: Select all
check_http -H <ip address> -t 60Edit the Nagios config file,/usr/local/nagios/etc, the two directives to change are:
Code: Select all
host_check_timeout=60
service_check_timeout=60
Let us know if that resolves the issue for you.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!