Service check timed out after * seconds

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
r34220
Posts: 72
Joined: Fri Feb 06, 2015 6:47 pm

Service check timed out after * seconds

Post by r34220 »

I have long service check and I get "(Service check timed out after 87.39 seconds)". How do a increase the timeout value? I have set the timeout in the service checks themselves but the don't seem to be working. The service check completes from the command line but not within Nagios XI
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Service check timed out after * seconds

Post by Box293 »

Nagios Core also needs the timeout increased (there is a global timeout).

CCM
Advanced > Nagios Core Main Config
service_check_timeout=xxxx
Click Save and then Apply Config

To determine a good timeout value, time your command at the cli by pre-pending the command with "time":

Code: Select all

time /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
r34220
Posts: 72
Joined: Fri Feb 06, 2015 6:47 pm

Re: Service check timed out after * seconds

Post by r34220 »

Thanks, that worked.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Service check timed out after * seconds

Post by Box293 »

Excellent :D
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked