N1 Grid Service Provisioning System 5.0 System Administration Guide

ProcedureHow to Set Up Notification Rules

If you plan to create a new notification rule by using an existing rule as a template, see How to Edit Notification Rules.

This procedure describes how to create notification rules by using the browser interface. You can also perform this task by using the following command.

Before You Begin

To create a notification rule, you must belong to a user group that has write permissions on notification rules.

Steps
  1. In the navigation menu, click Notification Rules.

    The Notification Rules page is displayed. It lists the notifications that are already saved in the database.

  2. In the top row of the Notification Rules table, type a name and a brief description for the rule you plan to create and click Create.

    The Details page for the notification rule is displayed.

    The notification rules Details page allows you to perform the following tasks.

    • Specify the event or events that will trigger the notification

    • Specify the email address to which the notification should be sent

  3. Specify the criteria for the new notification rule.

    There are four ways to specify which events will trigger an email notification.

    • Event Type. If you know the type of event that you want to monitor, select the event type from the drop-down list.

    • Severity Level. If you want to monitor events of a particular severity level, select the severity level from the drop-down list.

      When you specify the event's severity level, you can specify whether you want a notification email to be triggered when an event of that severity or higher occurs. To determine what the severity of a particular type of event is, refer to Table 8–1.

    • Event Message. If you want to select events based on the messages they automatically generate, you can specify part or all of an event text message in the event text contains field.

      To determine the generated message of the event you want to monitor, set up a notification rule that will trigger a notification email. When you receive a notification email that was triggered by the event you want to monitor, place the message contents in the Event Text Contains field. You can also use an asterisk (*) to match any number of characters.

    • Host or Host Type. If you want to monitor a specific host or host set, type the name of the hosts in the host field or select a host set from the drop-down list.

      To specify multiple hosts by name, lists the names in the On Host field and separate them with spaces, semicolons, or commas.

  4. In the Email a Notification To field, type an email address for the recipient of the notification messages.

    Separate multiple addresses with spaces, semicolons, or commas.

  5. When you have finished setting up the notification rule, click Save.

    The notification rule is added to the Notification Rules page.