You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|67d558dd2d||3 years ago|
|test||3 years ago|
|README.md||3 years ago|
|check_mdstat.sh||3 years ago|
|command_mdstat.conf||3 years ago|
|service_mdstat.conf||3 years ago|
This script reads from
/sys/block/$md/md/ to get the status of a RAID devices.
Other than check_md_raid and [check_md_raid updated](https://exchange.icinga.com/jasem/check_md_raid updated/) the data is not taken from /proc/mdstat which is less machine readable. Also not all RAIDs are checked simulataneously but only one specific. This gives the possibility to query some "performance" data and later add more granular checks.
- --raid | -r: Name of the RAID, e.g.
- --input | -i: Input base directory. Defaults to /sys/block/
- --debug | -d: More debugging output, cannot be used with icinga2
- CRITICAL: if any device failed
- CRITICAL: if the state of the RAID is not active/started
- CRITICAL: if the number of active devices is smaller than the number of configured devices.
- WARNING: when recoverying/resyncing