Hello and welcome to this presentation. Here, you get a brief overview of a rule created
to notify the cloud administrator of a warning level condition that occurs in the Oracle
Private Cloud Appliance. This warning is reported through the Oracle Enterprise Manager Incident
Management framework.
For an introduction to the Incident Management Framework, including how to create a rule
to monitor the agent state on the active management node, see the presentation titled "Introduction
to Incident Rules and Creating a Rule for Agent States"
The presentation titled "Enabling the Cloud Administrator to Configure Additional Incident
Notifications" describes how to integrate SNMP traps for notification in the Incident
reporting framework.
This presentation provides a brief explanation and a demonstration that shows you how to
create a rule set with a single rule to report the warning.
By default, Oracle Enterprise Manager creates an incident for all critical and fatal events.
In this demonstration, you see how to create a rule that sends an email in response to
a Warning level condition for the disk space usage in the Oracle VM Server Pool.
In this way, you can set up notifications for other types of warning level events detected
by Oracle Enterprise Manager.
As the cloud administrator, the rule you create is a personal rule. Only the Oracle Enterprise
Manager super user, sysman, can enable the rule as an Enterprise rule.
Let's go through the process to create a rule to respond to a warning level event.
In this session, I'm logged in as a Cloud Administrator. To access Incident Rules, navigate
from the set up menu, through Incidents, and click Incident Rules.
The Incident Rule interface appears with the list of All Enterprise Rules. The two rule
sets on the list here are provided out of the box. They are locked and cannot be changed.
Also, by default, these rule sets are Enterprise Rule Sets.
Click the View menu and then click on All My Rules. The rules here work only for the
user logged into the session, and one rule set already exists.
Click Create Rule Set. The interface to create a rule set appears. Enter a descriptive name.
Here, I enter OVM Server Used Space Ruleset.
The rule set is enabled by default. Uncheck the box if the rule should be disabled for
some time. The rule is owned by the user ORACLE_CLOUD_ADMIN, and it is a personal notification.
Provide a description, if you desire. I leave this blank.
Scroll to the Targets area of the interface and click the option: All targets that rule
set owner can view from type. Click the input to display target type options.
In the list of options, scroll to the option Oracle VM Server Pool, and click the checkbox
to select it.
In the Rules area of the interface, click Create. When the dialog box appears, leave
the first option - Incoming events and updates to events - selected. Click Continue.
The four step interface to create a new rule appears with the first step to select events.
The Type input shows Metric Alert and below that the option for specific events of type
Metric Alert is selected. Keep these settings and click Add.
In the Select Specific Metric Alert dialog box that appears, click the Target Type input
and select Oracle VM Server Pool.
To speed up search and selection of the metric, enter the words Used Space into the Metric
Name input and click Search.
In the results, scroll to locate the option for the OVM Server Filesystems Scheduled Metric
Group and select the metric for Used Space - percentage. Click to select the option.
Scroll to the bottom of the dialog box and click the Severity input. Click Warning. Then
click OK.
Click Next to finish with Step 1 of this process.
In the second step of the process, add actions, click Add. In the Add Conditional Actions
interface, leave the option selected to Always execute the actions.
Click on E-mail me under Send Notifications. This will send the notification to the e-mail
address set up for the ORACLE_CLOUD_ADMIN user.
Click Continue. When the add actions interface returns, click Next.
In the third step of the process, provide a name to replace the automatically generated
name. I enter OVM Server Used Space Warning.
For this demonstration, I leave the Description blank and click Next.
The fourth and final step of the process provides for a review of the new rule. When you are
satisfied with the review, click Continue.
The Create Rule Set interface returns. Scroll to review, if you choose. Then click Save.
The new Rule Set appears on the list of All My Rules with an information message at the
top. Dismiss the message by clicking the small X.
Click the rule set entry on the list to see the rule that was created.
In this presentation, we discussed the purpose of a warning rule and provided a demonstration
of how to create the rule set that implements it.
This ends the presentation. Thank you for watching.