Add support for raid0 devices in mdadm_linux collector.

This commit is contained in:
Ben Kochie 2016-06-06 23:18:09 +02:00
commit a09bbaacd1
4 changed files with 41 additions and 5 deletions

View file

@ -33,6 +33,7 @@ func TestMdadm(t *testing.T) {
"md8": {"md8", true, 2, 2, 195310144, 16775552},
"md7": {"md7", true, 3, 4, 7813735424, 7813735424},
"md9": {"md9", true, 4, 4, 523968, 523968},
"md10": {"md10", true, 2, 2, 314159265, 314159265},
}
for _, md := range mdStates {