After you create a Lark chatbot in ARMS Alert Management, you can specify it in a notification policy to send alerts to the corresponding Lark group. When the policy's matching rules are triggered, the system sends an alert to the group. You can then manage the alert directly within the Lark group.
Step 1: Obtain a chatbot webhook URL
-
Log in to Lark.
-
(Optional) Click the + icon and then click Create group to create a new group to receive alerts.
-
In the upper-right corner of the Lark group, select , and then click BOTs.
-
On the BOTs panel, click Add Bot, and then select Custom Bot.
-
On the chatbot configuration page, enter a name and description for the chatbot, and then click Add.
-
Copy the webhook URL. Then, select Custom Keywords and enter the keyword
alert. -
Click Complete.
Step 2: Create a chatbot in the ARMS console
-
Log on to the ARMS console. In the left-side navigation pane, choose .
-
Click the DingTalk/Lark/WeCom tab, and then click Lark.
-
In the panel, configure the following parameters and click OK.
Parameter
Description
Name
A custom name for the Lark chatbot.
Chatbot webhook URL
Enter the webhook URL from your Lark chatbot.
Send daily statistics
If you select this option, specify when to send the daily statistics. Use commas (,) to separate multiple time points. The time format is
HH:MM. At the specified times, ARMS Alert Management sends a summary of the total, resolved, and unresolved alerts for the day.Card content configuration
Customize the style and content of the alert notification card.
Step 3: Configure a notification policy
When you create or edit a notification policy, set the Notification Objects to DingTalk/Lark/WeCom and select your Lark chatbot. For more information, see notification policy.
Manage alerts in the Lark group
Once the Lark group receives an alert notification, you can view and manage the alert directly in the group. For more information, see Handle alerts in an alert notification group.
Related operations
After you create a chatbot, you can find, edit, or delete it on the DingTalk/Lark/WeCom tab:
-
To edit a chatbot: In the Actions column for the chatbot, click Edit. In the panel that appears, modify the information and click OK.
-
To delete a chatbot: In the Actions column for the chatbot, click Delete. In the confirmation dialog box that appears, click Confirm.
> Settings