0

I have a server with a memory value that I want to monitor. If the value is over a certain amount over the course of an hour, I'd like to have an alert sent, but until then I'd like to have it ignore the plugin alert.

Is it possible to have Nagios alert only if a plugin has detected an issue for more than X number of minutes? (Or alternatively alert only if X number of warnings are gathered from the plugin?)

Bart Silverstrim
  • 31,172
  • 9
  • 67
  • 87

1 Answers1

0

There isn't exactly a way to achieve "alert if this is a problem for an hour", but you can get close by understanding how checks and states work.

The time between "problem" and "notification" mostly depends on check_interval, retry_interval, and max_check_attempts.

Keith
  • 4,637
  • 15
  • 25