Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 1.03 KB

README.md

File metadata and controls

39 lines (28 loc) · 1.03 KB

Zabbix template handles Software RAID (MD) on Linux

Design and Implementaion:

  • auto-discovery for all active MDs
  • no assumption made about MD name
  • currently, only two HDD/SSD reported as members of the array
  • trigger is constructed to monitor RAID State.
  • to avoid flipping, the trigger will fire if state change sustain for
    more than one collection cycle

TO DO list

  • indtroduce items: failed device, number of failed devices
  • auto-discover array devices

Append to zabbix_agentd.conf file

   UserParameter=mdraid[*], sudo /usr/local/bin/zabbix_mdraid.sh -m'$1' -$2'$3'
   
   UserParameter=mdraid.discovery, sudo /usr/local/bin/zabbix_mdraid.sh -D 

Note

don't forget to add zabbix user to sudoers

Referrence: