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:
parent
d214f29c9d
commit
8c07c49770
|
@ -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>
|
2013-03-19 Ramon Novoa <rnovoa@artica.es>
|
||||||
|
|
||||||
* lib/PandoraFMS/Core.pm,
|
* lib/PandoraFMS/Core.pm,
|
||||||
|
|
|
@ -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'}, 1);
|
||||||
|
|
||||||
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…
Reference in New Issue