Zabbix mdadm monitoring

Add user parameter to “zabbix_agentd.conf”

UserParameter=custom.mdstat,cat /proc/mdstat | grep -c _

Item

Name=mdadmItem
Type=Zabbix Agent
Key=custom.mdstat

Trigger

Name: mdadm
Expression: {mdadm:custom.mdstat.last()}>0

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>