2013-03-19 Ramon Novoa <rnovoa@artica.es>

* bin/pandora_server: Style fix.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7867 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
ramonn 2013-03-19 18:12:53 +00:00
parent d214f29c9d
commit 8c07c49770
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2013-03-19 Ramon Novoa <rnovoa@artica.es>
* bin/pandora_server: Style fix.
2013-03-19 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm,

View File

@ -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'}, 1);
if ($agent->{'update_module_count'} == 1) {
pandora_update_agent_module_count ($DBH, $agent->{'id_agente'});