Euca2ools Guide / Auto Scaling-Compatible Commands |
Describes scaling activities for an auto scaling group.
euscale-describe-scaling-activities [ActivityId [ActivityId ...]] [--auto-scaling-group value]
Option | Description | Required |
---|---|---|
ActivityId [ActivityId ...] | A list of one or more activity IDs to use as a filter. If this parameter is not specified, all activity is returned. | No |
-g, --auto-scaling-group value | Filter by the specified auto scaling group. | No |
Option | Description |
---|---|
--show-empty-fields | Show empty fields using (nil) as a placeholder to indicate that this data was not requested. Empty fields are not shown by default. |
--region value | Specify region value as the cloud region to use. You can set this by using the environment variable AWS_DEFAULT_REGION. |
-U,--url value | Overrides the URL for the service call with the value entered. You can set this by using the environment variable AWS_AUTOSCALING_URL. |
-I, --access-key-id value | User's access key ID |
-S, --secret-key value | User's AWS secret Key to use. |
--debug | Prints what the command sends to the server and what it receives from the server. Use when you're trying to debug Euca2ools. |
--debugger | Enable interactive debugger on error. |
--version | Display the version of this tool. |
-h,--help | Display the manual page for the command. |
This command returns a table that contains the activity ID, the timestamp of the activity, the name of the scaling group, and a succeed or fail message.
euscale-describe-scaling-activities
The following shows sample output for this command.
ACTIVITY cc9f60de-64cf-4055-805c-54cf9305d91d 2013-05-03T07:59:03.257 MyScalingGroup Successful ACTIVITY 194ea242-f7ea-4629-9f1e-a7ba46d435f3 2013-05-03T07:58:59.831 MyScalingGroup Successful ACTIVITY 8ff9f6b7-1ce5-416a-aeeb-5ecaccb249c6 2013-05-02T06:33:33.181 MyScalingGroup Successful ACTIVITY 459d2f55-f7d6-4062-9956-ad14ea6e7e7b 2013-05-02T06:33:23.452 MyScalingGroup Failed Failed to send message RunInstancesType to service EucalyptusRequestQueue because: Batch entry 0 insert into metadata_network_indices (creation_timestamp, last_update_timestamp, metadata_perm_uuid, version, metadata_display_name, metadata_last_state, meta ACTIVITY 02954224-6cfb-48b1-90d6-7ba3a63dd221 2013-05-02T06:33:23.381 MyScalingGroup Successful