2014-03-13 Vanessa Gil <vanessa.gil@artica.es>
* lib/PandoraFMS/Core.pm util/pandora_dbstress.pl: Fixed bug executing pandora_dbstress. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9573 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
8ef7532162
commit
d5a7befa29
|
@ -1,3 +1,9 @@
|
|||
2014-03-13 Vanessa Gil <vanessa.gil@artica.es>
|
||||
|
||||
* lib/PandoraFMS/Core.pm
|
||||
util/pandora_dbstress.pl: Fixed bug executing
|
||||
pandora_dbstress.
|
||||
|
||||
2014-03-05 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* lib/PandoraFMS/Core.pm: Add action recovery fields to the
|
||||
|
|
|
@ -4043,7 +4043,8 @@ Get a list of module tags in the format: |tag|tag| ... |tag|
|
|||
sub pandora_get_module_tags ($$$) {
|
||||
my ($pa_config, $dbh, $id_agentmodule) = @_;
|
||||
|
||||
my @tags = get_db_rows ($dbh, 'SELECT ' . db_concat('ttag.name', 'ttag.url') . ' name_url FROM ttag, ttag_module
|
||||
#~ my @tags = get_db_rows ($dbh, 'SELECT ' . db_concat('ttag.name', 'ttag.url') . ' name_url FROM ttag, ttag_module
|
||||
my @tags = get_db_rows ($dbh, 'SELECT ttag.name,ttag.url name_url FROM ttag, ttag_module
|
||||
WHERE ttag.id_tag = ttag_module.id_tag
|
||||
AND ttag_module.id_agente_modulo = ?', $id_agentmodule);
|
||||
|
||||
|
|
|
@ -130,7 +130,7 @@ sub process_module($$$$$){
|
|||
|
||||
my $iterations = ($target_days * 24 * 60 * 60) / $target_interval;
|
||||
|
||||
print " [D] ID_AgenteMoludo $id_agentemodulo Interval $target_interval ModuleName $target_name Days $target_days Agent $agent->{'nombre'} \n";
|
||||
print " [D] ID_AgenteModulo $id_agentemodulo Interval $target_interval ModuleName $target_name Days $target_days Agent $agent->{'nombre'} \n";
|
||||
|
||||
my $modules_processed=0;
|
||||
my $modules_processed_total=0;
|
||||
|
|
Loading…
Reference in New Issue