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
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