This document describes how to create a notification template in the Cloud Monitor alarming module.
For more information on how to grant sub-accounts permissions, please see Cloud Access Management (CAM).
|User notification||Up to five items can be added|
|API callback||Up to three URLs accessible over the public network can be entered|
Enter the Alarm Notification Template page in the Cloud Monitor console.
Click Create and enter relevant information in Create Notification Template.
Template Name: enter a custom template name.
Recipient Object: you can choose a recipient group or recipient. If you need to create a group, please see Creating Alarm Recipient Group.
Notification Period: define the time period for receiving alarms.
Receiving Channel: four alarm channels are supported: email, SMS, WeChat, and phone. You can also set different channels and notification periods in different user dimensions.
Description of phone alarm settings:
API Callback: you can enter a URL accessible over the public network as the callback API address, and Cloud Monitor will push alarm messages to it promptly. If the HTTP response returns code 200, the verification is successful. For more information on alarm callback fields, please see Alarm Callback.
- After you save the callback URL, the system will automatically verify your URL once. The timeout threshold for this verification is 5 seconds. When an alarm policy created by the user is triggered or the alarm is resolved, the alarm messages will be pushed through the API callbacks. An alarm message can be pushed up to three times, and the timeout threshold for each request is 5 seconds.
- When an alarm policy created by the user is triggered or the alarm is resolved, the alarm messages will be pushed through the API callbacks. API callbacks also support repeated alarms.
- The outbound IP of the Cloud Monitor callback API is dynamically and randomly allocated, so no specific IP information can be provided to you, but the IP port is fixed at 80. We recommend you configure a weighted opening policy in the security group based on port 80.
The system automatically creates a default notification template for you as detailed below:
|Template name||Preset notification template|
|Notification type||Alarm trigger, alarm recovery|
|Alarm recipient||Root account admin|
|Notification period||00:00:00–23:59:59 (all day)|
|Receiving channel||Email, SMS|
The default notification template cannot be deleted.