This topic describes the usage notes, prerequisites, and parameters for each notification method.

Background information

When you create an action group, you can select the following methods to receive alert notifications:
  • Users: SMS Message, Voice Call, and Email
  • Webhooks:
    • DingTalk, Enterprise WeChat, Lark, Slack, and Universal Webhook

      You can select a webhook that you create for the action group. You can manage webhooks on the Webhook Integration tab. For more information, see Create a webhook.

    • DingTalk-Custom and Webhook-Custom

      You must enter information such as a webhook URL for the action group. The two methods are reserved to ensure compatibility with historical configurations. We recommend that you select a webhook available on the Webhook Integration tab when you create an action policy.

  • Others: Message Center

SMS Message

If you select SMS Message for Notification Method, Log Service sends alert notifications to specified users, user groups, or on-duty groups by using text messages after alerts are triggered.
  • Usage notes

    If you select SMS Message, alert notifications are sent from random phone numbers. Fixed phone numbers cannot be provided.

  • Prerequisites

    A user, user group, or on-duty group is created. For more information, see Create users and user groups and Create an on-duty group.

  • Parameters

    If you want Log Service to send alert notifications by using text messages, you must configure the following parameters in the Action Group dialog box. For more information, see Create an action policy.

    Parameter Description
    Notification Method Select SMS Message
    Recipient Select a user, user group, or on-duty group to which alert notifications are sent.
    Alert Template Select an alert template, which determines the content of an alert notification. Log Service sends alert notifications based on the selected alert template.
    Period Select the period during which alert notifications can be sent. For more information, see Configure notification sending periods.

Voice Call

If you select Voice Call for Notification Method, Log Service sends alert notifications to specified users, user groups, or on-duty groups by using voice calls after alerts are triggered.
  • Usage notes
    • If a call to a mobile phone number is not answered, Log Service sends a text message to the number.
    • Log Service uses the following numbers to make voice calls. To prevent these numbers from being blocked, we recommend that you add the numbers to the whitelist of your mobile phone.

      02388560936, 02031241964, 02031341953, 02386133954, 02386133948, 051068094476, 051068094459, 051068094479, 051068094489, 051068094436, 051068094429, 051068094426, 057126886446, 057126886464, 057126886644, 057126886767, 057126886776

  • Prerequisites

    A user, user group, or on-duty group is created. For more information, see Create users and user groups and Create an on-duty group.

  • Parameters

    If you want Log Service to send alert notifications by using voice calls, you must configure the following parameters in the Action Group dialog box. For more information, see Create an action policy.

    Parameter Description
    Notification Method Select Voice Call.
    Recipient Select a user, user group, or on-duty group to which alert notifications are sent.
    Alert Template Select an alert template, which determines the content of an alert notification. Log Service sends alert notifications based on the selected alert template.
    Period Select the period during which alert notifications can be sent. For more information, see Configure notification sending periods.

Email

If you select Email for Notification Method, Log Service sends alert notifications to specified users, user groups, or on-duty groups by using emails after alerts are triggered.

  • Usage notes

    Log Service sends alert notification by using the monitor-sg@monitor.alibabacloud.com email address. To prevent the emails from this address from being blocked, we recommend that you add this address to the whitelist of your mailbox.

  • Prerequisites

    A user, user group, or on-duty group is created. For more information, see Create users and user groups and Create an on-duty group.

  • Parameters

    If you want Log Service to send alert notifications by using emails, you must configure the following parameters in the Action Group dialog box. For more information, see Create an action policy.

    Parameter Description
    Notification Method Select Email.
    Recipient Select a user, user group, or on-duty group to which alert notifications are sent.
    Alert Template Select an alert template, which determines the content of an alert notification. Log Service sends alert notifications based on the selected alert template.
    Period Select the period during which alert notifications can be sent. For more information, see Configure notification sending periods.

DingTalk-Custom

