Updated on 2023-09-26 GMT+08:00

Configuring Alarm Reporting

Scenarios

If you want to be notified when CPU and disk usage thresholds are reached, enable alarm reporting for RDS for MySQL DB instances in an enterprise project. Once alarm reporting is enabled, the DB instances you create after the function is enabled are automatically added to Cloud Eye. If a configured threshold is reached, you will see an alarm reported on Cloud Eye and be notified by a text message or email sent from SMN.

To view or modify the DB instances with alarm reporting enabled, go to the Cloud Eye console. For details, see Modifying an Alarm Rule.

To view or modify the phone number or email address, open the details page of the alarm rule on Cloud Eye and click the topic under Alarm Notifications. For details, see Adding a Subscription.

Supported Regions

Alarm reporting is supported in the following regions: CN North-Beijing2, CN North-Beijing4, CN East-Shanghai1, CN South-Guangzhou, CN Southwest-Guiyang1, CN-Hong Kong, CN North-Ulanqab201, and CN North-Ulanqab202.

Alarm Policy

  • By default, the following metrics are supported for alarm reporting: CPU Usage (rds001_cpu_util), Storage Space Usage (rds039_disk_util), and Connection Usage (rds072_conn_usage). For more metrics, see Configuring Displayed Metrics.
  • When you enable alarm reporting, the phone number and email of your Huawei Cloud account are bound by default.
  • After alarm reporting is enabled, new instances are automatically added to the alarm monitoring resource list. If a configured threshold is reached, you will see an alarm reported on Cloud Eye and be notified by a text message or email sent from SMN.
  • To add a DB instance to or remove it from the alarm monitoring resource list, go to the Cloud Eye console. For details, see Modifying an Alarm Rule.

Configuring Alarm Reporting

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click in the upper left corner of the page and choose Databases > Relational Database Service.
  4. Click Alarm Rule Setting in the upper right corner.
  5. In the displayed dialog box, configure alarm reporting.

    • To enable or disable alarm reporting, click Enable or Disable in the Operation column.
    • To view alarm details, click View in the Operation column.
    Figure 1 Configuring alarm reporting