Service check timed out

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
preethu.d
Posts: 109
Joined: Wed Nov 25, 2020 11:32 pm

Service check timed out

Post by preethu.d »

Hi,

I am getting multiple service check timeout error ((Service check timed out after 60.01 seconds)) on a node in Nagios and it is auto-resolving in sometime. It is a windows server, and the issue is only for this servers, what is the reason for this issue and how this can be resolved.

Regards,
Preethu
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Service check timed out

Post by benjaminsmith »

Hi Preethu,

From your description, it sounds like the problem comes and goes. Typically in this type of situation, this is caused by a slow network to the remote host.

You can run a large number of ping checks to verify this, for example.

Code: Select all

 ping -c 100 192.168.23.111 > /tmp/ping_log_23.111.txt
Let me know the results of the test are.

Regards,
Benjamin
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!
preethu.d
Posts: 109
Joined: Wed Nov 25, 2020 11:32 pm

Re: Service check timed out

Post by preethu.d »

Hi Benjamin,

I have sent you the ping check results. Please check.

Regards,
Preethu
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Service check timed out

Post by benjaminsmith »

HI Preethu,

Thanks for sending that over, those numbers look okay. I think it must be failing on occasion.

I would recommend increasing the max check attempts to help smooth out occasional network congestion. This will help reduced false positives (getting an alert or notification when the service or host is okay).
max-checks.png
--Benjamin
You do not have the required permissions to view the files attached to this post.
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!
preethu.d
Posts: 109
Joined: Wed Nov 25, 2020 11:32 pm

Re: Service check timed out

Post by preethu.d »

Hi Benjamin,

Currently it is set as 5,1,1 if I change to 5,1,5 how frequently Nagios check the status ?

Regards,
Preethu
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Service check timed out

Post by ssax »

5,1,1

check_interval - checked every 5 minutes
retry_interval - if problem detected check every 1 minutes, max_check_attempts number of times
max_check_attempts - 1 time

5,1,5

check_interval - checked every 5 minutes
retry_interval - if problem detected check every 1 minutes, max_check_attempts number of times
max_check_attempts - 5 times

Benjamin is having you increase the max_check_attempts to try to get around false positives.

With 5,1,1 if a problem is detected it immediately will go to a hard state and send the notification.

With 5,1,5 if a problem is detected it will recheck it every 1 minute up to 5 times. If the service is still in a problem state on the last one it will then set it to a hard state, only then will the notification be sent. This will help stop false positives from notifying because the ones that resolve themselves would be SOFT states where notifications are not sent. Notifications are only sent on hard states.

See here:

https://assets.nagios.com/downloads/nag ... types.html
https://assets.nagios.com/downloads/nag ... tions.html
preethu.d
Posts: 109
Joined: Wed Nov 25, 2020 11:32 pm

Re: Service check timed out

Post by preethu.d »

Thanks for the help.

Regards,
Preethu
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Service check timed out

Post by benjaminsmith »

Hi Preethu,

Let us know if you have further questions or if it's okay to close this topic.

-Benjamin
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!
preethu.d
Posts: 109
Joined: Wed Nov 25, 2020 11:32 pm

Re: Service check timed out

Post by preethu.d »

Hi Benjamin,

You can close the topic.

Thank you

Regards,
Preethu
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Service check timed out

Post by benjaminsmith »

HI Preethu,

Great. Thanks for the update.
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!
Locked