Help Center> Intelligent EdgeCloud> User Guide> Alarm> Creating an Alarm Rule

Creating an Alarm Rule

Scenarios

You can set alarm rules for monitoring metrics. When the monitoring metrics trigger the preset alarm conditions, IEC notifies you by email or SMS message. In this way, you can handle faults in a timely manner to prevent business loss caused by resource problems.

IEC allows you to customize alarm rules only for bandwidth metrics.

Procedure

  1. Log in to the management console.
  2. Hover on the left menu to display Service List. Under Content Delivery & Edge Computing, select Intelligent EdgeCloud.

    The IEC Overview page is displayed.

  3. In the navigation pane on the left, choose Alarm Management > Alarm Rules. On the displayed page, click Create Alarm Rule.
  4. On the Create Alarm Rule page, set the parameters.

    1. Set the alarm rule name and description.

      Name: Enter a name for the alarm rule. If you do not enter a name, the system generates a random one that you can modify.

      (Optional) Description: Enter whatever you want to mark the alarm rule.

    2. Select an object to be monitored and set alarm rule parameters.
      Table 1 Alarm rule parameters

      Parameter

      Description

      Example Value

      Resource Type

      Type of the resource for which the alarm rule is configured.

      The resource type can only be EIP and Bandwidth.

      Elastic IP and Bandwidth

      Dimension

      Metric dimension of the selected resource type.

      The dimension can only be Bandwidth.

      Bandwidth

      Monitoring Scope

      Monitoring scope the alarm rule applies to.

      The only option is Specific resources. Select one or more objects and click to synchronize them to the right pane.

      Specific resources

      Threshold Type

      Type of the threshold.

      Only static thresholds are supported. A static threshold is a fixed threshold set in the alarm rule. If the metric reaches the configured threshold, an alarm is triggered.

      Static

      Method

      The way that you set static thresholds. The only option is Create manually.

      Create manually

      Alarm Policy

      Policy for triggering an alarm.

      Set the metric name, alarm policy, and alarm severity based on your requirements.

      The last part of the alarm policy indicates how often to trigger an alarm again when the alarm has been triggered but the monitored object is still abnormal.

      You can add a maximum of 20 alarm policies at a time.

      Metric Name: Inbound Bandwidth

      Alarm Policy: If the raw value is greater than 210 Mbit/s for two consecutive periods, an alarm is generated every day.

      Alarm Severity: Major

    3. Configure the alarm notification.
      Table 2 Alarm notification parameters

      Parameter

      Description

      Example Value

      Alarm Notification

      Whether to notify users by sending emails or text messages.

      Enable

      Recipient

      Alarms can be sent through notification groups.

      Notification Group

      Notification Group

      Select the notification group that needs to receive alarm notifications.

      Configure an alarm notification if the notification group that you want to select does not exist.

      -

      Validity Period

      IEC sends notifications only within the validity period specified in the alarm rule.

      If Validity Period is set to 08:00-20:00, IEC sends notifications only within 08:00-20:00.

      08:00-20:00

      Trigger Condition

      Condition for triggering the alarm notification. Select Generated alarm when an alarm is generated or Cleared alarm when an alarm is triggered, or both.

      Generated alarm and Cleared alarm

    4. Click Create.

      In the navigation pane on the left, choose Alarm Management > Alarm History. On the displayed page, view recent alarms.