This document describe how to receive only the event alarm notifications of tasks with specified IDs after you create migration, sync, or subscription tasks.
// Example of receiving notifications for a single task ID
{
"source":"dts.cloud.tencent",
"subject":"sync-jt12XXgt"
}
// Example of receiving notifications for multiple task IDs
{
"source":"dts.cloud.tencent",
"subject":["sync-jt12XXgt","dts-a5uqXXhs"]
}
Sample task ID in the DTS console:
Configure the notification method, recipient, and delivery method, select Notification message for Trigger method, and click Complete.
To add a new recipient user or user group, go to the CAM console for creation and then select it in Recipients in this step.
To configure different trigger methods, click Add at the bottom to add more delivery targets.
Return to the event rule list and confirm that the created event rule has been enabled. Subsequently, when a task exception triggers an alarm, the configured recipients will receive message notifications.
Was this page helpful?