forked from antonputra/tutorials
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsns-ok-event.json
More file actions
39 lines (39 loc) · 1.52 KB
/
Copy pathsns-ok-event.json
File metadata and controls
39 lines (39 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"AlarmName": "EC2 High CPU (i-0a4026af087470b96)",
"AlarmDescription": "This metric monitors CPU utilization for the following instance: i-0a4026af087470b96. If the CPU usage exceeds 80%, you'll get an alert.",
"AWSAccountId": "424432388155",
"AlarmConfigurationUpdatedTimestamp": "2022-08-24T09:30:39.877+0000",
"NewStateValue": "OK",
"NewStateReason": "Threshold Crossed: 1 out of the last 1 datapoints [0.050000138902777796 (24/08/22 09:27:00)] was not greater than the threshold (80.0) (minimum 1 datapoint for ALARM -> OK transition).",
"StateChangeTime": "2022-08-24T09:32:05.478+0000",
"Region": "US East (N. Virginia)",
"AlarmArn": "arn:aws:cloudwatch:us-east-1:424432388155:alarm:test2",
"OldStateValue": "INSUFFICIENT_DATA",
"OKActions": [
"arn:aws:sns:us-east-1:424432388155:alerts"
],
"AlarmActions": [
"arn:aws:sns:us-east-1:424432388155:alerts"
],
"InsufficientDataActions": [],
"Trigger": {
"MetricName": "CPUUtilization",
"Namespace": "AWS/EC2",
"StatisticType": "Statistic",
"Statistic": "AVERAGE",
"Unit": null,
"Dimensions": [
{
"value": "i-00413a5fb048ad162",
"name": "InstanceId"
}
],
"Period": 300,
"EvaluationPeriods": 1,
"DatapointsToAlarm": 1,
"ComparisonOperator": "GreaterThanThreshold",
"Threshold": 80.0,
"TreatMissingData": "missing",
"EvaluateLowSampleCountPercentile": ""
}
}