Updated on 2022-02-22 GMT+08:00

Configuring Notification for an AS Group

Scenarios

After the SMN service is provisioned, you can promptly send AS group information, such as successful instance increasing, failed instance increasing, successful instance decreasing, failed instance decreasing, or AS group exception to the user using the SMN service. This helps the user learn the AS group status.

To configure notification for an AS group, you need to specify a notification event and topic. You can configure up to five notifications for a AS group. The notification topic is pre-configured on the SMN console. When the live network complies with the notification scenario that matches the notification topic, the AS group sends a notification to the user.

Procedure

  1. Log in to the management console.
  1. Under Computing, click Auto Scaling. In the navigation pane on the left, choose Instance Scaling. Then click the AS Groups tab.
  2. Click the name of the target AS group. On the AS group details page, click the Notification tab and then click Add Notification.
  3. Set the parameters listed in Table 1.
    Table 1 Parameter description

    Parameter

    Description

    Example Value

    Send Notification To

    Select a created topic. For how to create a topic, see Simple Message Notification User Guide.

    f123

    Notification Conditions

    When at least one of the following conditions is met, SMN sends a notification to the user:

    • Instance creation succeeds
    • Instance creation fails
    • Instance removal succeeds
    • Instance removal fails
    • Errors occur in an AS group

    N/A

  4. Click Save.