mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
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
485d2d38fa
commit
33dfb15aff
@ -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>
|
2013-03-19 Ramon Novoa <rnovoa@artica.es>
|
||||||
|
|
||||||
* bin/pandora_server: Style fix.
|
* bin/pandora_server: Style fix.
|
||||||
|
@ -313,7 +313,7 @@ while (1) {
|
|||||||
# Update module status and fired alert counts
|
# 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)');
|
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) {
|
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) {
|
if ($agent->{'update_module_count'} == 1) {
|
||||||
pandora_update_agent_module_count ($DBH, $agent->{'id_agente'});
|
pandora_update_agent_module_count ($DBH, $agent->{'id_agente'});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user