Subscribe to SMC task failure events in CloudMonitor to receive email alerts when migration errors occur.
CloudMonitor is an Alibaba Cloud service for centralized monitoring and management of system events. What is CloudMonitor.
Procedure
Step 1: Create alert contacts and alert contact groups
Create alert contacts, then add them to a contact group to receive SMC task failure notifications.
-
Log on to the Cloud Monitor console.
-
Create an alert contact.
-
In the left-side navigation pane, choose .
-
On the Alert Contacts tab, click Create Alert Contact.
-
In the Set Alert Contact panel, configure the necessary parameters for the alert contact.
Configure the following key parameters. Keep defaults for others. Create an Alert Contact.
Parameter
Description
Name
The alert contact name. Must start with a letter, 2 to 40 characters. Supports letters, digits, periods (.), and underscores (_).
Region for Alert Notification Service
The region for the alert notification service. Contact data such as names and email addresses is stored in the selected region.
Mobile Phone
Only phone numbers with country code +86 support SMS alert notifications.
Mailbox
The email address of the alert contact.
Language of Alert Notifications
Defaults to Automatic. CloudMonitor selects the notification language based on your Alibaba Cloud account language.
-
Verify the information and click Confirm.
-
(Optional) Activate the email address.
If you specify an email address, its status is Pending Activation by default. The contact must click the activation link in the email within 24 hours to receive alert notifications. Once activated, the email address appears in the contact list.
-
-
Create an alert contact group.
-
In the left-side navigation pane, choose .
-
Click the Alert Contact Group tab.
-
On the Alert Contact Group tab, click Create Alert Contact Group.
-
In the Create Alert Contact Group panel, enter a group name and select the alert contacts to add.
-
Click Confirm.
-
Step 2: Create a notification configuration policy
Create a policy that routes alerts to your contact group.
-
In the left-side navigation pane, choose .
-
On the Notification Configuration page, click Create policy.
-
In the Create Policy panel, configure the necessary parameters for your notification policy.

Configure the following key parameters. Keep defaults for others. Create a Notification Configuration Policy.
Parameter
Description
Name
The policy name.
Comment
The policy description.
Notification Settings
Select Set Notification Group Directly.
Contact Group
Select the alert contact group.
-
Click OK.
Step 3: Create a subscription policy
Subscribe to SMC task failure events so CloudMonitor sends alerts to your contact group.
-
In the left-side navigation pane, choose Event Center > Event Subscription.
NoteYou can also create a subscription policy from the System Event menu as follows:
-
In the left-side navigation pane, choose Event Center > System Event.
-
In the Welcome to the New Event Center section, click Create Now.
-
-
On the Subscription Policy tab, click Create Subscription Policy.
-
On the Create Subscription Policy page, configure the parameters for the subscription policy.
Configure the following key parameters. Keep defaults for others. Create a Subscription Policy.

Area
Parameter
Description
Basic Information
Name
The policy name.
Comment
The policy description.
Alert Subscription
Subscription Type
Select System Event.
Subscription Scope
Select Server Migration Center for Product. No other parameters need to be selected.
Notification
Notification Settings
Select your notification policy.
-
Click Submit.
Step 4: View alert notifications
When an SMC migration error occurs, CloudMonitor sends an alert to your contacts.

Email notification examples are as follows.