If you select DingTalk-Custom for Notification Method, Log Service sends alert notifications to a specified DingTalk group by using a DingTalk chatbot after alerts are triggered. The chatbot can also remind specified members in the group of the alert notifications.

  • Usage notes

    Each DingTalk chatbot can send a maximum of 20 alert notifications every minute.

  • Prerequisites

    Before you can use DingTalk to receive alert notifications, you must complete the following configurations on DingTalk:

    1. Open DingTalk and go to a DingTalk group.
    2. Click Group Settings icon in the upper-right corner and choose Group Assistant > Add Robot.
    3. In the ChatBot dialog box, click the + icon in the Add Robot section.
    4. Click Custom (Custom message services via Webhook). Then, click Add.
    5. In the Add Robot dialog box, configure the parameters.

      We recommend that you set Security Settings to Custom Keywords and enter Alert as a keyword. Alert notifications can be sent only if the content contains at least one of the keywords. You can set a maximum of 10 keywords.

    6. Click Copy to copy the webhook URL.
  • Parameters

    If you want Log Service to send alert notifications by using the DingTalk-Custom method, you must configure the following parameters in the Action Group dialog box. For more information, see Create an action policy.

    Parameter Description
    Notification Method Select DingTalk-Custom.
    Request URL Enter the webhook URL generated in the DingTalk group.
    Notified Contacts Determine whether to remind the members in a group of alert notifications. Valid values: No Reminder, All, and Specified Members.

    If you select Specified Members, you must specify a user, user group, or on-duty group.

    Alert Template Select an alert template, which determines the content of an alert notification. Log Service sends alert notifications based on the selected alert template.
    Note DingTalk supports the Markdown syntax. For more information, see DingTalk.
    Period Select the period during which alert notifications can be sent. For more information, see Configure notification sending periods.

Webhook-Custom

If you select Webhook-Custom for Notification Method, Log Service sends alert notifications to a custom webhook URL after alerts are triggered.

  • Usage notes

    The timeout period of a webhook is 5 seconds. If no response is received within 5 seconds after a request is sent, the request fails.

  • Prerequisites

    A webhook URL is obtained.

  • Parameters

    If you want Log Service to send alert notifications by using the Webhook-Custom method, you must configure the following parameters in the Action Group dialog box. For more information, see Create an action policy.

    Parameter Description
    Notification Method Select Webhook-Custom.
    Request URL Enter the custom webhook URL, which must be accessible over the Internet.
    Alert Template Select an alert template, which determines the content of an alert notification. Log Service sends alert notifications based on the selected alert template.
    Request Method Select a request method. Valid values: GET, POST, DELETE, PUT, and OPTIONS.
    Request Header Add a request header. You must click Add Request Header to add a request header. Example: Content-Type: application/json;charset=utf-8.
    Period Select the period during which alert notifications can be sent. For more information, see Configure notification sending periods.

Message Center

If you select Message Center for Notification Method, Log Service sends alert notifications to specified recipients by using internal messages after alerts are triggered.

  • Prerequisites

    Before you can use Message Center to receive alert notifications, you must complete the following configurations in Alibaba Cloud Message Center.

    1. Log on to the Message Center console.
    2. Choose Message Settings > Common Settings. On the page that appears, click Modify next to Log Service Alarm Notification.
    3. In the Modify Contact dialog box, select the contacts to which you want Log Service to send alert notifications. Then, click Save.

      Only the owner of an Alibaba Cloud account can add contacts. After you select a contact, a verification message is automatically sent to the specified email address. Alert notifications can be received only after the email address is verified.

      Note
      • You must select at least one contact.
      • The default notification method is email. This method cannot be changed.
  • Parameters

    If you want Log Service to send alert notifications by using Message Center, you must configure the following parameters in the Action Group dialog box. For more information, see Create an action policy.

    Parameter Description
    Notification Method Select Message Center.
    Alert Template Select an alert template, which determines the content of an alert notification. Log Service sends alert notifications based on the selected alert template.
    Period Select the period during which alert notifications can be sent. For more information, see Configure notification sending periods.

DingTalk

