File tree 7 files changed +28
-7
lines changed
alert-policies/hardware-sentry
7 files changed +28
-7
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ type: STATIC
7
7
nrql :
8
8
query : " FROM Metric SELECT latest(hw.battery.charge) FACET site, host.name"
9
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
+
10
13
# List of Critical and Warning thresholds for the condition
11
14
terms :
12
15
- priority : CRITICAL
26
29
# Time in seconds; 120 - 3600
27
30
thresholdDuration : 300
28
31
# How many data points must be in violation for the duration
29
- thresholdOccurrences : ALL
32
+ thresholdOccurrences : ALL
Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ type: STATIC
6
6
nrql :
7
7
query : " FROM Metric SELECT latest(hardware_sentry.connector.status) WHERE state = 'degraded' FACET site, host.name"
8
8
9
+ # Function used to aggregate the NRQL query value(s) for comparison to the terms.threshold (Default: SINGLE_VALUE)
10
+ valueFunction : SINGLE_VALUE
11
+
9
12
# List of Critical and Warning thresholds for the condition
10
13
terms :
11
14
- priority : CRITICAL
16
19
# Time in seconds; 120 - 3600
17
20
thresholdDuration : 300
18
21
# How many data points must be in violation for the duration
19
- thresholdOccurrences : ALL
22
+ thresholdOccurrences : ALL
Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ type: STATIC
7
7
nrql :
8
8
query : " FROM Metric SELECT latest(hw.status) WHERE state IN ('failed') OR battery.state = 'failed' FACET site, host.name"
9
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
+
10
13
# List of Critical and Warning thresholds for the condition
11
14
terms :
12
15
- priority : CRITICAL
17
20
# Time in seconds; 120 - 3600
18
21
thresholdDuration : 300
19
22
# How many data points must be in violation for the duration
20
- thresholdOccurrences : ALL
23
+ thresholdOccurrences : ALL
Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ type: STATIC
7
7
nrql :
8
8
query : " FROM Metric SELECT latest(hw.battery.charge) FACET site, host.name"
9
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
+
10
13
# List of Critical and Warning thresholds for the condition
11
14
terms :
12
15
- priority : WARNING
17
20
# Time in seconds; 120 - 3600
18
21
thresholdDuration : 300
19
22
# How many data points must be in violation for the duration
20
- thresholdOccurrences : ALL
23
+ thresholdOccurrences : ALL
Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ type: STATIC
6
6
nrql :
7
7
query : " SELECT latest(hardware_sentry.host.up) FROM Metric FACET host.id"
8
8
9
+ # Function used to aggregate the NRQL query value(s) for comparison to the terms.threshold (Default: SINGLE_VALUE)
10
+ valueFunction : SINGLE_VALUE
11
+
9
12
# List of Critical and Warning thresholds for the condition
10
13
terms :
11
14
- priority : CRITICAL
16
19
# Time in seconds; 120 - 3600
17
20
thresholdDuration : 300
18
21
# How many data points must be in violation for the duration
19
- thresholdOccurrences : ALL
22
+ thresholdOccurrences : ALL
Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ type: STATIC
6
6
nrql :
7
7
query : " SELECT latest(hw.status) FROM Metric WHERE state = 'present' FACET host.name"
8
8
9
+ # Function used to aggregate the NRQL query value(s) for comparison to the terms.threshold (Default: SINGLE_VALUE)
10
+ valueFunction : SINGLE_VALUE
11
+
9
12
# List of Critical and Warning thresholds for the condition
10
13
terms :
11
14
- priority : CRITICAL
16
19
# Time in seconds; 120 - 3600
17
20
thresholdDuration : 300
18
21
# How many data points must be in violation for the duration
19
- thresholdOccurrences : ALL
22
+ thresholdOccurrences : ALL
Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ type: STATIC
6
6
nrql :
7
7
query : " SELECT latest(hw.physical_disk.endurance_utilization) FROM Metric FACET host.id"
8
8
9
+ # Function used to aggregate the NRQL query value(s) for comparison to the terms.threshold (Default: SINGLE_VALUE)
10
+ valueFunction : SINGLE_VALUE
11
+
9
12
# List of Critical and Warning thresholds for the condition
10
13
terms :
11
14
- priority : CRITICAL
25
28
# Time in seconds; 120 - 3600
26
29
thresholdDuration : 300
27
30
# How many data points must be in violation for the duration
28
- thresholdOccurrences : ALL
31
+ thresholdOccurrences : ALL
You can’t perform that action at this time.
0 commit comments