(plugin) network::f5::bigip::snmp - mode pool-status add disabledbyparent (#3956)

This commit is contained in:
qgarnier 2022-10-05 13:36:33 +02:00 committed by GitHub
parent 62435b3ee7
commit 67e668cdf8
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ sub add_members {
my $result = $options{snmp}->map_instance(mapping => $mapping_members->{ $options{map} }, results => $snmp_result, instance => $instance);
$result->{reason} = '-' if (!defined($result->{reason}) || $result->{reason} eq '');
if ($result->{state} ne 'disabled') {
if ($result->{state} !~ /disabled/) {
$self->{pools}->{$poolInstance}->{pool_status}->{membersAllDisabled} = 'no';
}