Help Center/ Cloud Eye/ User Guide/ Alarm Management/ Alarm Notifications/ Creating a Contact/Contact Group
Updated on 2026-07-24 GMT+08:00

Creating a Contact/Contact Group

A contact receives notifications. Cloud Eye notifies contacts by SMS, email, voice notification, HTTP, HTTPS, FunctionGraph (function), FunctionGraph (workflow), WeCom, DingTalk, Lark, or WeLink. You can create contacts and choose desired notification channels.

A contact group includes one or more contacts and notification protocols. You need to create contacts and contact groups and add contacts to the contact groups. When creating an alarm rule, you can select this group for receiving alarm notifications. The alarm notifications are automatically sent to all its members.

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.

Billing

Alarm notifications sent by SMN will be billed based on their frequency and message length. For details, see Product Pricing Details.

Constraints

  • If the notification protocol for a contact is set to Email, SMS, or Voice Notification, the email address or mobile number cannot exceed 300 characters. Otherwise, the contact may fail to be added to a contact group.
  • You can add up to 10 contacts to a contact group.

Creating a Contact

  1. Log in to the Cloud Eye console.
  1. In the navigation pane, choose Alarm Management > Alarm Notifications.
  2. On the Contacts tab page, click Create and set parameters as prompted.
    Figure 1 Creating a contact

    Table 1 Parameters for creating a contact

    Parameter

    Description

    Contact Name

    Name of the contact. Enter 1 to 42 characters.

    Protocol

    Over which protocol alarm notifications will be sent. Only one object can be added for each protocol.

    • Email: Enter a valid email address.

      Example: username@example.com

    • WeCom: Enter the webhook URL for receiving alarm notifications. Locate a WeCom group chatbot and click New in the upper right corner. After the chatbot is added, obtain its webhook URL.

      Example: https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=your_key

    • HTTP: Enter a valid public network URL.

      Example: http://example.com

    • HTTPS: Enter a valid public network URL.

      Example: https://example.com

    • FunctionGraph (function): Select a function and version.
    • FunctionGraph (workflow): Select a workflow.
    • DingTalk: Enter the webhook URL for receiving notifications and determine whether to configure security settings. Open DingTalk, go to a DingTalk group and click the Group Settings icon in the upper right corner. When you add a chatbot, select Custom. After the chatbot is created, obtain its webhook URL.

      Example: https://oapi.dingtalk.com/robot/send?access_token=XXXXXX

    • Lark: Enter the webhook URL and configure security settings. Open Lark on a PC. Locate a group chat. In the group settings, choose BOTS, click Add Bot, and select Custom Bot. After the chatbot is added, obtain its webhook URL, for example, https://open.feishu.cn/open-apis/bot/v2/hook/xxx. Obtain the key in Security Settings of the Lark chatbot.
    • WeLink: Enter the group ID and configure security settings for receiving notifications. Obtain client_id and client_secret from Basic Information of an internal enterprise app on the developer backend of WeLink Open Platform.
    NOTE:
    If you select SMS, Email, HTTP, HTTPS, or Voice Notification, SMN will send subscription confirmation messages to the subscription endpoints. The subscriber can receive alarm notifications only after confirming the subscription. For other channels, subscription confirmation is not required.
    • If you select SMS, Email, HTTP, or HTTPS, SMN will send subscription confirmation messages to the subscription endpoints after the contact is created. The contact can be bound to a contact group only after subscription confirmation. Subscription confirmation is not required again during such binding. If a contact that has been added but not modified is added to a contact group, SMN will send subscription confirmation messages to the subscription endpoints. In some regions, SMN will send subscription confirmation messages when a contact is added to a contact group.
    • If you select Voice Notification, SMN will send a subscription confirmation message to the subscription endpoint after the contact is added to a contact group.
  3. Click Create.

Creating a Contact Group

  1. Log in to the Cloud Eye console.
  1. In the navigation pane, choose Alarm Management > Alarm Notifications.
  2. Click the Contact Groups tab, click Create, and configure parameters.
    Figure 2 Creating a contact group

    Table 2 Parameters for creating a contact group

    Parameter

    Description

    Group

    Name of the contact group. Use only letters, digits, underscores (_), and hyphens (-). Enter up to 64 characters.

    Enterprise Project

    Enterprise project to which the contact group belongs. Only users with the enterprise project permissions can view and manage the contact group. For details about how to create an enterprise project, see Creating an Enterprise Project.

    Contacts

    You can select a created contact or add a contact as required.
    • Selecting a created contact: Click the name text box and select a created contact from the drop-down list. The notification protocols configured for the contact are automatically filled in. The selected protocols cannot be modified.
    • Adding a contact: Enter a contact name in the name text box, and select and configure notification protocols. For details about the contact name and protocol parameters, see Table 1.
    NOTE:
    • If multiple contacts are added to a contact group, you can click Delete on the right of a contact to delete the contact. If there is only one contact, you can click Delete to clear the contact.
    • In some regions, you can only select created contacts from the contact group. Adding new contacts is not supported.
  3. Click Create.

Adding a Contact to a Contact Group

  1. Log in to the Cloud Eye console.
  1. In the navigation pane, choose Alarm Management > Alarm Notifications.
  2. Click the Contact Groups tab, locate the row that contains the target contact group, and click Add Contact in the Operation column.
  3. In the displayed drawer, select the contacts you want to add and click OK.
    Figure 3 Adding a contact

Helpful Links

  • If contacts do not receive subscription or notification messages after the configuration is complete, rectify the fault by referring to Why Do Subscribers Fail to Receive Messages After I Publish Messages to a Topic?
  • Sending excessive messages can lower the SMN service quality for everyone. The cloud platform limits how often endpoints receive notifications to avoid this issue. When notification limits are exceeded, SMN will stop sending new notifications. For details about the limits, see Resilience.