Page 1 of 1
How to alert for Webinject script execution time
Posted: Wed Apr 20, 2016 1:46 pm
by dlukinski
Hello XI Support
Please take a look at attachment and let us know how we could get alerts for webinject script execution time (say if instead of 4-5 sec it did 30+ sec)?
Re: How to alert for Webinject script execution time
Posted: Wed Apr 20, 2016 4:25 pm
by tmcdonald
I don't think this would be available as an argument to the plugin itself, but your
service_check_timeout in the main config could be used for this:
https://assets.nagios.com/downloads/nag ... ck_timeout
It's 60 by default, and if you set it to 30 then globally any check taking more than 30 seconds will be killed and the status set to CRITICAL. If this does happen, you won't get the results of the webinject test - do you expect a valid test to take more than 30 seconds?
Re: How to alert for Webinject script execution time
Posted: Fri Apr 22, 2016 1:59 pm
by dlukinski
tmcdonald wrote:I don't think this would be available as an argument to the plugin itself, but your
service_check_timeout in the main config could be used for this:
https://assets.nagios.com/downloads/nag ... ck_timeout
It's 60 by default, and if you set it to 30 then globally any check taking more than 30 seconds will be killed and the status set to CRITICAL. If this does happen, you won't get the results of the webinject test - do you expect a valid test to take more than 30 seconds?
Actually we've got by-step and by-script delays in the WebInject Wizard
So guess this question is now answered
Please close this thread