If you select DingTalk for Notification Method, Log Service sends alert notifications to a specified DingTalk group by using a DingTalk chatbot after alerts are triggered. The chatbot can also remind specified members in the group of the alert notifications.

  • Usage notes

    Each DingTalk chatbot can send a maximum of 20 alert notifications every minute.

  • Prerequisites

    A webhook is created. For more information, see Create a webhook.

  • Parameters

    If you want Log Service to send alert notifications by using DingTalk, you must configure the following parameters in the Action Group dialog box. For more information, see Create an action policy.

    Parameter Description
    Notification Method Select DingTalk.
    Select Webhook Select the webhook that you create.
    Notified Contacts Determine whether to remind the members in a group of alert notifications. Valid values: No Reminder, All, and Specified Members.

    If you select Specified Members, you must specify a user, user group, or on-duty group.

    Alert Template Select an alert template, which determines the content of an alert notification. Log Service sends alert notifications based on the selected alert template.
    Note DingTalk supports the Markdown syntax. For more information, see Content formats.
    Period Select the period during which alert notifications can be sent. For more information, see Configure notification sending periods.

Enterprise WeChat

If you select Enterprise WeChat for Notification Method, Log Service sends alert notifications to a specified Enterprise WeChat group by using an Enterprise WeChat robot after alerts are triggered.

  • Prerequisites

    A webhook is created. For more information, see Create a webhook.

  • Parameters

    If you want Log Service to send alert notifications by using Enterprise WeChat, you must configure the following parameters in the Action Group dialog box. For more information, see Create an action policy.

    Parameter Description
    Notification Method Select Enterprise WeChat.
    Select Webhook Select the webhook that you create.
    Alert Template Select an alert template, which determines the content of an alert notification. Log Service sends alert notifications based on the selected alert template.
    Note Enterprise WeChat supports the Markdown syntax. For more information, see Content formats.
    Period Select the period during which alert notifications can be sent. For more information, see Configure notification sending periods.

Lark

If you select Lark for Notification Method, Log Service sends alert notifications to a specified Lark group by using a Lark robot after alerts are triggered.

  • Prerequisites

    A webhook is created. For more information, see Create a webhook.

  • Parameters

    If you want Log Service to send alert notifications by using Lark, you must configure the following parameters in the Action Group dialog box. For more information, see Create an action policy.

    Parameter Description
    Notification Method Select Lark.
    Select Webhook Select the webhook that you create.
    Alert Template Select an alert template, which determines the content of an alert notification. Log Service sends alert notifications based on the selected alert template.
    Note Lark supports the Markdown syntax. For more information, see Content formats.
    Period Select the period during which alert notifications can be sent. For more information, see Configure notification sending periods.

Slack

If you select Slack for Notification Method, Log Service sends alert notifications to specified Slack users after alerts are triggered.

  • Prerequisites

    A webhook is created. For more information, see Create a webhook.

  • Parameters

    If you want Log Service to send alert notifications by using Slack, you must configure the following parameters in the Action Group dialog box. For more information, see Create an action policy.

    Parameter Description
    Notification Method Select Slack.
    Select Webhook Select the webhook that you create.
    Alert Template Select an alert template, which determines the content of an alert notification. Log Service sends alert notifications based on the selected alert template.
    Note Slack supports the Markdown syntax. For more information, see Content formats.
    Period Select the period during which alert notifications can be sent. For more information, see Configure notification sending periods.

Universal Webhook

If you select Universal Webhook for Notification Method, Log Service sends alert notifications to a custom webhook URL after alerts are triggered.

  • Prerequisites

    A webhook is created. For more information, see Create a webhook.

  • Parameters

    If you want Log Service to send alert notifications by using a custom webhook URL, you must configure the following parameters in the Action Group dialog box. For more information, see Create an action policy.

    Parameter Description
    Notification Method Select Universal Webhook.
    Select Webhook Select the webhook that you create.
    Alert Template Select an alert template, which determines the content of an alert notification. Log Service sends alert notifications based on the selected alert template.
    Period Select the period during which alert notifications can be sent. For more information, see Configure notification sending periods.