mdadm monitoring scripts for zabbix-agent.
This repository provides a low level discovery script, which discover mdadm devices and a second script which get the array state and faulty disk count.
Note: This is yet another rewrite of zabbix-check-mdadm respectively zabbix-check-mdadm2, but this time we read the data from sysfs, instead of parsing "/proc/mdstat" and "mdadm -D". Also this version is written in POSIX sh, so no dependencies for python et cetera.
- Clone this repo and build the debian package yourself with
LANG=C debuild -us -uc -b; dh clean
or - Install it directly from @istoph's repository or
- Clone this repo and install the script and config by hand
- POSIX sh
New BSD License/BSD 3-Clause License (see debian/copyright)
A template for the Zabbix frontend can be found, as usual in our packages, in /usr/share/doc/${package_name}/examples