All Products
Search
Document Center

Configure Alert Rules

Last Updated: Jun 11, 2020

DAS (formerly known as HDM) provides the alert service. You can customize alert rules and templates in the DAS console. When an alert rule is triggered by a database instance, DAS automatically sends an alert. This topic describes how to configure and manage alert rules in the DAS console before you configure the alert service.

Alerts supported by different access methods

Alert ApsaraDB for RDS instance Centralized DBGateway DBGateway in host mode
Host alerts (CPU, memory, and network) Not supported Not supported Supported
Database connection failure Not supported Supported Supported
Active sessions of ApsaraDB RDS for MySQL instances Supported Supported Supported
Connections of ApsaraDB RDS for MySQL instances Supported Supported Supported
Replication delay of ApsaraDB RDS for MySQL instances Not supported Supported Supported
Cache hit rate of ApsaraDB RDS for MySQL instances Supported Supported Supported
Slow SQL queries of ApsaraDB RDS for MySQL instances per hour Supported Supported Supported
Replication interruption of ApsaraDB RDS for MySQL instances Not supported Supported Supported
Connected ApsaraDB for Redis clients Supported Supported Supported
Blocked ApsaraDB for Redis clients Supported Supported Supported
Cache hit rate of ApsaraDB for Redis instances Supported Supported Supported
Memory fragmentation rate of ApsaraDB for Redis instances Supported Supported Supported
Connections of ApsaraDB for MongoDB instances Supported Supported Supported
Cache usage of ApsaraDB for MongoDB instances Supported Supported Supported
Current operations to be performed on ApsaraDB for MongoDB instances Supported Supported Supported
Dirty data percentage in cache of ApsaraDB for MongoDB instances Supported Supported Supported
Slow SQL queries of ApsaraDB for MongoDB instances per hour Not supported Supported Supported

Procedure

  1. Log on to the DAS console.

  2. In the left-side navigation pane, choose Alert Service > Alert Rules.

  3. On the Alert Rules page, click Add Rule in the upper-right corner.

  4. In the Add Rule dialog box that appears, configure the parameters described in the following table. Then, click OK.

    Parameter Description
    Rule Name Enter a name for the alert rule.
    Type Set Event Alert or Threshold Alert.
    Description Enter a specific description for the alert rule based on the selected alert type.
    Alert Interval Set the interval at which to send alerts when the alert rule is triggered.
    Effective Time Set the time when the alert rule starts to take effect.
    Notification Method Select the method to send alerts, such as SMS, DingTalk chatbot, and email.
  5. After the alert rule is created, you can perform subsequent alert configuration operations. For more information, see Configure alerts.