Skip to content

Commit 4ff9e2f

Browse files
authored
Merge branch 'main' into nr-175396-reference-fix
2 parents 9d20007 + aee3128 commit 4ff9e2f

File tree

9 files changed

+595
-0
lines changed

9 files changed

+595
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: High CPU Utilization
2+
3+
description: |+
4+
This alert is triggered when the CPU Utilization is above 90%.
5+
6+
type: STATIC
7+
nrql:
8+
query: "SELECT average(`aws.dms.CPUUtilization`) as 'Query' FROM Metric"
9+
10+
# Function used to aggregate the NRQL query value(s) for comparison to the terms.threshold (Default: SINGLE_VALUE)
11+
valueFunction: SINGLE_VALUE
12+
13+
# List of Critical and Warning thresholds for the condition
14+
terms:
15+
- priority: CRITICAL
16+
# Operator used to compare against the threshold.
17+
operator: ABOVE
18+
# Value in % that triggers a violation
19+
threshold: 90
20+
# Time in seconds; 120 - 3600
21+
thresholdDuration: 300
22+
# How many data points must be in violation for the duration
23+
thresholdOccurrences: ALL
24+
25+
# Duration after which a violation automatically closes
26+
# Time in seconds; 300 - 2592000 (Default: 86400 [1 day])
27+
violationTimeLimitSeconds: 86400
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Low Freeable Memory
2+
3+
description: |+
4+
This alert occurs when Freeable Memory go below 100 Bytes for 5 minutes
5+
6+
type: STATIC
7+
8+
nrql:
9+
query: "SELECT average(aws.dms.FreeableMemory) from Metric"
10+
11+
# Function used to aggregate the NRQL query value(s) for comparison to the terms.threshold (Default: SINGLE_VALUE)
12+
valueFunction: SINGLE_VALUE
13+
14+
# List of Critical and Warning thresholds for the condition
15+
terms:
16+
- priority: CRITICAL
17+
# Operator used to compare against the threshold.
18+
operator: BELOW
19+
# Value in Bytes that triggers violation
20+
threshold: 100
21+
# Time in seconds; 120 - 3600
22+
thresholdDuration: 300
23+
# How many data points must be in violation for the duration
24+
thresholdOccurrences: ALL
25+
26+
# Adding a Warning threshold is optional
27+
- priority: WARNING
28+
operator: BELOW
29+
# Value in Bytes that triggers violation
30+
threshold: 95
31+
thresholdDuration: 300
32+
thresholdOccurrences: ALL
33+
34+
# Duration after which a violation automatically closes
35+
# Time in seconds; 300 - 2592000 (Default: 86400 [1 day])
36+
violationTimeLimitSeconds: 86400
37+

0 commit comments

Comments
 (0)