This topic describes how to create an alert channel.
Background
Alerting is a standalone feature. If you do not configure alert channels or subscriptions, you can view alerts only on the Alert Events page of the OceanBase Cloud Platform (OCP) console. To receive alert notifications, you must configure an alert channel and subscribe to an alert.
The alert channel allows OCP to send notifications and supports the following channel types:
HTTP
Custom script: OCP supports Python and Bash scripts. For more information, see Custom script channel.
Note
You can configure the time variables for alert aggregation when you configure a channel. After an alert channel is updated, the channel restarts alert aggregation. If an alert has not been cleared at that time, you may receive the alert notification again during the aggregation period.
OceanBase Cloud Platform (OCP) provides a default alert channel. You need to configure it before use and you cannot delete it.
Prerequisites
You have configured the basic information of the recipients.
You have the administrator permissions.
Procedure
Note
We recommend that you read Examples of alert channel configuration before you perform the following instructions.
Log on to the OCP console.
In the left-side navigation pane, choose System Management > Alerts .
On the Alert Channel Configura tion tab, click Create Channel .
Configure the basic information of the channel as prompted.
If you enable Group Message Channel , the system will push notifications even if no one subscribes to the channel.

Click Next .
Enter the notification content.

Configure the channel settings as prompted. Specify the fields in the Basic Information step for the channel type that you selected. Take the HTTP channel as an example.
Parameter Description Request Method Select the request method as needed. Proxy Specify the proxy server that sends alerts in the http:ip:portformat. Replace ip with the IP address of the proxy server and replace port with the port number that is assigned to send alerts. For example, if the IP address of the proxy server is xxx.xxx.xxx.xxx and port 80 is assigned, you can specify the proxy server ashttp:xxx.xxx.xxx.xxx:80.URL Template Enter the URL of the alert target. Header Template Enter the template for HTTP headers. Body Template Enter the template for the notification content. 
Click Send Test Message . If the message is sent, click Submit .