| 1 | # you can disable an alarm notification by setting the 'to' line to: silent |
| 2 | |
| 3 | template: adaptec_raid_ld_health_status |
| 4 | on: adaptecraid.logical_device_status |
| 5 | class: Errors |
| 6 | type: System |
| 7 | component: RAID |
| 8 | lookup: average -1m unaligned percentage of ok |
| 9 | units: % |
| 10 | every: 10s |
| 11 | crit: $this < 100 |
| 12 | delay: down 5m multiplier 1.5 max 1h |
| 13 | summary: Adaptec RAID LD (number ${label:ld_number}) health status |
| 14 | info: Adaptec RAID logical device (number ${label:ld_number} name ${label:ld_name}) health status is critical |
| 15 | to: sysadmin |
| 16 | |
| 17 | template: adaptec_raid_pd_health_state |
| 18 | on: adaptecraid.physical_device_state |
| 19 | class: Errors |
| 20 | type: System |
| 21 | component: RAID |
| 22 | lookup: average -1m unaligned percentage of ok |
| 23 | units: % |
| 24 | every: 10s |
| 25 | crit: $this < 100 |
| 26 | delay: down 5m multiplier 1.5 max 1h |
| 27 | summary: Adaptec RAID PD (number ${label:pd_number}) health state |
| 28 | info: Adaptec RAID physical device (number ${label:pd_number} location ${label:location}) health state is critical |
| 29 | to: sysadmin |