summaryrefslogtreecommitdiffstats
path: root/health/health.d/adaptec_raid.conf
diff options
context:
space:
mode:
Diffstat (limited to 'health/health.d/adaptec_raid.conf')
-rw-r--r--health/health.d/adaptec_raid.conf32
1 files changed, 32 insertions, 0 deletions
diff --git a/health/health.d/adaptec_raid.conf b/health/health.d/adaptec_raid.conf
new file mode 100644
index 00000000..1f184049
--- /dev/null
+++ b/health/health.d/adaptec_raid.conf
@@ -0,0 +1,32 @@
+
+# logical device status check
+
+ template: adaptec_raid_ld_status
+ on: adaptec_raid.ld_status
+ class: Errors
+ type: System
+component: RAID
+ lookup: max -10s foreach *
+ units: bool
+ every: 10s
+ crit: $this > 0
+ delay: down 5m multiplier 1.5 max 1h
+ summary: Adaptec raid logical device status
+ info: Logical device status is failed or degraded
+ to: sysadmin
+
+# physical device state check
+
+ template: adaptec_raid_pd_state
+ on: adaptec_raid.pd_state
+ class: Errors
+ type: System
+component: RAID
+ lookup: max -10s foreach *
+ units: bool
+ every: 10s
+ crit: $this > 0
+ delay: down 5m multiplier 1.5 max 1h
+ summary: Adaptec raid physical device state
+ info: Physical device state is not online
+ to: sysadmin