mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-23 22:05:41 +02:00
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:
commit
0aa16baf33
@ -5477,6 +5477,19 @@ class AgentWizard extends HTML
|
|||||||
*/
|
*/
|
||||||
private function getInterfacesModulesx64(array $data=[])
|
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 = '';
|
$moduleDescription = '';
|
||||||
$name = '';
|
$name = '';
|
||||||
$value = '1';
|
$value = '1';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user