From 269a94937f3ed4f95bb0ce1042b3b10081def407 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Fri, 9 Oct 2015 11:53:03 +0200 Subject: [PATCH] + Fix aruba users mode --- centreon/common/aruba/snmp/mode/apusers.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centreon/common/aruba/snmp/mode/apusers.pm b/centreon/common/aruba/snmp/mode/apusers.pm index 621e99e34..1e5933fb4 100644 --- a/centreon/common/aruba/snmp/mode/apusers.pm +++ b/centreon/common/aruba/snmp/mode/apusers.pm @@ -396,7 +396,7 @@ sub manage_selection { my $total_timeticks = 0; foreach my $oid (keys %{$self->{results}->{$oid_wlsxUserEntry}}) { - $oid =~ /^$mapping->{nUserAuthenticationMethod}->{oid}\.(.*)$/; + next if ($oid !~ /^$mapping->{nUserAuthenticationMethod}->{oid}\.(.*)$/); my $instance = $1; my $result = $self->{snmp}->map_instance(mapping => $mapping, results => $self->{results}->{$oid_wlsxUserEntry}, instance => $instance); my $result2 = $self->{snmp}->map_instance(mapping => $mapping2, results => $self->{results}->{$mapping2->{nUserApBSSID}->{oid}}, instance => $instance);