All Products
Search
Document Center

E-MapReduce:Create a threshold-triggered alert rule

Last Updated:Dec 04, 2025

CloudMonitor is a monitoring and alerting service provided by Alibaba Cloud. You can create threshold-triggered alert rules to monitor the usage and status of E-MapReduce resources. When a metric exceeds a specified threshold, CloudMonitor automatically sends an alert notification. This helps you promptly identify and handle exceptions.

Prerequisites

An E-MapReduce cluster is created.

Procedure

  1. Log on to the CloudMonitor console.

  2. In the navigation pane on the left, choose Alerts > Alert Rules.

  3. On the Alert Rules page, click Create Alert Rule.

  4. On the Create Alert Rule page, configure the parameters for the alert rule. For more information, see Create an alert rule.

    Parameter

    Description

    Product

    From the Product drop-down list, select E-MapReduce.

    Resource Range

    The resources to which the alert rule applies. Valid values:

    • All Resources: The rule applies to all E-MapReduce clusters that belong to your Alibaba Cloud account.

    • Application Group: The rule applies to all E-MapReduce clusters in a specific application group that belongs to your Alibaba Cloud account.

    • Instances: The rule applies only to specific clusters.

    Rule Description

    The body of the alert rule, which defines the trigger condition. For example, an alert can be triggered if the average CPU utilization is greater than or equal to 90% for 5 minutes and this condition persists for 3 consecutive checks.

    Note

    For more information about the metrics for E-MapReduce, see E-MapReduce.

    To set the rule description, perform the following steps:

    1. Click Add Rule.

    2. In the Configure Rule Description panel, set parameters such as Rule Name, Metric Type, Metric, Threshold, and Alert Level.

    3. Click OK.

    Mute Period

    The interval at which alert notifications are resent for a persistent alert.

    Effective Period

    The period during which the alert rule is active. CloudMonitor checks monitoring data and sends alerts only during this period.

    Alert Contact Group

    The alert contact group to which alert notifications are sent.

    For more information about how to create a contact group, see Create an alert contact or alert contact group.

    Tag

    The tags of the alert rule. A tag is a key-value pair.

    Alert Callback

    A public URL to which CloudMonitor sends alert information using POST requests. Only the HTTP protocol is supported.

    Auto Scaling

    If you enable the Auto Scaling switch, a scaling rule is triggered when an alert is reported. You must set the Region, ESS Group, and ESS Rule parameters for Auto Scaling.

    Log Service

    If you enable the Log Service switch, alert information is sent to a Logstore in Simple Log Service when an alert is reported. You must set the Region, ProjectName, and Logstore parameters for Simple Log Service.

    For more information about how to create a project and a Logstore, see Quick Start: Use Logtail to collect and analyze text logs from an ECS instance.

    Simple Message Queue (formerly MNS) - Topic

    If you enable the Simple Message Queue (formerly MNS) - Topic switch, alert information is sent to a topic in MNS when an alert is reported. You must set the region and topic for MNS.

    For more information about how to create a topic, see Create a topic.

    Function Compute

    If you enable the Function Compute switch, alert notifications are sent to Function Compute for format processing when an alert is reported. You must set the region, service, and function for Function Compute.

    For more information about how to create a service and a function, see Quickly create a function.

    Method to handle alerts when no monitoring data is found

    The method used to handle alerts when monitoring data is not available. Valid values:

    • Do not do anything (Default)

    • Send alert notifications

    • Treated as normal

    Note

    Click Advanced Settings to set this parameter.

  5. Click Confirm.