projects
/
mirror
/
dsa-nagios.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1897b54
)
dsa-check-hpacucli: don't warn on 3Gbps transfer rate for SATA drives
author
Julien Cristau
<jcristau@debian.org>
Thu, 19 Nov 2015 23:03:39 +0000
(
00:03
+0100)
committer
Julien 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
patch
|
blob
|
history
diff --git
a/dsa-nagios-checks/checks/dsa-check-hpacucli
b/dsa-nagios-checks/checks/dsa-check-hpacucli
index
e9a299e
..
243d45c
100755
(executable)
--- 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' ];