Set up a system event-triggered alert rule in CloudMonitor to receive notifications when a specified event occurs in E-MapReduce (EMR).
After creating a rule, send a test event to confirm that notifications reach the intended recipients before relying on the rule in production.
Prerequisites
Before you begin, make sure you have:
An application group with EMR resources added to it. Alert rules apply to instances through application groups. See Create an application group and Add resources to the application group.
Create a system event-triggered alert rule
To create a custom event-triggered alert rule instead, see Create a custom event-triggered alert rule.
Log on to the CloudMonitor console.
In the left-side navigation pane, choose Event Center > System Event.
On the Event Monitoring tab, click Save as Alert Rule.
In the Create/Modify Event-triggered Alert Rule panel, configure the following parameters and click OK. Leave other parameters at their default values. For the full parameter reference, see the Create a system event-triggered alert rule section of the Manage system event-triggered alert rules (old) topic.
Parameter Description Alert Rule Name A name for the alert rule Product Type Select E-MapReduce Event Type The type of event that triggers alerts Event Level The severity level of the event that triggers alerts Event Name The name of the event that triggers alerts Alert Contact Group The contact group that receives alert notifications
Test a system event-triggered alert rule
Send a test event to confirm that alert notifications reach the intended recipients, or that events are pushed to the configured destination — an MNS queue, Function Compute function, Simple Log Service Logstore, or callback URL.
Testing is only supported for alert rules associated with a specific Alibaba Cloud service and a specific event.
Log on to the CloudMonitor console.
In the left-side navigation pane, choose Event Center > System Event.
On the Event Monitoring tab, click Old Event Alarm Rules in the upper-right corner.
Find the alert rule to test, click the
icon in the Actions column, and then click Test.In the Create Event Test panel, select the event to test.
In the Content (JSON) section, edit the event content as needed — for example, update the instance ID.
Click OK. CloudMonitor sends a test alert notification to the alert contact automatically.