From cff9f8bc992f8b5b10860c7d87448d1e85353f64 Mon Sep 17 00:00:00 2001 From: Ramon Novoa Date: Fri, 19 Sep 2014 12:23:55 +0200 Subject: [PATCH] Renamed interface modules to match those created by the SNMP Wizard. --- pandora_server/util/recon_scripts/snmp-recon.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pandora_server/util/recon_scripts/snmp-recon.pl b/pandora_server/util/recon_scripts/snmp-recon.pl index 02226f59e8..b19488fce5 100755 --- a/pandora_server/util/recon_scripts/snmp-recon.pl +++ b/pandora_server/util/recon_scripts/snmp-recon.pl @@ -736,7 +736,7 @@ sub create_pandora_agent($) { # Interface status module. my %module = ('id_tipo_modulo' => 18, 'id_modulo' => 2, - 'nombre' => "if_${if_name}", + 'nombre' => "ifOperStatus_${if_name}", 'descripcion' => $if_desc, 'id_agente' => $agent_id, 'ip_target' => $device, @@ -748,7 +748,7 @@ sub create_pandora_agent($) { # Incoming traffic module. %module = ('id_tipo_modulo' => 16, '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.', 'id_agente' => $agent_id, 'ip_target' => $device, @@ -760,7 +760,7 @@ sub create_pandora_agent($) { # Outgoing traffic module. %module = ('id_tipo_modulo' => 16, '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.', 'id_agente' => $agent_id, 'ip_target' => $device,