summaryrefslogtreecommitdiff
path: root/nagios-check-hpacucli
diff options
context:
space:
mode:
Diffstat (limited to 'nagios-check-hpacucli')
-rwxr-xr-xnagios-check-hpacucli6
1 files changed, 5 insertions, 1 deletions
diff --git a/nagios-check-hpacucli b/nagios-check-hpacucli
index ce0910e..a347388 100755
--- a/nagios-check-hpacucli
+++ b/nagios-check-hpacucli
@@ -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;