euwatch-put-metric-alarm1
Create or update an alarm
Usage
euwatch-put-metric-alarm --comparison-operator
Overview
Create or update an alarm
positional arguments:
- ALARM
-
name of the alarm (required)
optional arguments:
-
--comparison-operator {GreaterThanOrEqualToThreshold,GreaterThanThreshold,LessThanThreshold,LessThanOrEqualToThreshold} -
arithmetic operator with which the comparison with the threshold will be made (required)
-
--evaluation-periods COUNT -
number of consecutive periods for which the value of the metric needs to be compared to the threshold (required)
-
--metric-name METRIC -
name for the alarm's associated metric (required)
-
--namespace NAMESPACE -
namespace for the alarm's associated metric (required)
-
--period SECONDS -
period over which the specified statistic is applied (required)
-
--statistic {Average,Maximum,Minimum,SampleCount,Sum} -
statistic on which to alarm (required)
-
--threshold FLOAT -
value to compare the statistic against (required)
-
--actions-enabled {true,false} -
whether this alarm's actions should be executed when it changes state
-
--alarm-actions ARN1,ARN2,... -
ARNs of SNS topics to publish to when the alarm changes to the ALARM state
-
--alarm-description DESCRIPTION -
description of the alarm
-
-d KEY1=VALUE1,KEY2=VALUE2,..., --dimensions KEY1=VALUE1,KEY2=VALUE2,... -
dimensions for the alarm's associated metric
-
--insufficient-data-actions ARN1,ARN2,... -
ARNs of SNS topics to publish to when the alarm changes to the INSUFFICIENT_DATA state
-
--ok-actions ARN1,ARN2,... -
ARNs of SNS topics to publish to when the alarm changes to the OK state
-
--unit UNIT -
unit for the alarm's associated metric
-
--show-empty-fields -
show empty values as "(nil)"
-
-U URL, --url URL -
instance monitoring service endpoint URL
-
--region USER@REGION -
region and/or user names to search when looking up config file data
-I KEY_ID, --access-key-id KEY_ID
-S KEY, --secret-key KEY
--security-token TOKEN
-
--debug -
show debugging output
-
--debugger -
launch interactive debugger on error
-
--version -
show the program's version and exit
-
-h, --help -
show this help message and exit
Releases
3 releases since Debian 8 (Jessie); the text changed 1 time.