This topic describes how ARMS reports alerts and sends alert notifications to DingTalk groups. This helps you quickly use the alert management module: create alerts, configure contacts, and receive the first alert card.

Step 1: Integrate monitored products

In this example, ARMS alerts are integrated. ARMS alerts are integrated with the alert management module by default. For more information about how to integrate other monitored products with the alert management module, see Overview.

Step 2: Create contacts

The alert management module allows you to send alert notifications to contacts by SMS, phone, email, webhook, and DingTalk. This example shows how to create a DingTalk Group by using the DingTalk Group feature in the alert management module to send alert notifications to a specified DingTalk group. For more information about how to create other contacts, see Overview.

  1. Create a custom chatbot in the DingTalk group that you created in your DingTalk client and obtain the webhook URL of the chatbot. For more information, see Obtain the webhook URL of a DingTalk chatbot.
  2. Log on to the ARMS console.
  3. In the left-side navigation pane, choose Alert Management > Contacts.
  4. On the Contacts page, click the IM Robots tab.
  5. On the IM Robots tab, click Create Robot in the upper-right corner.
  6. In the Create Robot dialog box, enter the robot name, set Type to DingTalk, enter the robot address, and then click OK.

Step 3: Create notification policies

This example shows how to merge alert events with severity level P1 into one alert notification and send it to the DingTalk group. For more information, see Create and manage a notification policy.

  1. Log on to the ARMS console.
  2. In the left-side navigation pane, choose Alert Management > Notification Policies.
  3. On the Notification Policies page, click Create Notification Policy in the upper-right corner.
  4. In the Create Notification Policy dialog box, enter the policy name in the field at the top.
  5. In the Match Alert Event Rules section, perform the following operations:
    1. Select Do not to filter sources. The notification policy filters all alert events and sends notifications.
    2. Specify match expressions. You can customize tags or select existing tags. For example, _aliyun_arms_alert_level equals P1.
  6. In the Event Handling section, perform the following operations:
    Dispatch-event handling
    1. Set Handling Method to Generate Alerts.
    2. Click Advanced Configuration and set Event Group to No Group.
    3. Enable Automatic Alert Recovery.
  7. In the When Alerts are Generated section, perform the following operations:
    Notification policy - When Alerts are Generated
    1. Set Contact/Schedule to an existing DingTalk group.
    2. Set Notification Method to DingTalk.
    3. Set Notification Period to 09:00-22:00.
    4. Set Upgrade Notification Method to Duplicate Notification, and set Notification Frequency to 4 h. This means that alerts are repeatedly sent at an interval of four hours within the 09:00-22:00 period until the alert is recovered.
  8. After the configuration is complete, click the Notification policy - Save icon icon in the upper-right corner.

Step 4: Create event rules

Different methods are used to create alert rules in different monitoring modules.

Step 5: View and manage alert cards

Alert cards in DingTalk groups display basic information about alerts. You can modify the display content of alert cards by editing alert notification templates in notification policies. For more information, see Manage alerts in a DingTalk group.