Help Center/ Cloud Eye/ Best Practices/ Configuring an Alarm Rule for the Disk Usage of All Mount Points on an ECS
Updated on 2022-06-23 GMT+08:00

Configuring an Alarm Rule for the Disk Usage of All Mount Points on an ECS

Scenarios

Cloud Eye allows you to configure alarm rules for all mount points of an ECS. This section describes how to configure alarm rules for the disk usage of all mount points on an ECS.

  • The mount point dimension is added to metric disk usage. When you configure a new alarm rule for the disk usage, you need to select the ECS - Mount Point dimension.
  • If you have configured an alarm rule for Any mount point of an ECS, the alarm rule will automatically apply to new mount points of the ECS.
  • If you have configured an alarm rule for the disk usage of the mount point, when you modify the alarm rule, the system prompts you to split the alarm rule into multiple rules in different dimensions. You are advised to select all mount points for the new alarm rules.
    Figure 1 Alarm rule configuration before and after optimization

Prerequisites

The Agent has been installed on the ECS.

Procedure

  1. Log in to the management console.
  2. Choose Service List > Cloud Eye.
  3. In the navigation pane on the left, choose Alarm Management > Alarm Rules, and click Create Alarm Rule in the upper right corner.
  1. On the Create Alarm Rule page, configure Name and Enterprise Project as prompted.
  2. Set Resource Type to Elastic Cloud Server and Dimension to ECSs - Mount Point.
  3. Set Monitoring Scope to Specific resources. In the resource list, select Any mount point of your target ECS. (You are advised to click Select All to select all mount points of all ECSs under the account.)
  4. Select (Agent) Disk Usage for Metric Name and configure an alarm policy.
  5. If you want to receive alarm notifications, enable Alarm Notification and select the notification object and method.