Created
May 6, 2020 11:03
-
-
Save collingo/11cbabc18e6f7d87e2c94a7f85a5d3d0 to your computer and use it in GitHub Desktop.
CloudWatch alarm message example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"AlarmName": "cpuUtilTest", | |
"AlarmDescription": "testing alarms for cpu utilization", | |
"AWSAccountId": "08931xxxxxx", | |
"NewStateValue": "ALARM", | |
"OldStateValue": "OK", | |
"NewStateReason": "Threshold Crossed: 1 datapoint (5.199) was greater than or equal to the threshold (5.0).", | |
"StateChangeTime": "2012-08-05T22:31:25.524+0000", | |
"Region": "US - N. Virginia", | |
"Trigger": { | |
"MetricName": "CPUUtilization", | |
"Namespace": "AWS/EC2", | |
"Statistic": "AVERAGE", | |
"Unit": null, | |
"Dimensions": [ | |
{ | |
"name": "InstanceId", | |
"value": "i-39e64c5f" | |
} | |
], | |
"Period": 900, | |
"EvaluationPeriods": 1, | |
"ComparisonOperator": "GreaterThanOrEqualToThreshold", | |
"Threshold": 5.0 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment