adaptec_raid.conf 782 B

1234567891011121314151617181920212223242526272829303132
  1. # logical device status check
  2. template: adaptec_raid_ld_status
  3. on: adaptec_raid.ld_status
  4. class: Errors
  5. type: System
  6. component: RAID
  7. lookup: max -10s foreach *
  8. units: bool
  9. every: 10s
  10. crit: $this > 0
  11. delay: down 5m multiplier 1.5 max 1h
  12. summary: Adaptec raid logical device status
  13. info: Logical device status is failed or degraded
  14. to: sysadmin
  15. # physical device state check
  16. template: adaptec_raid_pd_state
  17. on: adaptec_raid.pd_state
  18. class: Errors
  19. type: System
  20. component: RAID
  21. lookup: max -10s foreach *
  22. units: bool
  23. every: 10s
  24. crit: $this > 0
  25. delay: down 5m multiplier 1.5 max 1h
  26. summary: Adaptec raid physical device state
  27. info: Physical device state is not online
  28. to: sysadmin