autoscalingeucalyptuscloudwatch

CloudWatch - CPUUtilization metric


I'm able to work with the metric GroupInServiceInstances quietly. got after enable euscale-enable-metrics-collection groupname -g 1minute

But I can not work with the metric of CPUUtilization of the AWS/EC2, the alarm does not attend the metric, the state is only INSUFFICIENT_DATA. I noticed that when running the command euscale-describe-metric-collection-types shows nothing AWS/EC2, but only the AWS/ScalingGroup, see:

METRIC-COLLECTION-TYPE GroupDesiredCapacity

METRIC-COLLECTION-TYPE GroupInServiceInstances

METRIC-COLLECTION-TYPE GroupMaxSize

METRIC-COLLECTION-TYPE GroupMinSize

METRIC-COLLECTION-TYPE GroupPendingInstances

METRIC-COLLECTION-TYPE GroupTerminatingInstances

METRIC-COLLECTION-TYPE GroupTotalInstances

GRANULARITY-METRIC-TYPE 1minute

should be displayed:

METRIC-COLLECTION-TYPE CPUUtilization

GRANULARITY-METRIC-TYPE Percent

So, what I do to the alarm of the metric CPUUtilization AWS/EC2 work?


Solution

  • The euca2ools euscale-* commands are for use with the Auto Scaling service, the euscale-describe-metric-collection-types command is the DescribeMetricCollectionTypes action, and only returns metrics for Auto Scaling.

    To enable EC2 metrics in Eucalyptus you have to enable metrics collection for the instance (euca-monitor-instances) and you should also ensure that when working with the CPUUtilization CloudWatch metric you specify the unit type of Percent.