mdadm: Report rebuilding if status is resync

tags/zabbix-agent-addons-0.2.20-1 0.1.24_el6
Daniel Berteaud 10 years ago
parent 124782c8d6
commit 79dc37ac3a
  1. 2
      zabbix_scripts/check_raid_mdadm

@ -101,7 +101,7 @@ while (<FILE>) {
else { else {
$status{$dev} = "Optimal"; $status{$dev} = "Optimal";
} }
if (/recovery/){ if (/recovery|resync/){
$status{$dev} = "Rebuilding"; $status{$dev} = "Rebuilding";
if ($result eq "OK"){ if ($result eq "OK"){
$result = "WARNING"; $result = "WARNING";

Loading…
Cancel
Save