mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Renamed interface modules to match those created by the SNMP Wizard.
This commit is contained in:
parent
453496db7f
commit
e10b5e2522
@ -736,7 +736,7 @@ sub create_pandora_agent($) {
|
|||||||
# Interface status module.
|
# Interface status module.
|
||||||
my %module = ('id_tipo_modulo' => 18,
|
my %module = ('id_tipo_modulo' => 18,
|
||||||
'id_modulo' => 2,
|
'id_modulo' => 2,
|
||||||
'nombre' => "if_${if_name}",
|
'nombre' => "ifOperStatus_${if_name}",
|
||||||
'descripcion' => $if_desc,
|
'descripcion' => $if_desc,
|
||||||
'id_agente' => $agent_id,
|
'id_agente' => $agent_id,
|
||||||
'ip_target' => $device,
|
'ip_target' => $device,
|
||||||
@ -748,7 +748,7 @@ sub create_pandora_agent($) {
|
|||||||
# Incoming traffic module.
|
# Incoming traffic module.
|
||||||
%module = ('id_tipo_modulo' => 16,
|
%module = ('id_tipo_modulo' => 16,
|
||||||
'id_modulo' => 2,
|
'id_modulo' => 2,
|
||||||
'nombre' => "if_${if_name}_in",
|
'nombre' => "ifInOctets_${if_name}",
|
||||||
'descripcion' => 'The total number of octets received on the interface, including framing characters.',
|
'descripcion' => 'The total number of octets received on the interface, including framing characters.',
|
||||||
'id_agente' => $agent_id,
|
'id_agente' => $agent_id,
|
||||||
'ip_target' => $device,
|
'ip_target' => $device,
|
||||||
@ -760,7 +760,7 @@ sub create_pandora_agent($) {
|
|||||||
# Outgoing traffic module.
|
# Outgoing traffic module.
|
||||||
%module = ('id_tipo_modulo' => 16,
|
%module = ('id_tipo_modulo' => 16,
|
||||||
'id_modulo' => 2,
|
'id_modulo' => 2,
|
||||||
'nombre' => "if_${if_name}_out",
|
'nombre' => "ifOutOctets_${if_name}",
|
||||||
'descripcion' => 'The total number of octets received on the interface, including framing characters.',
|
'descripcion' => 'The total number of octets received on the interface, including framing characters.',
|
||||||
'id_agente' => $agent_id,
|
'id_agente' => $agent_id,
|
||||||
'ip_target' => $device,
|
'ip_target' => $device,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user