Database Autonomy Service (DAS) provides the event subscription feature for ApsaraDB RDS for PostgreSQL. After you enable the event subscription feature for your ApsaraDB RDS for PostgreSQL instance, the system sends you notifications when specified events occur. You can specify a notification method based on your business requirements.
Prerequisites
Your ApsaraDB RDS for PostgreSQL instance runs ApsaraDB RDS for PostgreSQL High-availability Edition.
Procedure
- Go to the Instances page. In the top navigation bar, select the region in which the RDS instance resides. Then, find the RDS instance and click the ID of the instance.
Go to the Autonomous Function Management panel.
In the left-side navigation pane, choose Autonomy Service > Diagnostics. On the page that appears, click the Autonomy Center tab. On the Autonomy Center tab, click Autonomy Service Settings.
In the left-side navigation pane, choose Autonomy Service > Dashboard. On the Dashboard of the page that appears, click Autonomy Service Settings.
On the Event Subscription Settings tab of the panel that appears, turn on Enable Subscription Service and configure the following parameters.
Parameter
Description
Urgency
The lowest severity level of events for which the system sends notifications. After an event at or above this level occurs, the system sends a notification. Valid values:
Critical: events that affect the running of the databases.
Warning: events that may affect the running of the databases.
Optimize: events for which optimization suggestions are generated based on the status of the databases.
Notification: database exceptions for which no suggestions are generated.
Select Contacts/Contact Groups
The contacts and contact groups to which the system sends notifications. Select one or more contacts or contact groups in the Existing Contacts/Contact Groups section and click the icon to add the selected contacts or contact groups to the Selected Contacts/Contact Groups section.
Notification Method
The method that is used by the system to send notifications. Valid values:
SMS
Webhook
SMS + Webhook
SMS + Email
NoteWebhook is supported for DingTalk, Enterprise WeChat, Lark, and Application Real-Time Monitoring Service (ARMS).
Notification Language
Only Chinese is supported.
Minimum Notification Interval
The minimum interval between two notifications for the same event. If an event lasts after the system sends a notification of this event, the system sends the notification again only after this interval ends.
Click OK.