mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 07:34:35 +02:00
fix volume tsm mode
This commit is contained in:
parent
ea387f5330
commit
96e31d620c
@ -135,7 +135,7 @@ sub manage_selection {
|
|||||||
$self->{volumes} = {};
|
$self->{volumes} = {};
|
||||||
$self->{global} = { total => 0, online => 0, offline => 0, empty => 0, pending => 0, filling => 0, full => 0 };
|
$self->{global} = { total => 0, online => 0, offline => 0, empty => 0, pending => 0, filling => 0, full => 0 };
|
||||||
|
|
||||||
while ($response =~ /^(.*?),(.*?),(.*?),(.*?),(.*?)$/mg) {
|
while ($response =~ /^(.*?),(.*?),(.*?),(.*?)$/mg) {
|
||||||
my ($volume_name, $stgpool, $status, $pct_utilized) = ($1, $2, $3, $4);
|
my ($volume_name, $stgpool, $status, $pct_utilized) = ($1, $2, $3, $4);
|
||||||
|
|
||||||
if (defined($self->{option_results}->{filter_volume}) && $self->{option_results}->{filter_volume} ne '' &&
|
if (defined($self->{option_results}->{filter_volume}) && $self->{option_results}->{filter_volume} ne '' &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user