Receiving Alarm Notification Through WeCom

Last updated: 2021-03-10 10:06:05

    This document describes how to receive alarm notifications through a WeCom group.

    Use Limits

    Regarding sending WeCom group messages, the number of messages sent by each bot cannot exceed 20 per minute. If you have many alarm policies, we recommend you create multiple bots and associate alarm policies with different bots. Otherwise, multiple alarm policies may trigger alarms simultaneously, and you may fail to receive some alarm notifications as a result.

    Note:


    After you successfully create WeCom bots and configure the webhook address, CLS will automatically push the alarm messages to the WeCom bots. This way, you can receive alarm notifications through a WeCom group.

    Directions

    Adding bot in WeCom

    WeCom for PC

    1. On WeCom for PC, find the target WeCom group for receiving alarm notifications.
    2. Right-click the WeCom group. In the pop-up window, click Add Group Bot.
    3. In the pop-up window, click Create a Bot.
    4. In the pop-up window, enter a custom bot name and click Add.
    5. After copying the webhook address, you can configure the webhook as instructed in Configuring alarm webhook.

    WeCom for Web

    1. On WeCom for Web, open the target WeCom group for receiving alarm notifications.
    2. Click the group settings icon in the upper-right corner.
    3. On the group settings page, choose Group Bots > Add a Bot.
    4. On the management page for adding bots, enter a custom name for the new bot.
    5. Click Add. After copying the webhook address, you can configure the webhook as instructed in Configuring alarm webhook.

    Note:


    If you want to configure a WeCom group bot, please see WeCom > Configuring Group Bot.

    Configuring alarm webhook

    In the CLS notification template, enter the webhook address and click OK.
    After the configuration is completed successfully, when an alarm policy is triggered, you will receive alarm notifications sent by group bots through the WeCom group as shown below: