mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
Merge pull request #1372 from trollagit/trollagit-patch-1
Update md_iostat_ for '--write-mostly' drives
This commit is contained in:
commit
38f2647dd0
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ while (<MD>) {
|
||||||
|
|
||||||
# Remove unwanted things like raid device number, partition number
|
# Remove unwanted things like raid device number, partition number
|
||||||
# and sort nicely.
|
# and sort nicely.
|
||||||
@devs = sort by_dev map { s/\d*\[.*\]$//; $_; } @devs;
|
@devs = sort by_dev map { s/\d*\[.*$//; $_; } @devs;
|
||||||
|
|
||||||
# Insert the raid device into the mix.
|
# Insert the raid device into the mix.
|
||||||
unshift(@devs,$md);
|
unshift(@devs,$md);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue