mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-28 08:04:36 +02:00
Refs #5576
This commit is contained in:
parent
48cf8ac258
commit
72e5dc6c0b
@ -83,6 +83,11 @@ sub check_table_memory {
|
|||||||
my $memory_free = $self->{results}->{$options{entry}}->{$options{poolFree} . '.' . $instance};
|
my $memory_free = $self->{results}->{$options{entry}}->{$options{poolFree} . '.' . $instance};
|
||||||
|
|
||||||
next if ($memory_name eq '');
|
next if ($memory_name eq '');
|
||||||
|
if (defined($self->{option_results}->{filter_pool}) && $self->{option_results}->{filter_pool} ne '' &&
|
||||||
|
$memory_name !~ /$self->{option_results}->{filter_pool}/) {
|
||||||
|
$self->{output}->output_add(long_msg => "Skipping pool '" . $memory_name . "'.");
|
||||||
|
next;
|
||||||
|
}
|
||||||
|
|
||||||
$checked = 1;
|
$checked = 1;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user