fix palo alto sessions

This commit is contained in:
garnier-quentin 2020-03-27 13:00:19 +01:00
parent 78b94f42b9
commit 01a99a7c26
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ sub add_vsys {
);
foreach my $oid (keys %$snmp_result) {
next if $oid !~ /^$mapping_vsys->{panVsysName}->{oid}\.(.*)$/;
next if ($oid !~ /^$mapping_vsys->{display}->{oid}\.(.*)$/);
my $instance = $1;
my $result = $options{snmp}->map_instance(mapping => $mapping_vsys, results => $snmp_result, instance => $instance);