Page 1 of 1

service_check_timeout_state XI

Posted: Mon Feb 24, 2020 7:58 pm
by warapp
Is service_check_timeout_state option available yet in XI? I've updated nagios.cfg, but, changes for this setting do not appear to be working.
Plugin timeouts still return CRITICAL despite having set service_check_timeout_state=w.

Running Nagios XI 5.4.13

Thanks for any help.

-wr

Re: service_check_timeout_state XI

Posted: Tue Feb 25, 2020 1:48 pm
by scottwilkerson
Are you sure you are reaching the service_check_timeout time in seconds as opposed to a timeout limit in the plugin?

service_check_timeout_state is only affected if the service_check_timeout in the nagios.cfg is reached

Re: service_check_timeout_state XI

Posted: Wed Feb 26, 2020 4:35 pm
by warapp
The issue was that the plugin timeout was set to the same value as the service check timeout value. As soon as I increased the plugin timeout value to be greater than the service check timeout value, nagios marked the timeouts according to the service_check_timeout_state setting.
Thank you.

Re: service_check_timeout_state XI

Posted: Wed Feb 26, 2020 4:37 pm
by scottwilkerson
warapp wrote:The issue was that the plugin timeout was set to the same value as the service check timeout value. As soon as I increased the plugin timeout value to be greater than the service check timeout value, nagios marked the timeouts according to the service_check_timeout_state setting.
Thank you.
Great!

Locking thread