You can view the details of delivery failure events for Object Storage Service (OSS) or Simple Log Service in CloudMonitor. You can also configure alert notifications for delivery failures. The alert notifications can be sent by phone call, text message, or email.
View a delivery failure event
Log on to the CloudMonitor console.
In the left-side navigation pane, choose .
On the Event Monitoring tab, view the event that is generated when a failure occurs during resource delivery from Resource Center to Simple Log Service or OSS.
You can filter the event based on conditions such as the service name and event name.
Service name: Select Resource Management.
Event name: Select ResourceCenter:Delivery:SLS:Fail or ResourceCenter:Delivery:OSS:Fail.
In the event list, find the event that you want to view and click Details in the Actions column.
Configure alert notifications
You can configure alert notifications. This way, if a failure occurs during resource delivery to Simple Log Service or OSS, you can be notified of the failure at the earliest opportunity by phone call, text message, or email.
Create an alert contact.
Log on to the CloudMonitor console.
In the left-side navigation pane, choose .
On the Alert Contacts tab, click Create Alert Contact.
In the Set Alert Contact panel, enter the name, email address, and webhook URL of the alert contact. Make sure that the Language of Alert Notifications parameter is set to the default value Automatic.
NoteAutomatic indicates that CloudMonitor automatically selects the language of alert notifications based on the language that you use to create your Alibaba Cloud account.
Optional. Test the connectivity of the webhook URL.
If you want to test the connectivity of the webhook URL, perform the following steps:
Click Test next to the webhook URL.
In the Webhook Test panel, you can check and troubleshoot the connectivity of the webhook URL based on the returned status code and test result details.
NoteTo obtain the details of the test result, configure the Test Template Type and Language parameters and click Test.
Click Close.
Confirm the parameter settings and click OK.
Optional. Activate the email address of the alert contact.
By default, the email address of the alert contact is in the Pending Activation state. After the alert contact receives an email that contains the activation link, the alert contact must activate the email address within 24 hours. Otherwise, the alert contact cannot receive alert notifications. After the email address is activated, you can view the email address in the alert contact list.
Create an alert contact group.
On the Alert Contacts page, click the Alert Contact Group tab.
On the Alert Contact Group tab, click Create Alert Contact Group.
In the Create Alert Contact Group panel, enter a name for the alert contact group and add alert contacts to the alert contact group.
Click Confirm.
Create a notification configuration policy.
In the left-side navigation pane, choose .
On the Notification Configuration page, click Create policy.
In the Create Policy panel, configure the parameters.
Table 1. Parameters for a notification configuration policy
Parameter
Description
Name
The name of the notification configuration policy.
Description
The description of the notification configuration policy.
Notification
The first notification object of the alert. Valid values for Notification settings:
Set the notification group directly: Select an alert contact group.
Set the notification group by severity: Select an alert contact group based on the following levels: Critical, Warning, Notification (Info), and Resume (Resolved).
Create a subscription policy.
In the left-side navigation pane, choose .
On the Subscription Policy tab of the page that appears, click Create Subscription Policy.
On the Create Subscription Policy page, configure the parameters.
Basic information: Enter a name and description for the subscription policy.
Alert Subscription: Specify the subscription type and scope.
Select System events for Subscription Type.
In the Subscription Scope section, select Resource Management for Products, Delivery for Event Type, and ResourceCenter:Delivery:OSS:Fail and ResourceCenter:Delivery:SLS:Fail for Event name.
Combined noise reduction: Use the default settings.
Notification: Select the notification configuration policy created in Step 3.
Push and Integration: No configuration is required.
Click Submit.