Receiving Alarm Notifications in a Lark Group
After you select Lark as the notification protocol and enter a webhook URL, key, or custom keyword, if the resource metrics meet the alarm conditions, you can receive alarm notifications through a Lark group.
In some regions, recipients are now called contacts, and notification groups are now contact groups. The changes will be available in other regions soon. For details, see the console.
Prerequisites
You have created a contact and enabled the Lark notification protocol whitelist. For details, see Applying for SMN New Protocol OBT.
Creating a Lark Chatbot
This section uses the Lark PC client as an example to describe how to create a Lark chatbot.
- Open the Lark group that will receive alarm notifications on the Lark PC client.
- Touch
in the upper right corner. - On the Settings page, click Bot.
- Click Add Bot and select Custom Bot.
- Enter a chatbot name, for example, Cloud Eye Notification, and click Add.
- Click Copy to copy the webhook URL.
- Click Set Keywords to add a custom keyword, confirm the information, and click Finish.
Adding a Lark Chatbot as a Contact
Add the webhook URL of a Lark chatbot as a contact.
- Log in to the Cloud Eye console.
- In the navigation pane, choose Alarm Management > Alarm Notifications.
- On the Recipients tab page, click Create or click Modify in the row containing an existing contact.
- Select Lark for Protocol.
- Enter the webhook URL of the Lark robot in the text box.
- Enter the key or custom keyword in the text box, confirm the information, and save the configuration.
Creating an Alarm Contact Group and Adding Alarm Contacts
Create an alarm contact group and add contacts to the group.
For details, see Creating a Contact/Contact Group.
Creating an Alarm Rule
Create an alarm rule. You can configure a notification policy or directly select a contact group or contact to receive notifications.
For details about how to create an alarm rule, see Creating an Alarm Rule. For details about how to create a notification policy, see Creating, Modifying, or Deleting a Notification Policy.
Viewing Alarm Notifications
When a metric triggers the alarm rule, the Lark group will receive an alarm notification.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot