Change all instances of alarm to template (#9553)
Fix megacli.conf alarm.
Toby Hammond committed
Jul 16, 2020 at 16:53 UTC
c7b0fef1d3536b727d479ddf95f8623a60c4cd3a
1 file changed
+3
-3
health/health.d/megacli.conf
+3
-3
@@ -1,4 +1,4 @@
1
- alarm: adapter_state
1
+template: adapter_state
2
on: megacli.adapter_degraded
3
units: is degraded
4
lookup: sum -10s
@@ -27,7 +27,7 @@ template: bbu_cycle_count
27
info: BBU cycle count
28
to: sysadmin
29
30
- alarm: pd_media_errors
30
+template: pd_media_errors
31
on: megacli.pd_media_error
32
units: media errors
33
lookup: sum -10s
@@ -37,7 +37,7 @@ template: bbu_cycle_count
37
info: physical drive media errors
38
to: sysadmin
39
40
- alarm: pd_predictive_failures
40
+template: pd_predictive_failures
41
on: megacli.pd_predictive_failure
42
units: predictive failures
43
lookup: sum -10s