This is a plugin for Datadog that checks the status of Linux software RAID Multiple Device md(4) arrays and returns a variety of gauges.
The information is inelegantly parsed from /proc/mdstat and sent to datadog
as various metrics.
md_device.disk.totalThe total number of disks that are supposed to be active in the array.md_device.disk.activeThe number of disks that are active in the array. i.e. non-failed and non-spare. Disks that are considered recovering will be included in this count.md_device.disk.spareThe number of spare disks in the array.md_device.disk.failedThe number of failed disks in the array.md_device.disk.upThe total number of fully functioning disks in the array. i.e. non-failed, non-spare and non-recovering.md_device.recovery.completeThe percentage of recovery completed. Will return 100% for arrays that are not in recovery status.md_device.recovery.speed_bytesThe speed of recovery. Will return 0 for arrays that are not in recovery status.