• Cloud Eye

  1. Help Center
  2. Cloud Eye
  3. User Guide
  4. Using the Alarm Function
  5. Creating Alarm Rules
  6. Using Alarm Templates to Create an Alarm Rule

Using Alarm Templates to Create an Alarm Rule

Cloud Eye enables you to use alarm templates to create alarm rules, making it easy and convenient to add or modify alarm rules for resources or cloud services, especially for a large number of resources and cloud services.

This section describes how to use a default alarm template to create an alarm rule for a cloud service resource.

Creating Alarm Rules

  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 other parameters listed in Table 1. Click Next.
      Table 1 Parameters



      Example Value

      Resource Type

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

      Elastic Cloud Server


      Specifies the metric dimension of the selected cloud resource.


      Monitored Object

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


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



      Example Value


      Specifies the means by which you create an alarm rule.

      Use template


      Specifies the template to be used.


      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.



      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.


      Trigger Condition

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


    3. In the Specify Rule Name step, set the parameters as prompted. After the configuration is complete, click Finish.
      Table 3 Parameters



      Example Value


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



      (Optional) Provides supplementary information about the alarm rule.


After the alarm rule is created, if the metric data reaches the specified threshold, Cloud Eye will immediately inform you that an exception has occurred.