Page 1 of 1

Service check timed out after * seconds

Posted: Tue Nov 10, 2015 7:53 pm
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

Re: Service check timed out after * seconds

Posted: Tue Nov 10, 2015 9:50 pm
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

Re: Service check timed out after * seconds

Posted: Tue Nov 10, 2015 10:47 pm
by r34220
Thanks, that worked.

Re: Service check timed out after * seconds

Posted: Tue Nov 10, 2015 10:49 pm
by Box293
Excellent :D