Page 1 of 1

Run same check with different thresholds vs timeperiod

Posted: Tue Mar 31, 2020 6:18 pm
by dlukinski
What would be the right way to run the same check with different threshold during the different time periods?

Say we know that some check 'normal' from 4 AM to 11 PM is one set of thresholds, while 11 PM to 4 AM it performs a lot slower due to backups over the network. How to configure multiple set of checks to run over the template during the certain time only and cloned set with different thresholds during all other times?

Re: Run same check with different thresholds vs timeperiod

Posted: Wed Apr 01, 2020 2:03 pm
by ssax
This is not currently possible without setting up multiple services or writing a wrapper script to adjust the thresholds based on the check time (or modify the plugin to change it).

I can submit a feature request on your behalf if you'd like. Please keep in mind that the decision to implement the enhancement is at the discretion of our development team.

Re: Run same check with different thresholds vs timeperiod

Posted: Fri Apr 03, 2020 9:37 am
by dlukinski
ssax wrote:This is not currently possible without setting up multiple services or writing a wrapper script to adjust the thresholds based on the check time (or modify the plugin to change it).

I can submit a feature request on your behalf if you'd like. Please keep in mind that the decision to implement the enhancement is at the discretion of our development team.

Please do: this should be beneficial to the product:

24x7 checks should be flexible for Datacenters and remote connections (in our case, we do have slowdowns because of the large amount of backups happening during the same timeframe)

Re: Run same check with different thresholds vs timeperiod

Posted: Fri Apr 03, 2020 3:00 pm
by ssax
I've submitted it here:

https://github.com/NagiosEnterprises/na ... issues/753

Feel free to add comments

Re: Run same check with different thresholds vs timeperiod

Posted: Tue Apr 21, 2020 9:55 am
by dlukinski
ssax wrote:I've submitted it here:

https://github.com/NagiosEnterprises/na ... issues/753

Feel free to add comments
Thank you, and another one to Eric L. for the honest answer :-)

Re: Run same check with different thresholds vs timeperiod

Posted: Tue Apr 21, 2020 3:59 pm
by ssax
No problem. I just read his response. :)