projects
/
mirror
/
dsa-nagios.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rietz is on syslog-ng also
[mirror/dsa-nagios.git]
/
dsa-nagios-checks
/
checks
/
dsa-check-hpacucli
diff --git
a/dsa-nagios-checks/checks/dsa-check-hpacucli
b/dsa-nagios-checks/checks/dsa-check-hpacucli
index
db5f013
..
06c6fad
100755
(executable)
--- a/
dsa-nagios-checks/checks/dsa-check-hpacucli
+++ b/
dsa-nagios-checks/checks/dsa-check-hpacucli
@@
-124,7
+124,7
@@
for my $slot (sort @controllers) {
my $type;
if ($drive =~ /^[0-9]+:[0-9]+$/) { # scsi drives
$type = 'SCSI';
my $type;
if ($drive =~ /^[0-9]+:[0-9]+$/) { # scsi drives
$type = 'SCSI';
- } elsif ($drive =~ /^[0-9]+
I
:[0-9]+:[0-9]+$/) { # SAS
+ } elsif ($drive =~ /^[0-9]+
[EI]
:[0-9]+:[0-9]+$/) { # SAS
$type = 'SAS';
} else {
# I'm not going to run pass arguments of unknown form to the shell..
$type = 'SAS';
} else {
# I'm not going to run pass arguments of unknown form to the shell..