$type = 'SCSI';
} elsif ($drive =~ /^[0-9]+[EI]:[0-9]+:[0-9]+$/) { # SAS
$type = 'SAS';
+ } elsif ($drive =~ /^[0-9]+[C]:[0-9]+:[0-9]+$/) { # New 6GBPS SAS
+ $type = 'SAS+';
} else {
# I'm not going to run pass arguments of unknown form to the shell..
warn ("Unknown diskdrive ID $drive\n");
} elsif ($type eq 'SAS') {
$key = 'PHY Transfer Rate';
if ($value{'PHY Count'} eq '2') {
- $expected = '3.0GBPS, Unknown';
+ if (defined($value{'Redundant Path(s)'})) {
+ $expected = '3.0GBPS, 3.0GBPS';
+ } else {
+ $expected = '3.0GBPS, Unknown';
+ }
} else {
$expected = '3.0GBPS';
}
+ } elsif ($type eq 'SAS+') {
+ $key = 'PHY Transfer Rate';
+ if ($value{'PHY Count'} eq '2') {
+ $expected = '6.0GBPS, Unknown';
+ } else {
+ $expected = '6.0GBPS';
+ }
} else {
warn "Should not be here. Do not know what to do with type '$type'\n";
next;
* dsa-check-zone-rrsig-expiration-many: also allow checking of geozones.
* dsa-check-dnssec-delegation: allow multiple dirs to be checked.
- -- Peter Palfrader <weasel@debian.org> Sat, 26 Jun 2010 12:11:51 +0200
+ [ Stephen Gran ]
+ * Update check-hpacucli to deal with dual domain and 6GBPS SAS
+
+ -- Stephen Gran <sgran@debian.org> Sat, 03 Jul 2010 16:23:58 +0100
dsa-nagios-checks (86) unstable; urgency=low