mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-03-04 22:30:22 -05:00
Fix Debian bug #574612: Return WARNING on rebuild
Let check_linux_raid return a WARNING instead of an OK state during volume recovery. See: http://bugs.debian.org/574612 (Fixed by Christoph Martin, forwarded by Jan Wagner.)
This commit is contained in:
parent
933918ce5d
commit
753b884088
1 changed files with 1 additions and 0 deletions
|
|
@ -64,6 +64,7 @@ while(defined $nextdev){
|
|||
} elsif (/recovery = (.*?)\s/) {
|
||||
$recovery{$device} = $1;
|
||||
($finish{$device}) = /finish=(.*?min)/;
|
||||
$device=undef;
|
||||
} elsif (/^\s*$/) {
|
||||
$device=undef;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue