dsa-check-hpacucli: don't warn on 3Gbps transfer rate for SATA drives
authorJulien Cristau <jcristau@debian.org>
Thu, 19 Nov 2015 23:03:39 +0000 (00:03 +0100)
committerJulien Cristau <jcristau@debian.org>
Thu, 19 Nov 2015 23:03:39 +0000 (00:03 +0100)
Signed-off-by: Julien Cristau <jcristau@debian.org>
dsa-nagios-checks/checks/dsa-check-hpacucli

index e9a299e..243d45c 100755 (executable)
@@ -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' ];