Creating a Notification Object and Notification Group
Cloud Eye sends alarm notifications to notification objects and notification groups. You need to create a notification object and a notification group and add the notification object to the notification group. When creating an alarm rule, you can select a notification group that will receive the alarm notifications.
Creating a Notification Object
- Log in to the management console.
- Click Service List in the upper left corner and select Cloud Eye.
- In the navigation pane, choose Alarm Management > Alarm Notifications.
- Select the Notification Objects tab, click Create, and configure parameters.
Figure 1 Create Notification Object
Table 1 Parameters for creating a notification object Parameter
Description
Object Name
Specifies the notification object name.
Protocol
Specifies over which protocol alarm notifications will be sent. Only one object can be added for each protocol.
- Email: Enter a valid email address.
Examples:
username@example.com
username2@example.com
- WeCom: Enter the webhook URL of a WeCom chatbot. You can perform the following operations to obtain the webhook URL: Locate a WeCom group chat and click the group settings icon in the upper right corner. In the Chat information panel, select Group Robot, click Add Group Robot, and click New in the upper right corner. Enter a robot name. After the robot is added, obtain the webhook URL.
- HTTP: Enter a valid public network URL.
Example:
http://example.com/notification/action
- HTTPS: Enter a valid public network URL.
Example:
https://example.com/notification/action
- FunctionGraph (Function): Select a function and version.
- FunctionGraph: Select a workflow.
- DingTalk: Enter the webhook URL of a DingTalk chatbot. You can perform the following operations to obtain the webhook URL: Open DingTalk, go to a DingTalk group, and click the group settings icon in the upper right corner. In the Group Settings panel, click Group Assistant. In the Group Assistant panel, click Add Robot. In the ChatBot dialog box, click the + icon in the Add Robot card. Then, click Custom. In the Add Robot dialog box, click Copy to save the webhook URL of the chatbot and click Finished.
Example:
https://qyapi.weixin.qq.com/cgi-bin/webhook/send...
- Lark: Enter the webhook URL of a Lark chatbot. You can perform the following operations to obtain the webhook URL: Open Lark on PC. Locate a group chat. In the group settings, choose BOTS, click Add Bot, and select Custom Bot. After the bot is added, you can obtain the webhook URL. Obtain the key in Security Settings of the Lark chatbot.
- WeLink: Enter the ID of a WeLink group that needs to receive alarm notifications. Obtain client_id and client_secret from Basic Information of an internal enterprise app on the developer backend of WeLink Open Platform.
NOTE:- After a notification object is added to a notification group, SMN sends a confirmation message to the subscription endpoint. The endpoint can receive alarm notifications only after confirmation.
- If the names of multiple notification objects are different but their protocols and endpoints are the same, each endpoint will receive only one subscription confirmation message.
- Email: Enter a valid email address.
- Click Create.
Creating a Notification Group
- Log in to the management console.
- Click Service List in the upper left corner and select Cloud Eye.
- In the navigation pane, choose Alarm Management > Alarm Notifications.
- Select the Notification Groups tab, click Create, and configure parameters.
Figure 2 Create Notification Group
Table 2 Parameters for creating a notification group Parameter
Description
Group
Specifies the notification group name, which can contain a maximum of 64 characters.
Enterprise Project
Specifies the enterprise project to which the notification group will belong. Only users who have all permissions for the enterprise project can manage the alarm notification group. To create an enterprise project, see Creating an Enterprise Project.
Notification Object
Specifies the object that will receive alarm notifications.
- You can select up to 10 notification objects to a notification group at a time.
- If you select the voice notification protocol, you are advised to also select the SMS and email protocols so that you can view SMS and Email alarm notifications even after the voice notifications end.
- If Protocol of the notification object is SMS, Voice notification, or Email, the endpoint will receive a confirmation message after the notification group is created. You can check whether the object is marked Confirmed by clicking the notification group name.
- Click Create.
Adding a Notification Object to a Notification Group
- Log in to the management console.
- Click Service List in the upper left corner and select Cloud Eye.
- In the navigation pane, choose Alarm Management > Alarm Notifications.
- Select the Notification Groups tab, locate the created notification group, and click Add Notification Object in the Operation column.
- In the displayed Add Notification Object drawer, select the notification object you want to add and click OK.
Figure 3 Add Notification Object
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