Run same check with different thresholds vs timeperiod

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

Run same check with different thresholds vs timeperiod

Post 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?
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Run same check with different thresholds vs timeperiod

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

Re: Run same check with different thresholds vs timeperiod

Post 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)
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Run same check with different thresholds vs timeperiod

Post by ssax »

I've submitted it here:

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

Feel free to add comments
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: Run same check with different thresholds vs timeperiod

Post 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 :-)
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Run same check with different thresholds vs timeperiod

Post by ssax »

No problem. I just read his response. :)
Locked