2011-09-28 Dario Rodriguez <dario.rodriguez@artica.es>
* util/recon_scripts/snmpdevices.pl: Fixed a bug which creates duplicated modules when running the script. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5016 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
20741b2cd3
commit
6663e03dc1
|
@ -1,3 +1,8 @@
|
||||||
|
2011-09-28 Dario Rodriguez <dario.rodriguez@artica.es>
|
||||||
|
|
||||||
|
* util/recon_scripts/snmpdevices.pl: Fixed a bug which creates duplicated
|
||||||
|
modules when running the script.
|
||||||
|
|
||||||
2011-09-27 Dario Rodriguez <dario.rodriguez@artica.es>
|
2011-09-27 Dario Rodriguez <dario.rodriguez@artica.es>
|
||||||
|
|
||||||
* util/pandora_manage.pl: Changed way to create and event now is possible
|
* util/pandora_manage.pl: Changed way to create and event now is possible
|
||||||
|
|
|
@ -107,7 +107,7 @@ sub process_module_snmp ($$$$$$$$$){
|
||||||
# id_modulo = 2 for snmp modules
|
# id_modulo = 2 for snmp modules
|
||||||
$parameters{'id_modulo'} = 2;
|
$parameters{'id_modulo'} = 2;
|
||||||
|
|
||||||
my $module_id = get_agent_module_id($dbh, $module_name, $parameters{'id_agente'});
|
my $module_id = get_agent_module_id($dbh, $parameters{'nombre'}, $parameters{'id_agente'});
|
||||||
|
|
||||||
if($module_id == -1) {
|
if($module_id == -1) {
|
||||||
pandora_create_module_from_hash ($conf, \%parameters, $dbh);
|
pandora_create_module_from_hash ($conf, \%parameters, $dbh);
|
||||||
|
|
Loading…
Reference in New Issue