From af60854ad81e25cff108ace8a4aa6ef223dbe680 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Fri, 6 Nov 2015 13:48:53 +0100 Subject: [PATCH] + fix cpu 3com --- network/3com/snmp/mode/cpu.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network/3com/snmp/mode/cpu.pm b/network/3com/snmp/mode/cpu.pm index 8804ac90b..1f38a6da6 100644 --- a/network/3com/snmp/mode/cpu.pm +++ b/network/3com/snmp/mode/cpu.pm @@ -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);