mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 07:34:35 +02:00
+ add security on aruba
This commit is contained in:
parent
8c1dec439e
commit
65be58c0e8
@ -401,6 +401,8 @@ sub manage_selection {
|
||||
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);
|
||||
|
||||
# security
|
||||
next if (!defined($result2->{nUserApBSSID}));
|
||||
my $bssid = join('.', unpack('C*', $result2->{nUserApBSSID}));
|
||||
next if (defined($self->{option_results}->{filter_ip_address}) && $self->{option_results}->{filter_ip_address} ne '' &&
|
||||
$map_ap{$bssid}->{ip} !~ /$self->{option_results}->{filter_ip_address}/);
|
||||
|
Loading…
x
Reference in New Issue
Block a user