Merge branch 'ent-10171-14838-tokens-snmp-de-interfaz-en-performance-no-se-activan-por-defecto-en-snmp-interfaces' into 'develop'

Ent 10171 14838 tokens snmp de interfaz en performance no se activan por defecto en snmp interfaces

See merge request artica/pandorafms!5437
This commit is contained in:
Diego Muñoz-Reja 2023-01-31 14:48:25 +00:00
commit 0aa16baf33
1 changed files with 13 additions and 0 deletions

View File

@ -5477,6 +5477,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';