euwatch-describe-alarms

Returns information about the specified alarm(s).

Syntax

euwatch-describe-alarms [AlarmNames [AlarmNames ...] ] [--action-prefix  value ]
[--alarm-name-prefix  value ] [--state-value  value ]

Options

Option Description Required
AlarmNames Names of the alarms. You can also set this value using --alarm-name. No
--action-prefix value Prefix of action names. No
--alarm-name-prefix value Prefix of alarm names. No
--state-value value State of Alarm.

Valid values: OK | ALARM | INSUFFICIENT_DATA

No

Common Options

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 EC2_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_CLOUDWATCH_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.

Output

This command returns a table that contains the following information:

Examples

The following example describes all of your alarms whose name starts with my-alm.

euwatch-describe-alarms --alarm-name-prefix my-alm --headers

The following is an example of output for this command.

ALARM  STATE ALARM_ACTIONS      NAMESPACE  METRIC_NAME    PERIOD  STATISTIC  EVAL_PERIODS  COMPARISON   THRESHOLD
my-alm1  OK  arn:aws:autoscaling:.. AWS/EC2  CPUUtilization 60      Average    3   GreaterThanThreshold  100.0
my-alm2  OK  arn:aws:autoscaling:.. AWS/EC2  CPUUtilization 60      Average    5   GreaterThanThreshold  80.0
x