All Products
Search
Document Center

Server Migration Center:Subscribe to SMC migration task error-related event notifications

Last Updated:Mar 04, 2025

To prevent migration task errors from blocking the SMC migration process, you can subscribe to SMC migration task error-related event notifications in Cloud Monitor, ensuring prompt receipt of emails.

Note

Cloud Monitor is an integrated monitoring service from Alibaba Cloud that enables you to query, manage, and monitor system events across Alibaba Cloud services. For more information about Cloud Monitor, see What is CloudMonitor.

Procedure

Step 1: Create alert contacts and alert contact groups

To receive notifications about SMC migration task errors, you must first create alert contacts and alert contact groups, then add alert contacts to the group.

  1. Log on to the CloudMonitor console.

  2. Create an alert contact.

    1. In the left-side navigation pane, choose Alerts > Alert Contacts.

    2. On the Alert Contacts tab, click Create Alert Contact.

    3. In the Set Alert Contact panel, configure the necessary parameters for the alert contact.

      The following table describes the key parameters. You can retain the default values for other parameters. For more information, see Create an Alert Contact.

      Parameter

      Description

      Name

      The name of the alert contact. The name must start with a letter and must be 2 to 40 characters in length. It can contain letters, digits, periods (.), and underscores (_).

      Region for Alert Notification Service

      The region where you want to use the alert notification service. Data provided by the alert notification service, such as the contact name and email address, are stored and processed in the selected region.

      Phone

      Only mobile phone numbers prefixed with the country code 86 support alert notifications via text messages.

      Email ID

      The email address of the alert contact.

      Language of Alert Notifications

      The default value is Automatic. This indicates that Cloud Monitor automatically selects the language of alert notifications based on the language that you use to create your Alibaba Cloud account.

    4. Confirm the parameter settings and click OK.

    5. Optional. Activate the email address of the alert contact.

      By default, the email address of the alert contact is in the Pending Activation state. After the alert contact receives an email that contains the activation link, the alert contact must activate the email address within 24 hours. Otherwise, the alert contact cannot receive alert notifications. After the email address is activated, you can view the email address in the alert contact list.

  3. Create an alert contact group.

    1. In the left-side navigation pane, choose Alerts > Alert Contacts.

    2. Click the Alert Contact Group tab.

    3. On the Alert Contact Group tab, click Create Alert Contact Group.

    4. In the Create Alert Contact Group panel, enter a name for the alert contact group and add alert contacts to the alert contact group.

    5. Click Confirm.

Step 2: Create a notification configuration policy

Configure the alert contact group to ensure timely receipt of notifications.

  1. In the left-side navigation pane, choose Event Center > Notification Configuration.

  2. On the Notification Configuration page, click Create policy.

  3. In the Create Policy panel, configure the necessary parameters for your notification policy.

    image

    The following table describes the key parameters. You can retain the default values for other parameters. For more information, see Create a Notification Configuration Policy.

    Parameter

    Description

    Name

    The name of the notification configuration policy.

    Description

    The description of the notification configuration policy.

    Notification Settings

    Select Set Notification Group Directly.

    Contact Group

    Select the alert contact group.

  4. Click OK.

Step 3: Create a subscription policy

Configure Cloud Monitor to automatically send the original alert notification to the alert contact upon SMC migration task failure.

  1. In the left-side navigation pane, choose Event Center > Event Subscription.

    Note

    You can also perform the following steps to create a subscription policy by using the System Event menu:

    1. In the left-side navigation pane, choose Event Center > System Event.

    2. In the Welcome to the New Event Center section, click Create Immediately to create a subscription policy.

  2. On the Subscription Policy tab, click Create Subscription Policy.

  3. On the Create Subscription Policy page, configure the parameters:

    The following table describes the key parameters. You can retain the default values for other parameters. For more information, see Create a Subscription Policy.

    image

    Area

    Parameter

    Description

    Basic information

    Name

    The name of the subscription policy.

    Description

    The description of the subscription policy.

    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 the created notification configuration policy.

  4. Click Submit.

Step 4: View alert notifications

When an SMC migration task error occurs, Cloud Monitor automatically issues an alert notification to the alert contact for prompt action.

image

Email notification examples are as follows.