1
0
Fork 0
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:
Kenyon Ralph 2023-05-03 12:29:58 -07:00 committed by GitHub
commit 38f2647dd0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);