All Products
Search
Document Center

Server Load Balancer:Configure alert rules

Last Updated:May 12, 2026

To monitor Classic Load Balancer (CLB) instances and get notified when performance metrics cross a threshold, configure alert rules in CloudMonitor. You can set up alert rules through the CloudMonitor console or by calling CloudMonitor API operations.

If you delete a CLB instance or a listener, CloudMonitor also deletes all alert rules configured for that instance or listener.

Prerequisites

Before you begin, ensure that you have:

Configure alert rules in the CloudMonitor console

This path starts from the CLB console and automatically scopes the alert rule to the selected instance.

  1. Log on to the CLB console.

  2. Log on to the CLB console.

  3. In the top navigation bar, select the region where the CLB instance resides.

  4. On the Instances page, find the instance and click the icon in the Monitoring column.

  5. In the Monitoring Information panel, click Alert Rules.

  6. On the Alert Rules page of the CloudMonitor console, click Create Alert Rule.

  7. In the Create Alert Rule panel, configure the alert rule parameters. For details, see Create an alert rule.

Configure alert rules by calling API operations

The following figure shows the API workflow for configuring alert rules.

通过API设置报警规则_流程图

  1. (Optional) Call DescribeMetricMetaList to query the descriptions of time series metrics available in CloudMonitor. Alternatively, see Monitoring and alerting metrics.

  2. Call PutContact to create or modify an alert contact.

  3. Call PutContactGroup to create or modify an alert contact group.

  4. Call PutResourceMetricRule to configure a threshold-triggered alert rule for a CLB performance metric.

  5. Call DescribeMetricRuleList to query alert rules.