We are currently having trouble finding a way to configure notification delay based on the service’s state. Our customer has the requirement to receive notification e-mails about warning-states only after 30 minutes. On the other hand he wants to receive notifications about critical-states already after 5 minutes.
Is there a way to configure the notification delay to fit these requirements? And if so, how?
I would say it is possible, but not so easy to implement.
For the services you want to use you have to specify a “Periodic notifications during service problems” with a time that fits inside your CRIT time minus the the initial time for the first notification.
I will try to describe with your example.
First notification after 5 minutes.
→ “Maximum number of check attempts for service” set to 5 with 1 minute check interval → hard state after 5 minutes and first notification after 5 minutes
First rule inside notification system only accept service states with critical.
And we need to set this rule to only use the first notification.
Now we need to configure “Periodic notifications during service problems” for the service with 25 minutes that the second notification is sent after 30 minutes overall.
Inside the notification rule it looks similar but only with WARN instead of CRIT selected and the “Restrict to notification number” is set to “2 to 2”.
The whole configuration is not really intuitive but should work.
So I tried it as described by you and so far, the CRIT notifications are sent as expected 5 minutes after the state change. Unfortunately the WARN notifications are also sent 5 minutes after the state change. The “Restrict notification to number” “2 to 2” doesn’t seem to work in this case.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.