All Products
Search
Document Center

ApsaraDB RDS:Manage alerts

Last Updated:Sep 13, 2023

You can configure an alert rule for an ApsaraDB RDS for MySQL instance. If the conditions specified in the alert rule are met, the system notifies all contacts in the specified contact groups.

Background information

The monitoring and alerting feature of ApsaraDB RDS is implemented by using CloudMonitor. CloudMonitor allows you to configure metrics and alert rules. When a condition specified for an alert rule is met, CloudMonitor sends alert notifications to all alert contacts in your alert contact group by sending emails. You can manage the alert contact group that corresponds to a monitoring metric. When an alert is triggered, the system can notify alert contacts in the alert contact group at the earliest opportunity.

For more information about how to configure alert rules for RDS instances that run other database engines, see the following topics:

Enable the initiative alert feature

The initiative alert feature allows you to establish an alert system for multiple metrics in RDS. An alert notification is sent if an exception of a key metric occurs. You can then handle the exception at the earliest opportunity. For more information, see Enable the initiative alert feature.

  1. Go to the Instances page. In the top navigation bar, select the region in which the RDS instance resides. Then, find the RDS instance and click the ID of the instance.
  2. In the left-side navigation pane, click Monitoring and Alerts.

  3. On the page that appears, click the Alerts tab.

  4. In the right-side section of the page, turn on the Initiative Alert switch.

    一键报警

Create an alert rule

  1. Go to the Instances page. In the top navigation bar, select the region in which the RDS instance resides. Then, find the RDS instance and click the ID of the instance.
  2. In the left-side navigation pane, click Monitoring and Alerts.

  3. On the page that appears, click the Alerts tab.

  4. In the right-side section of the page, click Set Alert Rule to go to the CloudMonitor console.

    报警规则设置
  5. Create an alert contact group. For more information, see Create an alert contact or alert contact group.

  6. Create an alert rule. For more information, see Create an alert rule.

    Note

    You can also configure CloudMonitor to automatically monitor resources based on tags. For more information, see Monitor resources based on tags.

Manage an alert rule

  1. Go to the Instances page. In the top navigation bar, select the region in which the RDS instance resides. Then, find the RDS instance and click the ID of the instance.
  2. In the left-side navigation pane, click Monitoring and Alerts.

  3. On the page that appears, click the Alerts tab.

  4. In the right-side section of the page, click Set Alert Rule to go to the CloudMonitor console.

    报警规则设置
  5. On the Alert Rules page, find the alert rule that you want to manage, and select one of the following operations in the Actions column:

    • Details: View the alert rule details.

    • Alert History: View the alerts that were triggered by the alert rule within a specific time range.

    • Modify: Modify an alert rule. For more information, see Create an alert rule.

    • Disable: Disable the alert rule. After you disable the alert rule, no alerts are triggered even if the metric meets the conditions that are specified in the alert rule.

    • Enable: Enable the alert rule. After you disable the alert rule, no alerts are generated even if the conditions of the alert rule are met.

    • Delete: Delete the alert rule. After you delete the alert rule, the alert rule cannot be restored. You can only re-create the alert rule if necessary.