Set entPhysicalIndex for comware processors (#7878)

This commit is contained in:
Tony Murray
2017-12-09 17:37:29 +00:00
committed by Neil Lathwood
co-authored by Neil Lathwood
parent 2c919a48ff
commit ef668f4270
@@ -22,7 +22,7 @@ if ($device['os'] == 'comware') {
$cur_oid = ".1.3.6.1.4.1.25506.2.6.1.1.1.1.6.$entity";
$cur_value = $procdata[$entity]['hh3cEntityExtCpuUsage'];
$descr = $value['entPhysicalName'];
discover_processor($valid['processor'], $device, $cur_oid, $entity, 'comware', $descr, '1', $cur_value);
discover_processor($valid['processor'], $device, $cur_oid, $entity, 'comware', $descr, '1', $cur_value, $entity);
}
}
}