All Products
Search
Document Center

E-MapReduce:Create an event-triggered alert rule

Last Updated:Jun 20, 2023

This topic describes how to create an event-triggered alert rule and test a system event-triggered alert rule. Event-triggered alert rules allow you to receive alert notifications and handle exceptions immediately after the specified events occur in E-MapReduce (EMR).

Prerequisites

An application group is created and resources are added to the application group. Otherwise, you cannot apply alert rules to the instances in the application group. For more information about how to create an application group and add resources to the application group, see Create an application group and Add resources to the application group.

Create an event-triggered alert rule

This topic describes how to create a system event-triggered alert rule. For more information, see Create a system event-triggered alert rule. For more information about how to create a custom event-triggered alert rule, see Create a custom event-triggered alert rule.

  1. Log on to the CloudMonitor console.

  2. In the left-side navigation pane, choose Event Monitoring > System Event.

  3. On the page that appears, click the Event-triggered Alert Rules tab.

  4. On the Event-triggered Alert Rules tab, click Create Alert Rule.

  5. In the Create/Modify Event-triggered Alert Rule panel, configure the parameters that are described in the following table.

    Parameter

    Description

    Alert Rule Name

    The name of the event-triggered alert rule.

    Product Type

    Select E-MapReduce.

    Event Type

    The type of the event that triggers alerts.

    Event Level

    The level of the event that triggers alerts.

    Event Name

    The name of the event that triggers alerts.

    Contact Group

    The alert group that receives alert notifications.

  6. Click OK.

Test a system event-triggered alert rule

After you create a system event-triggered alert rule, you can test the alert rule. You can check whether alert notifications can be received or whether events can be pushed to Message Service (MNS), Function Compute, Log Service, or a specific callback URL as configured.

  1. Log on to the CloudMonitor console.

  2. In the left-side navigation pane, choose Event Monitoring > System Event.

  3. On the page that appears, click the Event-triggered Alert Rules tab.

  4. On the Event-triggered Alert Rules tab, find the system event-triggered alert rule that you want to test, click the image..png icon in the Actions column, and then select Test.

  5. In the Create Event Test panel, modify the event content based on your business requirements.

  6. Click OK.

    CloudMonitor generates the selected system event to trigger the alert rule.