Dynamic threshold according to time

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

Dynamic threshold according to time

Postby mhm » Thu Sep 23, 2021 3:22 am

Hello everyone,

I would like to know if there is a way to create adaptive thresholds in Nagios for monitoring according to the time of the day. For example I want to have a different thresholds during the day and during the night. I know one solution can probably be to create separate config files and rotate them on a schedule, but this is not ideal. Are there any recommendations? Thanks in advance.
Posts: 1
Joined: Wed Sep 22, 2021 4:49 am

Re: Dynamic threshold according to time

Postby benjaminsmith » Thu Sep 23, 2021 4:40 pm


That would be the easiest way to do it. It's not something built into XI or Core.

You could write a wrapper script for the plugin, and pass different thresholds depending on the time.

As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
Posts: 5068
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Return to Community Support

Who is online

Users browsing this forum: No registered users and 31 guests