All Products
Search
Document Center

Application Real-Time Monitoring Service:Mention contacts with the at sign (@) in a group chat

Last Updated:Jun 19, 2024

Application Real-Time Monitoring Service (ARMS) Alert Management can send alert notifications to a group chat and mention 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, and verify the mobile phone number. The mobile phone number must be the same as the one that is bound in Step 4.

  4. If you are using a WeCom or Lark group chat, perform the following operations to add user IDs. Administrator permissions are required. DingTalk groups chats do not need user IDs.

    1. WeCom: Log on to the WeCom app. Choose Console > Enterprise Management > Members and Departments Management to view all employees in the department. Click an employee to configure the user ID.

    2. Lark: In the navigation pane, choose Enterprise Management > Members and Departments to view all employees in the department. Click an employee to configure the user ID.

  5. Set other parameters as required and click OK.

  6. 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 Contact tab, click Create Contact Group.

    2. In the Create Contact Group dialog box, specify the Group Name parameter, select contacts, and then click OK.

  7. 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, create a notification policy or modify an existing notification policy.

  3. In the Notification Objects step, set 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 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 Phone Number dialog box, bind a mobile phone number as prompted. The mobile phone number must be the same as the one specified in Step 2.

  3. Enter the verification code that you received and click OK.

    Then, if an alert is triggered, the specified contact is mentioned with the at sign (@).