• Cloud Eye

ces
  1. Help Center
  2. Cloud Eye
  3. User Guide
  4. Using the Alarm Function
  5. Creating Alarm Rules
  6. Creating an Alarm Rule for a Specific Metric

Creating an Alarm Rule for a Specific Metric

Cloud Eye enables you to create alarm rules for a specific metric of a single or multiple cloud services, making it convenient for you uniformly monitor the specific metric of such a service.

Adding a Custom Alarm Rule

  1. Log in to the management console.
  2. Click in the upper left to select a region and a project.
  3. Under Management & Deployment, select Cloud Eye.
  4. Choose Alarm Management > Alarm Rules and click Create Alarm Rule.
  5. In the Create Alarm Rule dialog box, follow the prompts to set the parameters.
    1. Select an object and configure parameters listed in Table 1. Click Next.
      Table 1 Parameters

      Parameter

      Description

      Example Value

      Resource Type

      Specifies the name of the service for which the alarm rule is configured.

      Elastic Cloud Server

      Dimension

      Specifies the metric dimension of the selected cloud resource.

      ECSs

      Monitored Object

      Specifies the resource for which the alarm rule is set. You can specify one or more resources.

      N/A

    2. In the Select Metric step, select Create manually and configure parameters based on Table 2.
      Table 2 Parameters

      Parameter

      Description

      Example Value

      Method

      Specifies the means by which you create an alarm rule.

      Create manually

      Metric

      For example:

      • CPU Usage

        Indicates the CPU usage of the monitored object. The unit is percent.

      • Memory Usage

        Indicates the percentage of memory currently in use. The unit is percent.

      CPU Usage

      Alarm Policy

      Specifies the policy that triggers an alarm.

      For example, trigger an alarm if the metric average data equals to or is greater than 80% for 3 consecutive periods of 5 minutes.

      N/A

      Alarm Severity

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

      Major

      Alarm Notification

      Specifies whether to notify users when alarms are triggered. Notifications can be sent as emails or text messages, or HTTP/HTTPS requests sent to the servers.

      You can enable (recommended) or disable this function.

      Enable

      Topic

      Specifies the name of the topic to which the alarm notification is sent.

      If you enable this function, you need to select a topic. If no desired topics are available, you need to create one first, whereupon the SMN service is invoked. For details about how to create a topic, see the Simple Message Notification User Guide.

      N/A

      Trigger Condition

      Specifies the condition for triggering the alarm. You can select Generated alarm, Cleared alarm, or both.

      N/A

    3. In the Specify Rule Name step, set the parameters as prompted. Click Create.
      Table 3 Parameters

      Parameter

      Description

      Example Value

      Name

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

      alarm-b6al

      Description

      (Optional) Provides supplementary information about the alarm rule.

      N/A