adaptec_raid.conf 690 B

123456789101112131415161718192021222324252627282930
  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. info: logical device status is failed or degraded
  13. to: sysadmin
  14. # physical device state check
  15. template: adaptec_raid_pd_state
  16. on: adaptec_raid.pd_state
  17. class: Errors
  18. type: System
  19. component: RAID
  20. lookup: max -10s foreach *
  21. units: bool
  22. every: 10s
  23. crit: $this > 0
  24. delay: down 5m multiplier 1.5 max 1h
  25. info: physical device state is not online
  26. to: sysadmin