How to alert for Webinject script execution time

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

How to alert for Webinject script execution time

Post 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)?
You do not have the required permissions to view the files attached to this post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: How to alert for Webinject script execution time

Post 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?
Former Nagios employee
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: How to alert for Webinject script execution time

Post 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
Locked