All Products
Search
Document Center

Resource Management:View delivery failure events and configure alert notifications in CloudMonitor

Last Updated:Aug 15, 2024

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

  1. Log on to the CloudMonitor console.

  2. In the left-side navigation pane, choose EventCenter > System Event.

  3. 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.

  4. In the event list, find the event that you want to view and click Details in the Actions column.

    image

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.

  1. Create an alert contact.

    1. Log on to the CloudMonitor console.

    2. In the left-side navigation pane, choose Alerts > Alert Contacts.

    3. On the Alert Contacts tab, click Create Alert Contact.

    4. 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.

      Note

      Automatic indicates that CloudMonitor automatically selects the language of alert notifications based on the language that you use to create your Alibaba Cloud account.

    5. Optional. Test the connectivity of the webhook URL.

      If you want to test the connectivity of the webhook URL, perform the following steps:

      1. 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.

        Note

        To obtain the details of the test result, configure the Test Template Type and Language parameters and click Test.

      2. Click Close.

    6. Confirm the parameter settings and click OK.

    7. 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.

  2. Create an alert contact group.

    1. On the Alert Contacts page, click the Alert Contact Group tab.

    2. On the Alert Contact Group tab, click Create Alert Contact Group.

    3. In the Create Alert Contact Group panel, enter a name for the alert contact group and add alert contacts to the alert contact group.

    4. Click Confirm.

  3. Create a notification configuration policy.

    1. In the left-side navigation pane, choose Event Center > Notification Configuration.

    2. On the Notification Configuration page, click Create policy.

    3. 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).

  4. Create a subscription policy.

    1. In the left-side navigation pane, choose EventCenter > Event Subscription.

    2. On the Subscription Policy tab of the page that appears, click Create Subscription Policy.

    3. 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.

    4. Click Submit.

References