Greetings of the day!
On our Nagios XI installation the service_check_timeout is set to default, 60. We have got some servers which is usually very busy and require time to respond to a service checks and there are few services which needs atleast 4 minutes to calculate and send the result back. These particular service checks tend to timeout all the time.
I was wondering if there is a way to set service_check_timeout for a particular service?
Thanks
service_check_timeout for a service?
Re: service_check_timeout for a service?
There is no way to set this for individual services. The snippet from the Nagios Core docs here:
Generally, when a check requires a very long amount of time to check something, its generally turned into a passive check. So you would basically have that check kicked off by a cron job or some other scheduled means.
Indicate that only the commands can set themselves a timeout if you want a shorter timeout than the globally set timeout, however, a longer timeout is not possible.If the plugins are timing out after a short period of time, increase the timeout value for the plugin using the appropriate command line argument for that plugin. This may be done in either the command definition, or in individual service definitions.
Generally, when a check requires a very long amount of time to check something, its generally turned into a passive check. So you would basically have that check kicked off by a cron job or some other scheduled means.
Nicholas Scott
Former Nagios employee
Former Nagios employee