Setting CloudTable Alarm Rules

You can set CloudTable alarm rules to customize the monitored objects and notification policies. Then, you can learn about CloudTable running status in a timely manner.

The CloudTable alarm rules include alarm rule name, instance, metric, threshold, monitoring interval and whether to send notification. This section describes how to set CloudTable alarm rules.

Setting CloudTable Alarm Rules

  1. Log in to the CloudTable management console.
  2. In the left navigation pane, click Cluster Mode.
  3. In the upper right corner of the cluster list, enter the name of a cluster in the search box and click .

    Figure 1 Searching for a cluster by name

  4. In the Operation column of the cluster, click Monitor to access the Cloud Eye management console. Then you can view CloudTable monitoring information.

    The status of the cluster whose monitoring information you want to view must be In service.

  5. In the left navigation pane, choose Alarm Management > Alarm Rules.
  6. On the displayed Alarm Rule page, click Create Alarm Rule to create an alarm rule. Alternatively, modify an existing alarm rule to set an alarm rule for CloudTable.

    This section uses the modification of an existing alarm rule as an example.

    In the displayed Create Alarm Rule dialog box, set parameters as prompted.
    1. Enter an alarm rule name and description.
    2. Configure the alarm parameters as prompted.
      Figure 2 Select the monitoring scope
      Figure 3 Setting the alarm policy
      Table 1 Alarm rule parameter description

      Parameter

      Description

      Example Value

      Resource Type

      Name of the cloud service resource for which the alarm rule is configured

      CloudTable Service

      Dimension

      Metric dimension of the alarm rule. Only the Compute Units option is supported.

      Computing Units

      Monitoring Scope

      Resource scope to which an alarm rule applies. Select Specific resources and select one or more monitoring objects. For CloudTable, select the compute node ID of the cluster and click to synchronize the monitored objects to the dialog box on the right.

      Specific resources

      Method

      Select Use template or Create manually as required.

      • If no alarm template is available, set Method to Create manually and configure related parameters to create an alarm rule.
      • If you have available alarm rule templates, set Method to Use template, so that you can use a template to quickly create alarm rules.

      Create manually

      Template

      This parameter is valid only when Use template is selected.

      Select the template to be imported. If no alarm template is available, click Create Custom Template to create one that meets your requirements.

      -

      Alarm Policy

      This parameter is valid only when Create manually is selected.

      Set the policy that triggers an alarm. For example, trigger an alarm if the CPU usage equals to or is greater than 80% for 3 consecutive periods.

      Monitored CloudTable Metrics lists the monitoring metrics supported by CloudTable.

      -

      Alarm Severity

      Severity of an alarm. Valid values are Critical, Major, Minor, and Informational.

      Major

    3. Configure the alarm notification parameters as prompted.
      Figure 4 Configuring alarm notification
      Table 2 Alarm notification parameters

      Parameter

      Description

      Example Value

      Alarm Notification

      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 Alarm Notification.

      Yes

      Validity Period

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

      If Validity Period is set to 00:00-8:00, Cloud Eye send notifications only within 00:00-8:00.

      -

      Notification Object

      Name of the topic to which the alarm notification is sent

      If you enable Alarm Notification, you need to select a topic. If no desired topics are available, 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

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

      -

    4. After the configuration is complete, click Next.

      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.