If the alarm status indicates insufficient data after you create an event-triggered task in the Auto Scaling console, resolve the issue based on the solution described in this topic.
Problem description
After you create an event-triggered task in the Auto Scaling console, the corresponding alarm status indicates Insufficient Data, as shown in the following figure.
Cause
The monitoring source of an event-triggered task of Auto Scaling is data in CloudMonitor. The preceding problem may be caused by CloudMonitor not collecting the data of the corresponding ECS instance.
Solution
Log on to the ECS console.
In the left-side navigation pane, choose
.In the left-side navigation pane of the Auto Scaling page, click Scaling Groups. On the Scaling Groups page, find the scaling group that you want to manage and click the scaling group ID to go to the details page of the scaling group.
Click the Instances tab to view and record the ID of the ECS instance.
The following figure shows an ECS instance on the Auto Created tab.
Log on to the CloudMonitor console.
In the left-side navigation pane, choose Cloud Service Monitoring > Host Monitoring.
Enter the ID of the ECS instance in the search box to check whether the CloudMonitor agent is installed in the ECS instance.
If the icon is displayed in the argusagent Status column, the CloudMonitor agent is not installed in the ECS instance. You must click the or icon to manually or automatically install the agent. For information about how to install the CloudMonitor agent, see Install and uninstall the CloudMonitor agent for C++.
If Running is displayed in the argusagent Status column, the CloudMonitor agent is installed in the ECS instance, but no monitoring data is found on the monitoring chart. Proceed to the next step.
Check whether the CloudMonitor agent is running properly.
For more information, see View the status of the CloudMonitor agent.
NoteIf an exception occurs on the CloudMonitor agent, we recommend that you restart the agent. For more information, see How can I restart the CloudMonitor agent for C++?
Make sure that the status of the event-triggered task in the Auto Scaling console changes to Normal.