In Nagios 3, I would like a service to be escalated after being critical XX minutes. It works great on services that go from UP to CRITICAL. However, if the service has been warning >XX minutes (say for disk space that slowly is going up), and goes critical, the very first failure is triggering an escalation. It is counting the warnings to the escalation count, where as we want it to fail after 3 CRITICAL alarms, not 3 warnings and one critical.
Is there a solution that will allow me to ignore the warnings from counting towards the service check escalation?
Here's an example of another user with the same problem – and very similar configs. http://copilotco.com/mail-archives/nagios-users.2009/msg00310.html)
Best Answer
As i don't use escalations in my
Nagios
implementation i will speak blindly, just regarding the documentation for Service Escalation definition.You may have to consider the
first_notification
directive :And also consider the
escalation_options
directive :So, to achieve what you want (escalation after 3 CRITICAL alarms), i would try a definition like this :
Hope it will help...and work...!