Help Center> Cloud Eye> User Guide> Website Monitoring> Creating an Alarm Rule for a Monitor

Creating an Alarm Rule for a Monitor

Scenarios

This topic describes how to create an alarm rule for a created monitor.

Prerequisites

A monitor has been created.

Procedure

  1. Log in to the management console.
  2. Under Management & Deployment, select Cloud Eye.
  3. In the navigation pane on the left, choose Website Monitoring.
  4. On the Website Monitoring page, locate the row that contains the target monitor. In the Operation column, click Create Alarm Rule under More.
  5. On the Create Alarm Rule page, follow the prompts to set the parameters.
    1. Set the alarm rule name, description, and associated enterprise project.
      Table 1 Parameters

      Parameter

      Description

      Name

      Specifies the alarm rule name. The system generates a random name, which you can modify.

      Description

      (Optional) Provides supplementary information about the alarm rule.

      Enterprise Project

      Specifies the enterprise project the alarm rule belongs to. Only users with the enterprise project permissions can view and manage the alarm rule.

    2. Select a monitored object and set alarm content parameters.
      Figure 1 Configuring the alarm content
      Table 2 Parameter description

      Parameter

      Description

      Alarm Policy

      Specifies the policy for triggering an alarm.

      For example, Cloud Eye triggers an alarm every one hour if availability is 90% or less for three consecutive periods.

      That is, if the alarm is not cleared after it is generated, an alarm notification is sent, once every hour.

      Checkpoint Location

      Checkpoint locations in North China (Langfang), East China (Shanghai), and South China (Guangzhou) are supported.

      If Metric is set to Availability, Packet Loss Ratio, Response Time, or HTTP Response Code, one or more checkpoint locations can be selected.

      Alarm Severity

      Specifies the alarm severity. Valid values are Critical, Major, Minor, and Informational.

      For parameters that are not mentioned in Table 2, retain their default values.

    3. Set Alarm Notification parameters.
      Figure 2 Alarm Notification
      Table 3 Parameter description

      Parameter

      Description

      Alarm Notification

      Specifies whether to notify users when alarms are triggered. Notifications can be sent by email, text message, or HTTP/HTTPS message.

      Notification Object

      Specifies the object that receives alarm notifications. You can select the account contact or a topic.

      • Account contact is the mobile phone number and email address of the registered account.
      • Topic: A topic is used to publish messages and subscribe to notifications. If the required topic is unavailable, create one first and add subscriptions to it. For details, see Creating a Topic and Adding Subscriptions.

      Validity Period

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

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

      Trigger Condition

      Specifies the condition for triggering the alarm notification. You can select Generated alarm (when an alarm is generated), Cleared alarm (when an alarm is cleared), or both.

    4. Click Create.

    When the monitored website is abnormal (for example, the availability is 90% or less), Cloud Eye notifies you of the exception immediately to avoid service loss.