Creating, Modifying, or Deleting a Notification Policy
You can configure an alarm notification policy so that the system sends a specific notification in the way you specified. This section describes how to create, modify, or delete a notification policy.
Constraints
- You can add a maximum of 10 notification scopes to a notification policy.
- Notification policies are available only in some regions. This feature will be available in other regions later. For details, check the console.
Creating a Notification Policy
- Log in to the Cloud Eye console.
- In the navigation pane, choose Alarm Management > Alarm Notifications.
- On the Notification Policies tab, click Create Notification Policy and configure parameters according to Table 1. Figure 1 Creating a notification policy
Table 1 Parameters for creating a notification policy Parameter
Description
Example Value
Language
Language of the alarm notification. The options are Chinese and English.
Chinese
Name
Name of the notification policy. The value can contain a maximum of 255 characters.
notification_policy
Recipients
Object that needs to receive alarm notifications. You can select Contact groups, Account contact, or Topic subscriptions.
- Account contact: Alarm notifications are sent to the mobile number and email address specified during account registration. You do not need to create contact groups or topics.
- Contact groups: To send alarm notifications to a group of contacts, you can create a contact group and add contacts to it in Cloud Eye for easier management. For details, see Creating a Contact/Contact Group.
- Topic subscriptions: If you have configured recipients in SMN, select this option and select the desired topic. Cloud Eye allows you to select topics across regions. NOTE:
- You can select SMN topics created only in CN North-Beijing4, CN East-Shanghai1, CN East-Shanghai2, CN South-Guangzhou, and CN-Hong Kong regions. Create a topic in one of these regions if needed.
- Currently, you can select cloud account contacts only in some regions. This function will be available in other regions soon. For details, see the console.
-
Alarm Severity
Alarm severity, which can be Critical, Major, Minor, or Warning.
Critical
Notification Cause
Scenario for triggering an alarm notification. You can select Alarm triggered, Alarm cleared, or both.
Alarm triggered
Days
On which days alarm notifications will be sent. You can select Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, or Sunday. Multiple options are supported.
Monday
Time
Time window during which alarm notifications will be sent.
If you set this parameter to 08:00 to 20:00, Cloud Eye only sends notifications within this period.
08:00-20:00
Time Zone
Time zone for the alarm notification window. By default, it matches the time zone of the client browser, but can be manually configured.
(GMT+08:00) Beijing, Chongqing, Hong Kong, Urumqi, Kuala Lumpur, Singapore, Perth, Taipei, Irkutsk, Ulaanbaatar
Channels
Way for receiving alarm notifications. You need to configure this parameter if Recipients is Account contact or Contact groups.
- If Recipients is Account contact, you can choose to receive notifications via SMS or Email. Multiple options can be selected.
- If Recipients is Contact groups, you can choose to receive notifications via SMS, Email, WeLink Chatbot, DingTalk, WeCom, Lark, or HTTP/HTTPS. Multiple options can be selected.
Email
Add Scope
Click Add Scope to add a notification scope for the notification policy.
-
Notification Templates
Notification content format. The value can be Default or Custom.
If you select Custom, you can configure notification content templates for different alarm types and notification channels. You can select a system template, default template, or custom notification template that contains the current notification channel. If the existing templates cannot meet your requirements, click Create Notification Template to add one.
NOTE:Some cloud services do not support fields such as the resource name, enterprise project, resource tag, private IP address, and public IP address in the notification template. If these fields are configured, no values will be displayed for them when alarm notifications are sent.
Default
- Click OK.
Modifying a Notification Policy
- Log in to the Cloud Eye console.
- In the navigation pane, choose Alarm Management > Alarm Notifications.
- On the Notification Policies tab, locate the notification policy and click Modify in the Operation column.
- On the Overview page, modify the notification policy parameters. For details about the parameters, see Table 1. Click OK to save the change. Figure 2 Modifying a notification policy
- Disassociating an alarm rule from a notification policy:
- Click the Associated Alarm Rules tab.
- Click Disassociate in the Operation column of the alarm rule to be disassociated.
- In the Disassociate Alarm Rule dialog box, click OK.
After you modify the notification policy, an asynchronous task needs to be delivered. The change will apply within 5 minutes.
- On the Overview page, modify the notification policy parameters. For details about the parameters, see Table 1. Click OK to save the change.
Deleting a Notification Policy
- Log in to the Cloud Eye console.
- In the navigation pane, choose Alarm Management > Alarm Notifications.
- On the Notification Policies tab,
- To delete a notification policy, locate the policy and click Delete in the Operation column.
- To batch delete notification policies, select them and click Delete above the list. Figure 3 Deleting a notification policy
- Click OK.
What is your overall rating for this page?
Thank 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