Event notifications automatically send messages to Cloud Monitor, MNS topics, and MNS queues when specific events occur. This topic describes how to create, modify, delete, and view event notifications.
Prerequisites
If you want to automatically send messages to MNS topics and MNS queues, you must create an MNS topic and an MNS queue. The topic and queue must be in the same region as the scaling group.
Background information
-
Event notifications help you monitor scaling group activities and automate management. For more information, see Overview of notifications.
-
Within a scaling group, each event notification must use a unique accepter. For example, you cannot use the same Cloud Monitor, MNS topic, or MNS queue for multiple event notifications.
Create an event notification
You can create a maximum of six event notifications for each scaling group.
-
Log on to the Auto Scaling console.
-
In the left-side navigation pane, click Scaling Groups.
-
In the top navigation bar, select a region.
-
Find the desired scaling group and use one of the following methods to open the scaling group details page.
-
Click the ID of the scaling group in the Scaling Group Name/ID column.
-
Click Details in the Actions column.
-
-
In the upper part of the details page, click the Event and adhesive hook tab and find the Notification list.
-
Click Create Advanced Rule.
-
Configure the event notification.
The following table describes the parameters for an event notification.
Name
Description
Notification Method
Select one of the following notification methods:
-
CloudMonitor: Sends a notification to Cloud Monitor when a specified event occurs. For more information, see View system events.
-
MNS Topic: Sends a message to an MNS topic when a specified event occurs. For more information, see What is Simple Message Queue (formerly MNS)?.
-
MNS Queue: Sends a message to an MNS queue when a specified event occurs. For more information, see What is Simple Message Queue (formerly MNS)?.
Event
Select one or more event notification types as needed. The following event notification types are available:
-
Successful Scale-out: All target ECS or ECI instances are successfully added to the scaling group.
-
Successful Scale-in: All target ECS or ECI instances are successfully removed from the scaling group.
-
Scale-out Failed : A scale-out activity was triggered, but no ECS or ECI instances were successfully added.
-
Scale-in Failed : A scale-in activity was triggered, but no ECS or ECI instances were successfully removed.
-
Rejected Scaling Activities: The scaling group received a scaling request, but the request was rejected because the trigger conditions were not met.
-
Scale-out Started: A scale-out activity was triggered and the process of adding ECS or ECI instances to the scaling group started.
-
Scale-in Started: A scale-in activity was triggered and the process of removing ECS or ECI instances from the scaling group started.
-
Scheduled Task Expired: If you select this type, the scaling group sends a daily expiration reminder for seven days before a scheduled task expires.
If a recurrence is set for the scheduled task, the expiration time is the time when the task is last executed.
-
Scaling Group Diagnosis: If you select this type, the system automatically diagnoses the health of the scaling group. The diagnosis includes checks for key resource anomalies, quotas, costs, and inventory.
-
Partially Successful Scale-out: A scale-out activity was triggered, but only some of the target ECS or ECI instances were successfully added.
-
Partially Successful Scale-in: A scale-in activity was triggered, but only some of the target ECS or ECI instances were successfully removed.
-
-
Click OK.
Modify or delete an event notification
If an event notification no longer meets your needs, you can modify its event type. You cannot change the notification method. If you no longer need an event notification, you can delete it.
-
Log on to the Auto Scaling console.
-
In the left-side navigation pane, click Scaling Groups.
-
In the top navigation bar, select a region.
-
Find the desired scaling group and use one of the following methods to open the scaling group details page.
-
Click the ID of the scaling group in the Scaling Group Name/ID column.
-
Click Details in the Actions column.
-
-
In the upper part of the details page, click the Event and adhesive hook tab and find the Notification list.
-
Find the event notification that you want to manage, and then modify or delete it.
Task
Procedure
Modify an event notification
-
In the Actions column of the event notification, click Edit Event-triggered Task.
-
On the Edit Notification page, select the required event notification types.
For a detailed description of the event notification types, see the parameter description for event notifications.
-
Click OK.
Delete an event notification
-
In the Actions column of the event notification, click Delete.
-
In the Delete Event Notification dialog box, click OK.
-
View event notifications
From the Auto Scaling console, you can navigate to the Cloud Monitor and Simple Message Queue (formerly MNS) pages to view received messages.
-
Log on to the Auto Scaling console.
-
In the left-side navigation pane, click Scaling Groups.
-
In the top navigation bar, select a region.
-
Find the desired scaling group and use one of the following methods to open the scaling group details page.
-
Click the ID of the scaling group in the Scaling Group Name/ID column.
-
Click Details in the Actions column.
-
-
In the upper part of the details page, click the Event and adhesive hook tab and find the Notification list.
-
Find the event notification that you want to view. In the Notification Method column, click the link of the accepter.

-
View the Cloud Monitor events, MNS topic messages, or MNS queue messages.
For more information, see Overview of notifications.
-
Cloud Monitor events: Select Auto Scaling to filter for system events related to Auto Scaling.

-
MNS topic messages: An increase in the value of the Number of Messages column indicates that a message has been received. You can go to the topic subscriber to view the message details.

-
MNS queue messages: An increase in the value of the Active Messages column indicates that a message has been received. In the Actions column, click Receive Message to view the message details.

-