mirror of
https://github.com/ranl/monitor-utils.git
synced 2025-04-11 01:43:39 +02:00
missed a spot
This commit is contained in:
parent
fac0423484
commit
9fe5aff0d8
@ -773,7 +773,7 @@ if("$opt{'check_type'}" eq "TEMP") {
|
|||||||
$stat = $ERRORS{'WARNING'};
|
$stat = $ERRORS{'WARNING'};
|
||||||
$msg = "WARN: Unknown volume path or aggregate name '$opt{'vol'}'. Available values:";
|
$msg = "WARN: Unknown volume path or aggregate name '$opt{'vol'}'. Available values:";
|
||||||
foreach my $key (sort keys %$r_vol_tbl) {
|
foreach my $key (sort keys %$r_vol_tbl) {
|
||||||
next if ( !( ($$r_vol_tbl{$key} =~ m#^/vol/.*/$#) or ($$r_vol_tbl{$key} =~ m#^[^/]*$#) ) );
|
next if ( !( ($$r_vol_tbl{$key} =~ m#^/vol/.*$#) or ($$r_vol_tbl{$key} =~ m#^[^/]*$#) ) );
|
||||||
$msg .= " $$r_vol_tbl{$key}"
|
$msg .= " $$r_vol_tbl{$key}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user