All Products
Search
Document Center

CloudMonitor:Manage push channels

Last Updated:Feb 02, 2024

You can configure a push channel to push the raw alert data or denoised alert data to an Alibaba Cloud service. The following push channels are supported: Message Service (MNS), Simple Log Service, Function Compute, and webhooks.

Create a push channel

This topic provides an example to demonstrate how to create a push channel to push alert data to Simple Log Service.

Prerequisites: Simple Log Service is activated. A project and a Logstore are created. For more information, see Getting Started.

  1. Log on to the CloudMonitor console.
  2. In the left-side navigation pane, choose Event Center > Event Subscription.

  3. On the Event Subscription page, click the Push Channel tab.

  4. On the Push Channel tab, click Create a push channel.

  5. In the Create a push channel panel, enter a name for the push channel, set Target Type to Log service, and then select the Region, Project Name, and LogStore.

    Table 1. Parameters of a notification push channel

    Parameter

    Description

    Channel name

    The name of the notification push channel.

    Target type

    The destination type of the notification push channel. Valid values:

    • Message queue: Alert notifications are pushed to a specified topic or queue of Message Service. You must specify the name and region of the topic or queue.

      For more information about how to create a topic or queue, see Get started with MNS.

    • Log service: Alert notifications are pushed to a specified Logstore of Simple Log Service. You must specify the Region, Project Name, and LogStore parameters.

      For more information about how to create a project and a Logstore, see Getting Started.

    • Function calculation: Alert notifications are pushed to a specified function of Function Compute. You must specify the Region, Service name, and Function name parameters.

      For more information about how to create a service and a function, see Quickly create a function.

    • Webhook: Alert notifications are pushed to a URL that is accessible over the Internet. You must specify the Request method, Data format, Address, Custom Header, and Signature obfuscation string parameters.

    Notification Template

    The message template of the notification push channel. The channel type of the notification template must be Data.

    For more information about how to create a notification template, see Create a notification template.

  6. Click Confirm.

  7. View the pushed data in the specified Logstore of Simple Log Service.

Modify a push channel

  1. Log on to the CloudMonitor console.
  2. In the left-side navigation pane, choose Event Center > Event Subscription.

  3. On the Event Subscription page, click the Push Channel tab.

  4. On the Push Channel tab, find the push channel that you want to modify and click Edit in the Operation column.

  5. In the Modify push channel panel, configure the parameters.

    For more information about how to configure the parameters of a notification push channel, see Parameters of a notification push channel.

  6. Click Confirm.

Delete a push channel

  1. Log on to the CloudMonitor console.
  2. In the left-side navigation pane, choose Event Center > Event Subscription.

  3. On the Event Subscription page, click the Push Channel tab.

  4. On the Push Channel tab, find the push channel that you want to delete and click Delete in the Operation column.

  5. In the Delete prompt message, click OK.

References