+ Fix cisco ipsla mode: problem with cache file

This commit is contained in:
garnier-quentin 2015-12-21 11:10:26 +01:00
parent b79fc7e784
commit 91619dc375
1 changed files with 1 additions and 1 deletions

View File

@ -972,7 +972,7 @@ sub manage_selection {
my $i = 1;
my $instances = [];
foreach my $oid2 ($self->{snmp}->oid_lex_sort(keys %{$self->{results}->{$oid_rttMonJitterStatsEntry}})) {
next if ($oid2 !~ /^$oids_jitter_stats->{$key}\.\d+.(\d+)/);
next if ($oid2 !~ /^$oids_jitter_stats->{$key}\.$instance.(\d+)/);
push @{$instances}, $1;
$self->{datas}->{$tag_name}->{$key . '_' . $i} = $self->{results}->{$oid_rttMonJitterStatsEntry}->{$oid2};
$i++;