To receive alarm notifications in a Slack group, add a new application's Webhook address in Slack and configure this address in the alarm notification template.
Step 1: Add Application to Retrieve Webhook Address
Note:
New users or accounts logging in for the first time need to create a studio and an application.
2. Click the top right corner Create New App button, and choose From scratch to create.
3. In the configuration page, fill in the application name, and select the corresponding Slack Workspace to create a Slack APP.
4. In the left sidebar menu of the application management page, select Incoming Webhooks and click the top right On button.
5. Scroll to the bottom of the subwindow, and click Add New Webhook to Workspace.
6. In the configuration page, select the corresponding application, and click Allow.
7. Copy the Webhook address in the pop-up box.
Step 2: Configure the Alarm API Callback
2. Click Create Notification Template to enter the creation page.
3. After configuring the basic information on the new notification template page, fill in the copied webhook address in the API Callback section.
4. If you need to remind the group members to check the alarm notification, you can fill in the corresponding group member userid. Multiple userids can be separated by commas. If there is no need to remind the group members, this field does not need to be filled. For how to obtain group member userid, see Obtain group member userid. Note:
Currently, only WeCom, DingTalk, Lark, and Slack support the feature to remind the group members to view. After filling out the API URL, the system will display a reminder object box based on the corresponding channel.
5. Enter Alarm Management > Policy Management, click the policy name that needs to bind the alarm callback, enter the policy management page, and bind the notification template on the alarm policy page. 6. After the configuration is completed, when the alarm policy is triggered or recovered, you can receive alarm notifications sent by TCOP in the Slack group, as shown below:
Obtain Group Member userid
1. Enter the Slack page, and click the avatar > Profile to view the personal profile information. 2. Click , and click Copy member ID, then the User ID will be copied to the clipboard.
Was this page helpful?