From b1eb55ef4601f60ec0d7f0a09e189665f529f56a Mon Sep 17 00:00:00 2001 From: Jonathan Wiltshire Date: Wed, 14 Dec 2016 16:28:32 +0000 Subject: [PATCH] Treat sas2ircu hot spares as OK (fixes #159) --- lib/App/Monitoring/Plugin/CheckRaid/Plugins/sas2ircu.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/App/Monitoring/Plugin/CheckRaid/Plugins/sas2ircu.pm b/lib/App/Monitoring/Plugin/CheckRaid/Plugins/sas2ircu.pm index e551fa86..0ce63f27 100644 --- a/lib/App/Monitoring/Plugin/CheckRaid/Plugins/sas2ircu.pm +++ b/lib/App/Monitoring/Plugin/CheckRaid/Plugins/sas2ircu.pm @@ -217,7 +217,7 @@ sub check { #if ($numslots == 10 ) { $state='FREDFISH';} #when we get a state, test on it and report it.. - if ($state =~ /Optimal|Ready/) { + if ($state =~ /Optimal|Ready|Hot Spare/) { #do nothing at the moment. } else { $this->critical;