diff --git a/zabbix_scripts/check_raid_mdadm b/zabbix_scripts/check_raid_mdadm index 50f8d40..dceb36a 100644 --- a/zabbix_scripts/check_raid_mdadm +++ b/zabbix_scripts/check_raid_mdadm @@ -101,7 +101,7 @@ while () { else { $status{$dev} = "Optimal"; } - if (/recovery/){ + if (/recovery|resync/){ $status{$dev} = "Rebuilding"; if ($result eq "OK"){ $result = "WARNING";