Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Watch Using notification rules on Youtube.

Notification rules are used to configure conditions, time constraints, and notification steps for an event for each notification action type. There are 8 types of notification events within Opsgenie:

  • New Alert: A new alert is created for which you are added as a recipient.

  • Acknowledged Alert: Another user has acknowledged an alert that you were notified of.

  • Closed Alert: Another user has closed an alert that you were notified of.

  • Re-Notified Alert: An alert for which you were notified previously notifies you again via an escalation rule or auto-restart configuration.

  • Assigned Alert: You were assigned as the owner of an alert by another user.

  • Added Note to Alert: Another user added a note to an alert that you were notified of.

  • Schedule Start: Your on-call rotation is being started.

  • Schedule End: Your on-call rotation is being ended.

  • Incoming Call Routing: A new incoming call has been received and you're on the call recipients list.

Add as many notification rules desired for each event.

A screenshot showing some settings to Opsgenie's notification rules.

Notification rules allow users to configure notification steps that use their existing contact methods and define conditions & time constraints on them. If a notification event has multiple notification rules, only the first notification rule whose conditions and time constraints (if any) are matched is used while notifying. Therefore, if there are multiple notification rules within a New Alert event type and the first of them was configured as follows:

A screenshot showing a sample notification settings for a new alert type.

None of the next notification rules are checked or used by Opsgenie and the user will not be notified for this example (Because no notification steps are defined for the matching notification rule). Therefore, it is important to pay attention to the order of the notification rules within the same event type.

While configuring a notification step for a notification rule– specify the contact methods used and the delay between the event and notification. Adding multiple notification steps is allowed for the same notification rule without any limitation. Furthermore, enable the Repeat option of a notification rule for some event types to notify in a loop with a maximum of 10 times as long as the details of the concerned alert aren't opened.

A screenshot showing a sample notification cycle for an Opsgenie user.

Please note that the repeating starts when the defined time threshold is passed after the execution of last notification step. For example, if an event occurs on 16:00; considering the configuration of the notification steps above, the user is notified at:

16:00 (iPhone)
16:01 (iPhone)
16:02 (Voice)
16:04 (iPhone)
16:05 (iPhone)
16:06 (Voice)
16:08 (iPhone)
and so on.