Skip to content

24._CloudWatch

Ahmad Abdo edited this page Jun 26, 2017 · 1 revision

CloudWatch

listAlarms


Usage

$ awsm listAlarms --help
NAME:
   awsm listAlarms - List CloudWatch Alarms

USAGE:
   awsm listAlarms [arguments...]

Example Output

awsm listAlarms

This will list all Cloud Watch Alarms, the output should look similar to this:

$ awsm listAlarms
+-------------+-------------------------+-------+-------------------------------+--------+--------------------+-----------+----------------------------+-----------+-----------+
|    NAME     |       DESCRIPTION       | STATE |            TRIGGER            | PERIOD | EVALUATION PERIODS |  ACTIONS  |         DIMENSIONS         | NAMESPACE |  REGION   |
+-------------+-------------------------+-------+-------------------------------+--------+--------------------+-----------+----------------------------+-----------+-----------+
| cpuHigh-php | Scale-up based on CPU   | OK    | CPUUtilization > 60 (Average) |     60 |                  2 | scaleUp   | AutoScalingGroupName = php | AWS/EC2   | us-west-2 |
| cpuLow-php  | Scale-down based on CPU | ALARM | CPUUtilization < 20 (Average) |    600 |                  2 | scaleDown | AutoScalingGroupName = php | AWS/EC2   | us-west-2 |
| cpuHigh-php | Scale-up based on CPU   | OK    | CPUUtilization > 60 (Average) |     60 |                  2 | scaleUp   | AutoScalingGroupName = php | AWS/EC2   | us-east-1 |
| cpuLow-php  | Scale-down based on CPU | ALARM | CPUUtilization < 20 (Average) |    600 |                  2 | scaleDown | AutoScalingGroupName = php | AWS/EC2   | us-east-1 |
| cpuHigh-php | Scale-up based on CPU   | OK    | CPUUtilization > 60 (Average) |     60 |                  2 | scaleUp   | AutoScalingGroupName = php | AWS/EC2   | eu-west-1 |
| cpuLow-php  | Scale-down based on CPU | ALARM | CPUUtilization < 20 (Average) |    600 |                  2 | scaleDown | AutoScalingGroupName = php | AWS/EC2   | eu-west-1 |
+-------------+-------------------------+-------+-------------------------------+--------+--------------------+-----------+----------------------------+-----------+-----------+



Clone this wiki locally