Updated on 2024-09-06 GMT+08:00

Configuring Alarm Rules

This section describes the alarm policies of some metrics and how to configure them. In actual services, you are advised to configure alarm rules for metrics based on the following alarm policies.

Table 1 Parameters for alarm settings

Parameter

Description

Name

Name of the alarm rule. The system generates a name randomly but you can change it.

Description

Alarm rule description. This parameter is optional.

Alarm Type

Alarm type to which the alarm rule applies. Default: Metric.

Resource Type

Resource type. Default: EventGrid.

Dimension

Alarm dimension. Default: Event Channels.

Monitoring Scope

Resources to monitor. Default: Specific resources.

Monitored Objects

Object to monitor. Default: event channel name.

Method

Alarm triggering method. Default: Configure manually.

Alarm Policy

Policy that triggers an alarm. For details, see Table 2.

NOTE:

You cannot modify or add alarm policies for metric alarm rules created on the EG console.

Alarm Notification

After you enable this function and configure required parameters, you will be notified of alarms and alarm clearance by notification group or topic subscription.

Notification Recipient

Select Notification group or Topic subscription.

Notification Group

Select a notification group. If no notification group is available, create one by referring to Creating a Notification Object or Notification Group.

Notification Object

Select a notification contact and topic. If no topic is available, create one by referring to Creating a Notification Object or Notification Group.

Notification Window

Alarm notifications are only sent during the configured validity period.

Trigger Condition

Condition for triggering a notification.

Enterprise Project

Enterprise project to which the alarm rule belongs. For details, see Creating an Enterprise Project.

Table 2 Alarm policy parameters

Period

Number of Times

Comparison

Value

Interval

Severity

Raw data

1 time

Number

Every 10 minutes

Critical

Max.

2 consecutive times

>

Number

Every 15 minutes

Major

Min.

3 consecutive times

Number

Every 30 minutes

Minor

Sum

4 consecutive times

<

Number

Every hour

Information

Variance

5 consecutive times

=

Number

Every 3 hours

  

Procedure

  1. Log in to the management console.
  2. Click in the upper left and select a region.

    Select the region where your event channel is located.

  3. Click in the upper left and choose Middleware > EventGrid.
  4. Choose Event Channels.
  5. Click Monitor in the Operation column to go to the monitoring page.
  6. Hover over a metric and click to create an alarm rule for it.
  7. Specify the alarm rule details.

    For details about how to create an alarm rule, see Creating an Alarm Rule.