Hi,
I create a service which invokes a custom command which calls a custom plugin.
The custom plugin is written in perl script and takes longer than 60 seconds to complete.
It does http operations over a slow wireless link.
Is there anyway to increase service_check_timeout value to longer than the default value (i.e. 60 seconds) for the service that I created?
If it is not available to tune the timer for my service, then is it possible to change the service_check_timeout value globally for all services?
I could not find any option to change service_check_timeout value in Services web page under Core Config Manager web page.
How to increase service_check_timeout value
Re: How to increase service_check_timeout value
You can change it in nagios.cfg (service_check_timeout) and than in particular Command configuration as a parameter to the check_nrpe (-t) - of course if You use check_nrpe to run the check.
Michalux
Michalux
Re: How to increase service_check_timeout value
Thanks.
I have increased the service check time to 90 seconds and it worked!!!
I have increased the service check time to 90 seconds and it worked!!!
Re: How to increase service_check_timeout value
Glad it's working for you, thanks for the follow up!