[project @ peter@palfrader.org-20090217213608-agsetu09xvu89a2v]
[mirror/dsa-nagios.git] / dsa-nagios-nrpe-config / dsa-check-hpacucli
index ce0910e..a347388 100755 (executable)
@@ -163,7 +163,11 @@ for my $slot (sort @controllers) {
                        };
                } elsif ($type eq 'SAS') {
                        $key = 'PHY Transfer Rate';
-                       $expected = '3.0GBPS';
+                       if ($value{'PHY Count'} eq '2') {
+                               $expected = '3.0GBPS, Unknown';
+                       } else {
+                               $expected = '3.0GBPS';
+                       }
                } else {
                        warn "Should not be here.  Do not know what to do with type '$type'\n";
                        next;