Receiving Email for Private Rules

A DBA has setup a backup job on the database that he is administering. As part of the job, the DBA has subscribed to email notification for "completed" job status. Before you create the rule, ensure that the DBA has the requisite privileges to create jobs. See Utilizing the Job System and Corrective Actions for job privilege requirements.

Perform the following steps:

  1. Navigate to the Rules page.

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

  2. On the Incident Rules - All Enterprise Rules page, either edit an existing rule set (highlight the rule set and click Edit...) or create a new rule set.

    Note: The rule set must be defined as a Private rule set.

  3. In the Rules tab of the Edit Rule Set page, select Create... and select Incoming events and updates to events. Click Continue.
  4. On the Select Events page, select Job Status Change as the Event Type. Select the job in which you are interested either by selecting a specific job or selecting a job by providing a pattern, for example, Backup Management.

    Add additional criteria by adding an attribute: Target Type as Database Instance.

  5. Add conditional actions: Event matches the following criteria (Severity is Informational) and email Me for notifications.
  6. Review the rules summary. Make corrections as needed. Click Save.
  7. Create a database backup job and subscribe for email notification when the job completes.

When the job completes, Enterprise Manager publishes the informational event for "Job Complete" state of the job. The newly created rule is considered 'matching' against the incoming job events and email will be sent to the DBA.

The DBA receives the email and clicks the link to access the details section in Enterprise Manager console for the event.