+ fix cpu 3com

This commit is contained in:
garnier-quentin 2015-11-06 13:48:53 +01:00
parent 1ceded94be
commit af60854ad8
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ sub manage_selection {
my $results = $options{snmp}->get_table(oid => $oid_hwCpuEntry, nothing_quit => 1);
$self->{cpu} = {};
foreach my $oid (keys %{$results}) {
next if ($oid !~ /^$mapping->{hwMemSize}->{oid}\.(.*)/);
next if ($oid !~ /^$mapping->{hwCpuCostRatePer5Min}->{oid}\.(.*)/);
my $instance = $1;
my $result = $options{snmp}->map_instance(mapping => $mapping, results => $results, instance => $instance);