Page 2 of 2

Re: About plugin time out state

Posted: Mon Nov 14, 2016 11:13 am
by rkennedy
@tgriep is right, and some plugins have a -t parameter for you to specify a timeout.

Re: About plugin time out state

Posted: Tue Nov 15, 2016 1:42 am
by Pitone_Maledetto
Thanks,
I have increased by 5 seconds the plugin timeout option.
I have adjusted the service_check_timeout value to be greater than 5 seconds compared to in built plugin; hence Nagios will kill the plugin before the plugin itself and exit UNKNOWN (which will not notify via email).
I think I will apply the change for all my checks and cut the amount of alert sent out regarding plugin timeout states.
I am happy to set this post as resolved.
Thank you all for your help.
Regards

Re: About plugin time out state

Posted: Tue Nov 15, 2016 11:27 am
by rkennedy
Sounds good, I will mark this post as resolved and close it out.

Feel free to open a new one if you need assistance in the future.