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 to prevent business loss.

Procedure

  1. Log in to the management console.
  2. Choose Service List > Management & Deployment > Cloud Eye.
  3. In the left navigation pane, choose Alarm Management > Alarm Rules.
  4. On the displayed Alarm Rules page, click Create Alarm Rule.
  5. In the displayed Create Alarm Rule dialog box, set parameters as prompted.

    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.
      Figure 1 Configuring the alarm rule name and description
      Table 1 Parameter description

      Parameter

      Description

      Example Value

      Name

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

      alarm-p8v9

      Description

      Alarm rule description. This parameter is optional.

      -

    2. Select a monitored object and set alarm content parameters.
      Figure 2 Configuring alarm content
      Table 2 Parameters for configuring the alarm content

      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

      CSS Clusters

      Monitoring Scope

      Name of the cluster to be monitored. Select one or more monitored objects and click to synchronize the monitored objects to the dialog box on the right.

      Es-ziliao

    3. Specify Method, Template, and Alarm Notification.
      Table 3 Parameter description

      Parameter

      Description

      Example Value

      Method

      Select Use template or Create manually as required.

      If you set Monitoring Scope to Specific resources, you can set Method to Use template. For details about manually creating the monitoring scope, see Creating an Alarm Rule.

      Create manually

      Template

      Select the template to be imported.

      -

      Alarm Notification

      If this function is enabled, specify Validity Period, Notification Object, and Trigger Condition.

      -

    4. Click Create.

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