From ba5730514e2f8bb27cb7746a00af7314dc8f67d9 Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Fri, 20 Nov 2015 00:03:39 +0100 Subject: [PATCH] dsa-check-hpacucli: don't warn on 3Gbps transfer rate for SATA drives Signed-off-by: Julien Cristau --- dsa-nagios-checks/checks/dsa-check-hpacucli | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsa-nagios-checks/checks/dsa-check-hpacucli b/dsa-nagios-checks/checks/dsa-check-hpacucli index e9a299e..243d45c 100755 --- a/dsa-nagios-checks/checks/dsa-check-hpacucli +++ b/dsa-nagios-checks/checks/dsa-check-hpacucli @@ -245,7 +245,7 @@ for my $slot (sort @controllers) { } elsif ($type eq 'SAS' || $type eq 'SAS+') { $key = 'PHY Transfer Rate'; if ($value{'Interface Type'} eq 'SATA') { - $expected = [ '1.5Gbps' ]; + $expected = [ '1.5Gbps', '3.0Gbps' ]; } elsif ($value{'PHY Count'} eq '2') { if (defined($value{'Redundant Path(s)'})) { $expected = [ '3.0GBPS, 3.0GBPS', '6.0GBPS, 6.0GBPS' ]; -- 2.20.1