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: Simple Message Queue (formerly MNS) (SMQ), Simple Log Service, Function Compute, and webhooks.
Create a push channel
This topic provides an example on 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.
Log on to the CloudMonitor console.
In the left-side navigation pane, choose .
On the Event Subscription page, click the Push Channel tab.
On the Push Channel tab, click Create Push Channel.
In the Create Push Channel panel, enter a name for the push channel, set Target type to Simple 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:
Lightweight Message Queue (formally MNS): Alert notifications are pushed to a specified topic or queue of SMQ. You must specify the name and region of the topic or queue.
For more information about how to create a topic or queue, see Overview.
Simple 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 Compute: 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.
Click OK.
View the pushed data in the specified Logstore of Simple Log Service.
Modify a push channel
Log on to the CloudMonitor console.
In the left-side navigation pane, choose .
On the Event Subscription page, click the Push Channel tab.
On the Push Channel tab, find the push channel that you want to modify and click Edit in the Operation column.
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.
Click OK.
Delete a push channel
Log on to the CloudMonitor console.
In the left-side navigation pane, choose .
On the Event Subscription page, click the Push Channel tab.
On the Push Channel tab, find the push channel that you want to delete and click Delete in the Operation column.
In the Delete prompt message, click OK.