Setting Alarm Rules

Scenarios

Setting HECS alarm rules allows you to customize the monitored objects and notification policies and determine the running statuses of your HECSs at any time.

This section describes how to set HECS alarm rules, including alarm rule names, monitoring objects, monitoring metrics, alarm thresholds, monitoring intervals, and notifications.

Setting Alarm Rules on the HECS Console

After an HECS is created, you can quickly configure alarm rules to monitor the CPU usage, memory usage, and disk usage.

  1. Log in to the management console.
  2. Under Computing, click Hyper ECS.
  3. Locate the row containing the target HECS. Click More in the Operation column and select Create Alarm Rule.
  4. Enable alarm rules as required.

    After an HECS is created, alarm rules are disabled by default. You need to manually enable them.

  5. Set the threshold.

    The status of an alarm rule changes based on the threshold you set. Cloud Eye notifies you by sending emails, text messages, or by sending HTTP/HTTPS requests once the status of an alarm rule changes.

    1. Select a threshold type.
    2. Select an operator (≥, ≤, >, and <) and enter a threshold value.
  6. Click OK.

    Wait for 5 to 10 minutes and click the Monitoring tab to view the monitoring data.

Setting Alarm Rules on the Cloud Eye Console

  1. Log in to the management console.
  2. Click in the upper left corner and select your region and project.
  3. Under Management & Deployment, click Cloud Eye.
  4. In the navigation pane on the left, choose Alarm Management > Alarm Rules.
  5. On the Alarm Rules page, click Create Alarm Rule to create an alarm rule, or modify an existing alarm rule.

    The following operations use modifying an existing alarm rule as an example.

    1. Click the target alarm rule.
    2. Click Modify in the upper right corner of the page.
    3. On the Modify Alarm Rule page, set parameters as prompted.
    4. Click OK.

      When an alarm rule is modified, the system automatically notifies you when an alarm corresponding to the rule is generated.

    For more information about HECS alarm rules, see Introduction to Alarm Rules.