2013-03-19 Ramon Novoa <rnovoa@artica.es>
* bin/pandora_server: Moved a log message to verbosity 10. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7869 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
8fbb6963dd
commit
8a0d5529c8
|
@ -1,3 +1,7 @@
|
|||
2013-03-19 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* bin/pandora_server: Moved a log message to verbosity 10.
|
||||
|
||||
2013-03-19 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* bin/pandora_server: Style fix.
|
||||
|
|
|
@ -313,7 +313,7 @@ while (1) {
|
|||
# Update module status and fired alert counts
|
||||
my @agents = get_db_rows ($DBH, 'SELECT id_agente, nombre, update_module_count, update_alert_count FROM tagente WHERE disabled = 0 AND (update_module_count=1 OR update_alert_count=1)');
|
||||
foreach my $agent (@agents) {
|
||||
print_message (\%Config, " [*] Updating module status and alert fired counts for agent " . $agent->{'nombre'}, 1);
|
||||
print_message (\%Config, " [*] Updating module status and alert fired counts for agent " . $agent->{'nombre'}, 10);
|
||||
|
||||
if ($agent->{'update_module_count'} == 1) {
|
||||
pandora_update_agent_module_count ($DBH, $agent->{'id_agente'});
|
||||
|
|
Loading…
Reference in New Issue