From 79dc37ac3a5fcf6dbd109f95a7791e5eb672af2f Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 15 Apr 2015 18:02:06 +0200 Subject: [PATCH] mdadm: Report rebuilding if status is resync --- zabbix_scripts/check_raid_mdadm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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";