summaryrefslogtreecommitdiffstats
path: root/health/health.d/adaptec_raid.conf
blob: b067e1840199c801a86f6120d8464396801d726b (plain)
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
# logical device status check

 template: adaptec_raid_ld_status
       on: adaptec_raid.ld_status
    class: System
component: RAID
     type: Errors
   lookup: max -10s foreach *
    units: bool
    every: 10s
     crit: $this > 0
    delay: down 5m multiplier 1.5 max 1h
     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: System
component: RAID
     type: Errors
   lookup: max -10s foreach *
    units: bool
    every: 10s
     crit: $this > 0
    delay: down 5m multiplier 1.5 max 1h
     info: physical device state is not online
       to: sysadmin