This topic describes how to configure an alert rule for an ApsaraDB RDS for PostgreSQL instance. If the monitored metric meets the conditions specified in the alert rule, an alert will be sent to all of the contacts in the associated alert contact group.

Metrics

Storage type Metric
Local SSD Connections usage
CPU utilization
Read-only instance latency
Disk usage
Input/output operations per second (IOPS) usage
Memory usage
Standard or enhanced SSD Active connections per CPU on average
Connections usage
CPU utilization
IOPS usage
Inode usage
Disk usage
Memory usage

Procedure

  1. Log on to the ApsaraDB for RDS console.
  2. In the top navigation bar, select the region where the target RDS instance resides.Select a region
  3. Find the target RDS instance and click its ID.
  4. In the left-side navigation pane, click Monitoring and Alerts.
  5. Click the Alerts tab.
  6. Click Set Alert Rule to go to the Cloud Monitor console.
    Note You can click Refresh in the Cloud Monitor console to update the status of the monitored metrics.
  7. Create an alert contact group. For more information, see Create an alert contact and an alert contact group.
  8. Create an alert rule. For more information, see ApsaraDB for RDS.

What to do next

  1. Go to the Cloud Service Monitoring page in the Cloud Monitor console.
  2. Select the region where the target RDS instance resides.
  3. Find the target RDS instance and click its ID.
  4. Click Alarm Rules. On the Alarm Rules page that appears, find the target alert rule, and select one of the following operations in the Actions column:
    • View: View details about the alert rule.
    • Alarm Logs: View the alerts that were triggered by the alert rule within a specific period of time.
    • Modify: Modify the alert rule. For more information about the parameters, see Alarm rule parameters.
    • Disable: Disable the alert rule. After you disable the alert rule, no alerts will be triggered even if the monitored metric meets the specified conditions.
    • Delete: Delete the alert rule. The alert rule cannot be restored after it is deleted. You can only re-create it if necessary.