mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 15:44:21 +02:00
+ Fix alcatel ISAM
This commit is contained in:
parent
a594615b80
commit
d3e6fed24f
@ -266,7 +266,7 @@ sub manage_selection {
|
|||||||
$self->{results} = $self->{snmp}->get_leef();
|
$self->{results} = $self->{snmp}->get_leef();
|
||||||
|
|
||||||
foreach (keys %{$self->{results}}) {
|
foreach (keys %{$self->{results}}) {
|
||||||
next if ($_ !~ /^$oid_extendPortVlanCurrent1DayUpFwdByteCounter\.(\d+)\.(\+d)$/);
|
next if ($_ !~ /^$oid_extendPortVlanCurrent1DayUpFwdByteCounter\.(\d+)\.(\d+)$/);
|
||||||
my $vlan_index = $2;
|
my $vlan_index = $2;
|
||||||
|
|
||||||
my $in = oct("0b". unpack('b*', $self->{results}->{$oid_extendPortVlanCurrent1DayDnFwdByteCounter . '.' . $1 . '.' . $vlan_index}));
|
my $in = oct("0b". unpack('b*', $self->{results}->{$oid_extendPortVlanCurrent1DayDnFwdByteCounter . '.' . $1 . '.' . $vlan_index}));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user