All Products
Search
Document Center

PolarDB:Create an alert rule

Last Updated:Oct 16, 2023

This topic describes how to create and manage rules that can be used to trigger threshold alerts in the PolarDB for MySQL console. This helps you identify and handle exceptions of PolarDB for MySQL clusters, PolarProxy, and compute nodes at the earliest opportunity.

Procedure

  1. Log on to the PolarDB console.
  2. In the upper-left corner of the console, select the region in which the cluster that you want to manage is deployed.
  3. Find the cluster and click the cluster ID.
  4. In the left-side navigation pane, choose Performance Monitoring.

  5. Click Add Alert Rule.

  6. On the Create Alert Rule page, specify the following parameters.

    Step

    Parameter

    Description

    Related Resource

    Product

    The service that you want to monitor. Use the default value PolarDB for Oracle.

    Resource Range

    The application scope of the alert rule. Set this parameter to All Resources or Cluster.

    Note
    • If the Resource Range parameter is set to All Resources, the system sends alert notifications if one of the clusters triggers the alert. The Rule Description parameter specifies the conditions that are used to trigger the alert.

    • If the Resource Range parameter is set to Cluster, the system sends alert notifications only if the specified cluster triggers the alert. The Rule Description parameter specifies the conditions that are used to trigger the alert.

    Alert rule setting

    Alert Rule

    The name of the alert rule.

    Rule Description

    The content of the alert rule. This parameter specifies the conditions that are used to trigger the alert.

    Note

    For more information about how to create alert rules, see Create a threshold-triggered alert rule.

    Mute for

    The interval at which the system resends the alert notification if the issue that triggers the alert persists. The minimum value is 5 minutes and the maximum value is 24 hours.

    Effective Period

    The validity period of the alert rule.

    Note

    CloudMonitor sends alert notifications only within the validity period of the alert rule and records events when the validity period expires.

    Notification Methods

    For more information about how to specify Notification Method, see Create a threshold-triggered alert rule

  7. Click OK.