All Products
Search
Document Center

Application Real-Time Monitoring Service:Synthetic Monitoring alert rules

Last Updated:Aug 25, 2026

Synthetic Monitoring alert rules define alert conditions for scheduled monitoring tasks. When a condition is met, the system generates an alert event and delivers notifications through SMS, email, phone call, DingTalk chatbot, WeCom chatbot, or webhook.

Prerequisites

  • A scheduled Synthetic Monitoring task is created. Alert rules are configured per task.

  • (Optional) A notification policy is configured if you want to route alert notifications through specific channels. You can also configure a notification policy after you create the alert rule.

Create an alert rule

  • Log on to the ARMS console.

    • In the left-side navigation pane, choose Synthetic Monitoring > Scheduled Tests. On the Scheduled Tests page, click Alert to the right of the target task.

    • In the alert rules panel, click Create alert rule.

    • In the Create Synthetic Monitoring alert panel, configure the following parameters.

    ParameterDescription
    Alert nameThe name of the alert.
    Task IDThe ID of the current Synthetic Monitoring task, which is auto-populated.
    Alert groupSelect an alert group. Different task types support different alert groups.
    Alert metricSelect the metric for which you want to configure an alert. Each alert group corresponds to a different set of metrics.
    Alert conditionConfigure the conditions that generate an alert event, based on the preset content of the alert metric.
    Filter conditionSpecify the scope to which the alert rule applies, based on the alert metric. An alert event is generated whenever a resource that meets the filter condition also meets this alert rule. The following filter conditions are available: - Traverse: The alert rule applies to all resources in the current task. The filter condition is set to Traverse by default. - Equal To: After you select this condition, enter a specific resource name. The alert rule applies only to that resource. You cannot enter multiple resources at a time. - Not Equal To: After you select this condition, enter a specific resource name. The alert rule applies to all resources except that resource. You cannot enter multiple resources at a time. - Match Regular Expression: After you select this condition, enter a regular expression to match the required resource names. The alert rule applies to all resources that match the regular expression. - Do Not Match Regular Expression: After you select this condition, enter a regular expression to match the required resource names. The alert rule filters out all resources that match the regular expression. After you configure the filter condition, the Data Preview section appears.
    Data PreviewDisplays the values of the monitoring metric configured in the current alert rule as a time series curve.
    Duration
    • Generate an alert event immediately when the alert condition is met: An alert event is generated as soon as any data point meets the threshold. - Generate an alert event only when the alert condition is met for N minutes: An alert event is generated only when the threshold is met for N minutes or longer.

    Alert levelAlert severity levels, from lowest to highest: Default < P4 < P3 < P2 < P1.
    Alert contentThe alert information that you receive. You can use Go template syntax to customize alert parameter variables in the alert content. For more information, see Go Template Syntax.
    Alert notificationSpecify how alert notifications are delivered. You can choose simple mode, advanced mode, or configure a notification policy. For details about each option, see Alert notification options.
    Advanced settings
    Alert check cycleThe interval at which the alert rule checks whether the data meets the alert condition. Default value: 1 minute. This is also the minimum value.
    TagsConfigure alert tags. The tags that you configure can be used as options for the matching rules of a notification policy.
    AnnotationsConfigure annotations for the alert.
    • Click Complete.

      The new alert rule appears in the alert rules list.

    Alert notification options

    When you configure the Alert notification parameter, you can choose from the following options:

    • Simple mode: Specify the notification method by setting the Notification object, Notification period, and Repeat policy parameters. For information about how to create a notification object, see Notification objects.

    • Advanced mode: Specify the notification method by setting a notification policy. For information about how to create a notification policy, see Notification policies.

    • Do not specify a notification policy: You can create a notification policy on the Notification Policies page after you create the alert rule. Specify matching rules and conditions, such as the alert rule name, to match this alert rule. After the alert rule is triggered and an alert event is generated, the alert information is sent to the contacts or contact groups specified in the notification policy. For more information, see Notification policies. When you create a notification policy, you can set Data source to ARMS-Synthetic Monitoring so that the notification rule matches only the alerts generated by ARMS Synthetic Monitoring.

    • Specify a notification policy: Synthetic Monitoring automatically adds a matching rule to the corresponding notification policy. The content of the matching rule is the alert rule ID, which is displayed as the alert rule name. This ensures that the alert events generated by the current alert rule are always matched by the selected notification policy. > Note: Specifying a notification policy during alert rule creation only ensures that alert events from the current rule are matched by the selected policy. However, events from the current rule may also be matched by other notification policies that use fuzzy match. Alert events and notification policies have a many-to-many matching relationship.

    Manage alert rules

    After an alert rule is created, it appears in the alert rules list. On the Alert rules panel, you can start, stop, edit, or delete alert rules, and view alert details.

    In the Actions column of the search results list, perform the following operations on the target alert rule as needed:

    To edit an alert rule, click Edit, edit the alert rule on the Edit Synthetic Monitoring alert page, and then click Complete.

    To delete an alert rule, click Delete, and then click Confirm in the Prompt dialog box.

    To start a stopped alert rule, click Start, and then click Confirm in the Prompt dialog box.

    To stop a running alert rule, click Stop, and then click Confirm in the Prompt dialog box.