Setting Up a Rule to Send Different Notifications for Different Severity States of an Event

Before you perform this task, ensure the DBA has set appropriate thresholds for the metric so that a critical metric alert is generated as expected.

Consider the following example:

The Administration Manager sets up a rule to page the specific DBA when a critical metric alert event occurs for a database in a production database group and to email the DBA when a warning metric alert event occurs for the same targets. This task occurs when a new group of databases is deployed and DBAs request to create appropriate rules to manage such databases.

Perform the following tasks to set appropriate thresholds:

  1. From the Setup menu, select Incidents, then select Incident Rules.

  2. On the Incident Rules - All Enterprise Rules page, highlight a rule set and click Edit.... (Rules are created in the context of a rule set. If there is no existing rule set to manage the newly added target, create a rule set.)

  3. In the Edit Rule Set page, locate the Rules section. Click Create...

  4. From the Select Type of Rule to Create dialog, choose Incoming events and updates to events. Click Continue.

  5. Provide the rule details as follows:

    1. For Type, select Metric Alerts as the Type.

    2. In the criteria section, select Severity. From the drop-down list, check and Critical and Warning as the selected values. Click Next.

    3. On the Add Actions page, click +Add.

      In the Create Incident section, check the Create Incident option. Click Continue. The Add Action page displays with the new rule. Click Next.

    4. Specify a name for the rule and a description. Click Next.

    5. On the Review page, ensure your settings are correct and click Continue. A message appears informing you that the rule has been successfully created. Click OK to dismiss the message.

      Next, you need to create a rule to perform the notification actions.

  6. From the Rules section on the Edit Rules page, click Create.

  7. Select Newly created incidents or updates to incidents as the rule type and click Continue.

  8. Check Specific Incidents.

  9. Check Severity and from the drop-down option selector, check Critical and Warning. Click Next.

  10. On the Add Actions page, click Add. The Conditional Actions page displays.

  11. In the Conditions for actions section, choose Only execute the actions if specified conditions match.

  12. From the Incident matches the following criteria list, choose Severity and then Critical from the drop-down option selector.

  13. In the Notifications section, enter the DBA in the Page field. Click Continue. The Add Actions page displays.

  14. Click Add to create a new action for the Warning severity.

  15. In the Conditions for actions section, choose Only execute the actions if specified conditions match.

  16. From the Incident matches the following criteria list, choose Severity and then Warning from the drop-down option selector.

  17. In the Notifications section, enter the DBA in the Email to field. Click Continue. The Add Actions page displays with the two conditional actions. Click Next.

  18. Specify a rule name and description. Click Next.

  19. On the Review page, ensure your rules have been defined correctly and click Continue. The Edit Rule Set page displays.

  20. Click Save to save your newly defined rules.