Application Real-Time Monitoring Service (ARMS) Alert Management can send alert notifications to a group chat and mention specified contacts with the at sign (@). This topic describes how to mention contacts with the at sign (@) in a group chat.

Prerequisites

  • A DingTalk, Lark, or WeCom group chat is created to receive alert notifications.
  • Alert O&M personnel are in the group chat.

Step 1: Create a chatbot

In the ARMS console, create a chatbot for the group chat. For more information, see the following topics:

Step 2: Set the alert handler as a contact

  1. Log on to the ARMS console. In the left-side navigation pane, choose Alert Management > Notification Objects.
  2. On the Contacts tab, click Create Contact.
  3. In the Create Contact dialog box, enter a contact name and a mobile phone number. The mobile phone number must be the same as the one that is bound in Step 4.
  4. Configure other parameters as required and click OK.
  5. Optional:Bind a contact group.

    If you want multiple contacts to handle alerts, you can add the contacts to the same contact group. Then, if an alert is triggered, all contacts in the group are mentioned with the at sign (@).

    1. On the Contacts tab, click Create Contact.
    2. In the Create Contact Group dialog box, enter a group name in the Group Name field, select contacts, and then click OK.
  6. Optional:Create a schedule. For more information, see Create a scheduling policy.

    If you want multiple contacts that have different duty hours to handle alerts, you can create a schedule for the contacts in the ARMS console. Then, if an alert is triggered, the contacts on duty are mentioned with the at sign (@).

Step 3: Configure a notification policy

  1. Log on to the ARMS console. In the left-side navigation pane, choose Alert Management > Notification Policies.
  2. On the Notification Policies page, click Create Notification Policy or modify an existing notification policy.
  3. In the Notification Objects step, configure the Notification Objects parameter.
    1. Click Add Notification Object and select the chatbot created in Step 1.
    2. Click Add Notification Object and select the contact, contact group, or schedule that is created in Step 2.
      Note @mentions is selected by default.
  4. Configure other parameters as required. For more information, see Create and manage a notification policy.

Step 4: Bind a mobile phone number

  1. After the group chat receives an alert notification, click a link in the alert card.
  2. In the Bind Mobile Number dialog box, bind a mobile phone number as prompted. The mobile phone number must be the same as the one that is specified in Step 2.
  3. Enter the verification code that is received and click OK.
    Then, if an alert is triggered, the specified contact is mentioned with the at sign (@).