Alarms
For each metric on the Details page, you can create an alert to inform you when a condition is met. For example, you can create an alarm to notify you when OCPU consumption is less than 50%.
To create an alarm:
-
From the Options dropdown of a metric chart, select Create an Alarm on this Query.
-
On the Create Alarm page, under Define Alarm, add the trigger.
-
For Alarm Settings, complete the following fields as needed:
-
Alarm Name: Enter the name that serves as the title for notifications related to this alarm. Avoid entering confidential information.
-
Alarm Severity: Select the perceived type of response required when the alarm is in the firing state.
-
Alarm Body: Enter the content of the notification to deliver.
-
Tags (optional): Select or enter free-form tags to apply to this resource.
-
Metric description: The metric to evaluate for the alarm condition.
-
Compartment: Select the compartment that contains the resources that emit the metrics evaluated by the alarm. The selected compartment is also where the alarm is stored.
-
Metric Namespace: Enter the service or application emitting metrics for the resources that you want to monitor.
-
Resource Group (optional): Select the group that the metric belongs to.
-
Metric Name: Enter the name of the metric. Only one metric can be specified.
-
Interval: Select the aggregation window, or the frequency at which data points are aggregated.
-
Statistic: Select the aggregate function.
-
-
-
Confirm the values for Metric dimensions. Optionally, click + Additional dimension to add another dimension to the alarm.
-
For Trigger rule, complete the Operator, Value, and Trigger delay minutes fields. The graph displays the boundaries for which the alarm triggers a notification.
-
For Notifications, complete the fields as needed:
-
For Destination service, select Notifications Service.
-
For Compartment, select the compartment to store the topic used for this notification.
-
For Topic, click Create topic to set up a topic and subscription protocol in the designated compartment using the designated Destination service.
-
(Optional) Click + Additional destination service to add another destination service.
-
(Optional) Enable Repeat Notification and select Notification Interval if you want the alarm to resend notifications at the specified intervals when the alarm is in the firing state.
-
(Optional) Enable Suppress Notifications to specify a window of time to suspend evaluations and notifications. This is useful for maintenance periods.
-
-
Click Save alarm.
For more information, see Viewing Default Metric Charts.