diff --git a/pandora_console/include/class/AgentWizard.class.php b/pandora_console/include/class/AgentWizard.class.php index 7c5a827b51..2b5af50099 100644 --- a/pandora_console/include/class/AgentWizard.class.php +++ b/pandora_console/include/class/AgentWizard.class.php @@ -5476,6 +5476,19 @@ class AgentWizard extends HTML */ private function getInterfacesModulesx64(array $data=[]) { + $equivalencies_x86 = [ + 'ifHCInOctets' => 'ifInOctets', + 'ifHCOutOctets' => 'ifOutOctets', + 'ifHCInUcastPkts' => 'ifInUcastPkts', + 'ifHCOutUcastPkts' => 'ifOutUcastPkts', + 'ifHCInNUcastPkts' => 'ifInNUcastPkts', + 'ifHCOutNUcastPkts' => 'ifOutNUcastPkts', + ]; + + foreach ($equivalencies_x86 as $key => $equivalencie) { + $this->defaultSNMPValues[$key] = $this->defaultSNMPValues[$equivalencie]; + } + $moduleDescription = ''; $name = ''; $value = '1';