projects
/
mirror
/
dsa-nagios.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ peter@palfrader.org-20090303201249-z9se72s4eumz3du1]
[mirror/dsa-nagios.git]
/
dsa-nagios-nrpe-config
/
dsa-check-hpacucli
diff --git
a/dsa-nagios-nrpe-config/dsa-check-hpacucli
b/dsa-nagios-nrpe-config/dsa-check-hpacucli
index
ce0910e
..
a347388
100755
(executable)
--- a/
dsa-nagios-nrpe-config/dsa-check-hpacucli
+++ b/
dsa-nagios-nrpe-config/dsa-check-hpacucli
@@
-163,7
+163,11
@@
for my $slot (sort @controllers) {
};
} elsif ($type eq 'SAS') {
$key = 'PHY Transfer Rate';
};
} 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;
} else {
warn "Should not be here. Do not know what to do with type '$type'\n";
next;