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 Streams.

Monitoring Scope

Resources to monitor. Default: Specific resources.

Monitored Objects

Object to monitor. Default: event stream name.

Method

Alarm triggering method. Default: Configure manually.

Alarm Policy

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

NOTE:

If a metric alarm policy is created on the EG page, you cannot modify or add other metric alarm policies.

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.

Notification Object

Select a notification contact and topic.

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.

Procedure

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

    Select the region where your event stream is located.

  3. Click in the upper left and choose Middleware > EventGrid.
  4. Choose Event Streams.
  5. Click in the row that contains the target event stream 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.