Mention contacts with the at sign (@) in a group chat
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
-
Log on to the ARMS console. In the left-side navigation pane, choose .
-
On the Contacts tab, click Create Contact.
-
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.
-
For WeCom and Lark, you must add a user ID. You need administrator permissions to obtain this ID. A user ID is not required for DingTalk.
-
WeCom: In the mobile app, navigate to Console > Enterprise Management > Members and Departments Management. You can view all employees in the department. Tap an employee to view their details. Enter the value of the employee's Account as the user ID.
-
Lark: In the mobile app, from the sidebar, choose Enterprise Management > Members and Departments. You can view all employees in the department. Tap an employee to view their details. Enter the value of the employee's User ID as the user ID.
-
-
Configure other parameters as required and click Confirm.
-
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 (@).
-
On the Contacts tab, click Create Contact Group.
-
In the Create Contact Group dialog box, enter a Group Name, select the contacts for the group, and then click Confirm.
-
-
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
-
Log on to the ARMS console. In the left-side navigation pane, choose .
-
On the Notification Policies page, create a notification policy or edit an existing one.
-
In the Notification Objects step, set the Notification Objects.
-
Configure other parameters as required. For more information, see Create and manage a notification policy.
Step 4: Bind a mobile phone number
-
After the group chat receives an alert notification, click a link in the alert card.
-
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.
-
Enter the verification code that you receive and click OK.
Then, if an alert is triggered, the specified contact is mentioned with the at sign (@).