Creating Alarm Rules

You can create the alarm rules for cluster metrics on the Cloud Eye management console. If the monitored metrics meet the specified alarm rule, alarms are reported. In this case, you can learn about cluster exceptions in time and take proper measures.

Procedure

  1. Log in to the Cloud Eye console.

  2. In the left navigation pane, choose Alarm Management > Alarm Rules.

  3. Click Create Alarm Rule in the upper right corner.

  4. In the displayed Create Alarm Rule page, set parameters as required.

    You can create an alarm rule for a specific metric or use the alarm template to create alarm rules in batches for multiple cloud service instances. In this example, assume that you use the alarm template to create the alarm rule for the CSS cluster.

    1. Configure the name and description of an alarm rule.

      Table 1 Parameter description

      Parameter

      Description

      Example Value

      Name

      Name of the alarm rule. The system automatically generates a name, which you can change if required.

      alarm-p8v9

      Description

      Alarm rule description. This parameter is optional.

      -

    2. Select a monitored object and set alarm content parameters.

      Table 2 Parameters for configuring alarms

      Parameter

      Description

      Example Value

      Resource Type

      Name of the service for which the alarm rule is configured

      Cloud Search Service

      Dimension

      Metric dimension of the alarm rule. Currently, the following dimensions are supported:

      • CSS Clusters: Alarm rules are specified by cluster.

      • CSS Clusters - CSS Instances: Alarm rules are specified by node in a cluster.

      CSS clusters

      Monitoring Scope

      Resource range to which the alarm rule applies. You can select Resource groups or Specific resources.

      Note:

      • If you select Resource groups and any resource in the group meets the alarm policy, an alarm is triggered.

      • If you select Specific resources, select one or more monitored objects and click image1 to synchronize the monitored object or objects to the dialog box on the right.

      Specific resources

    3. Specify Method, Template, and Alarm Notification.

      Table 3 Parameter description

      Parameter

      Description

      Example Value

      Method

      Select Use template or Create manually.

      If you set Monitoring Scope to Specific resources, you can set Method to Use template.

      Create manually

      Template

      Template you want to import

      -

      Alarm Notification

      If you enable this function, specify Validity Period, Notification Object, and Trigger Condition.

      -

    4. Click Create.

      After the alarm rule is successfully created, it will be displayed in the alarm rule list