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-raid-mpt
diff --git
a/dsa-nagios-nrpe-config/dsa-check-raid-mpt
b/dsa-nagios-nrpe-config/dsa-check-raid-mpt
index
5dd1155
..
f4f3407
100755
(executable)
--- a/
dsa-nagios-nrpe-config/dsa-check-raid-mpt
+++ b/
dsa-nagios-nrpe-config/dsa-check-raid-mpt
@@
-46,7
+46,7
@@
my $msg = '';
for my $line (@tw) {
chomp $line;
next if $line =~ /^$/;
for my $line (@tw) {
chomp $line;
next if $line =~ /^$/;
- my ($device, $num, $status) = $line =~ m#^(vol_id|phys_id)\s+([0-9]+)\s+(.*)$#;
+ my ($device, $num, $status) = $line =~ m#^(
log_id|
vol_id|phys_id)\s+([0-9]+)\s+(.*)$#;
unless (defined($device) && defined($num) && defined($status)) {
print "Cannot parse line '$line'\n";
exit $UNKNOWN;
unless (defined($device) && defined($num) && defined($status)) {
print "Cannot parse line '$line'\n";
exit $UNKNOWN;