Add a subscription configuration
Alert subscription configurations support alerts through instant messages and standard protocols. You can set alert methods and subscription rules to flexibly handle alert messages. This topic describes how to add an alert subscription.
Prerequisites
Add a custom chatbot to a DingTalk group and obtain the chatbot's webhook URL. Alternatively, obtain the address for the standard protocol. This URL or address is required for the subscription method.
Background information
You can subscribe to monitoring using four methods: DingTalk Robot, standard protocol, voice call, and text message.
-
DingTalk Robot: A group chatbot aggregates information from third-party services into a group chat to automatically sync information. After you add a custom chatbot to a DingTalk group, the chatbot sends alerts for monitoring jobs based on a subscription template. Two types of monitoring subscriptions are available for different scenarios: abnormal task notifications and periodic inspection reports.
-
Abnormal task notification: A real-time alert notification that is sent when a monitoring job becomes abnormal. A task is considered abnormal when its status meets the specified alert level criteria.
-
Periodic inspection report: A periodic inspection report for all monitoring jobs in a business group. The report includes statistical analysis metrics.
-
-
Standard protocol: This method outputs message subscription content that follows a standard parameter structure. This allows third-party applications to subscribe to and consume information based on their business needs. The address format is typically http://. You can send alerts for monitoring jobs to a third-party address using a subscription template.
-
Voice call: Receive monitoring alerts through voice calls.
-
Text message: Receive monitoring alerts through text messages.
Procedure
-
Log on to the Data Resource Platform console.
-
In the upper-left corner of the page, click the
icon and select Collaboration. -
In the top menu bar, click the
icon, select the target working group, and click Service Monitoring. -
In the navigation pane on the left, click the
icon and select Monitoring Settings > Alert Subscription Configuration. -
On the Alert Subscription Configuration page, click Add Subscription Configuration.
-
In the Add Subscription Configuration dialog box, configure the alert subscription.
-
DingTalk Robot method
Parameter
Description
Subscription Name
Enter a custom subscription name.
Subscription Method
Set Subscription Method to DingTalk Robot and enter the webhook URL.
Subscription Report
Includes three types: Abnormal Task Report (Standard Edition), Abnormal Task Report (Simple Edition), and Periodic Inspection Report. Select a type as needed.
-
Abnormal Task Notification (Standard Edition): Provides detailed information about a single monitoring job within the selected business group that triggers an alert during the specified effective date and time period. (View template)
-
Abnormal Task Notification (Simple Edition): Provides basic information about a single monitoring job within the selected business group that triggers an alert during the specified effective date and time period. (View template)
-
Periodic Inspection Report: Provides summary information about all monitoring jobs within the selected business group that trigger an alert during the specified scheduling cycle, effective date, and time period. (View template)
Scheduling Cycle
If you set Subscription Report to Periodic Inspection Report, set the scheduling cycle for the alert task to Minute, Hour, or Day.
Effective Date
The effective date for the monitoring subscription. You can select a date range or a single day.
Effective Time Period
The effective time for the monitoring subscription. The time ranges from 00:00 to 23:59.
Interval
If you set Scheduling Cycle to Minute or Hour, set the scheduling interval for the task. The minimum interval is 5 minutes.
-
-
Standard protocol method
Parameter
Description
Subscription Name
Enter a custom subscription name.
Subscription Method
Set Subscription Method to Standard Protocol and enter the protocol address.
Subscription Report
Includes two types: standard protocol for inspection tasks and standard protocol format for alerts. Select a type as needed.
Scheduling Cycle
If you set Subscription Report to Standard protocol for inspection tasks, set the scheduling cycle for the alert task to Minute, Hour, or Day.
Effective Date
The effective date for the monitoring subscription. You can select a date range or a single day.
Effective Time Period
The effective time for the monitoring subscription. The time ranges from 00:00 to 23:59.
Interval
If you set Scheduling Cycle to Minute or Hour, set the scheduling interval for the task. The minimum interval is 5 minutes.
-
Voice call method
Parameter
Description
Subscription Name
Enter a custom subscription name.
Subscription Method
Set Subscription Method to Voice Call.
Zone ID
The ID of the zone.
Voice Address Service
The voice address service.
Template Type
Select a template type. Options include Text-to-speech Template and Voice Template.
Template ID
The custom template ID.
Template Name
You can customize the template name.
Description
A custom description.
Parameters
If you set Template Type to Text-to-speech Template, click Add Parameter to configure template parameters.
Caller ID
Configure the caller ID number.
Note-
If you use a number from the public number pool for outbound calls, you do not need to enter a number.
-
If you use a dedicated number for outbound calls, this parameter is required.
Effective Date
The effective date for the monitoring subscription. You can select a date range or a single day.
Effective Time Period
The effective time for the monitoring subscription. The time ranges from 00:00 to 23:59.
Playback Times
The number of times the voice notification content is played during a call. The value can be 1, 2, or 3. The default value is 3.
Playback Volume
The playback volume of the voice notification. The value can range from 0 to 100 dB. The default value is 100.
Playback Speed
The speech rate. The value can range from -500 to 500 syllables per second.
Access Key ID
Enter the AccessKey ID.
Access Secret
Enter the AccessKey secret.
-
-
Text message method
Parameter
Description
Subscription Name
Enter a custom subscription name.
Subscription Method
Set Subscription Method to Text Message.
Zone ID
The ID of the zone.
Text Message Address Service
The text message address service.
SMS Signature Name
Configure the SMS signature name.
Template ID
The ID of the custom template.
Template Name
Enter a custom template name.
Description
Custom description.
Parameters
Click Add Parameter to configure template parameters.
Effective Date
The effective date for the monitoring subscription. You can select a date range or a single day.
Effective Time Period
The effective time for the monitoring subscription. The time ranges from 00:00 to 23:59.
Access Key ID
Enter the AccessKey ID.
Access Secret
Enter the AccessKey secret.
-
-
After you complete the configuration, click OK.
Related operations
| Operation |
Description |
| Edit an alert subscription |
In the alert subscription list, click Edit in the Actions column to modify the current subscription information. |
| Delete an alert subscription |
|