2012-10-23 Dario Rodriguez <dario.rodriguez@artica.es>
* util/recon_scripts/snmpdevices.pl: Fixed an error in snmpdevices.pl which has a double safe_input. MERGED FROM 4.0.2 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7081 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
7af1746c77
commit
6d086d11f4
|
@ -1,3 +1,10 @@
|
|||
2012-10-23 Dario Rodriguez <dario.rodriguez@artica.es>
|
||||
|
||||
* util/recon_scripts/snmpdevices.pl: Fixed an error in snmpdevices.pl
|
||||
which has a double safe_input.
|
||||
|
||||
MERGED FROM 4.0.2
|
||||
|
||||
2012-10-10 Junichi Satoh <junichi@rworks.jp>
|
||||
|
||||
* lib/PandoraFMS/Core.pm: Fixed bug: periodic (monthly and weekly)
|
||||
|
|
|
@ -107,8 +107,9 @@ sub process_module_snmp ($$$$$$$$$){
|
|||
# id_modulo = 2 for snmp modules
|
||||
$parameters{'id_modulo'} = 2;
|
||||
|
||||
my $module_id = get_agent_module_id($dbh, $parameters{'nombre'}, $parameters{'id_agente'});
|
||||
|
||||
#get_agent_module_id uses safe_input for module name so don't pass this variable using safe input!!!
|
||||
my $module_id = get_agent_module_id($dbh, $module_name, $parameters{'id_agente'});
|
||||
|
||||
if($module_id == -1) {
|
||||
pandora_create_module_from_hash ($conf, \%parameters, $dbh);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue