2014-06-17 Vanessa Gil <vanessa.gil@artica.es>

* lib/PandoraFMS/Core.pm: Fixed bug
	scheduling downtime.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10215 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
vgilc 2014-06-17 10:17:05 +00:00
parent a7dd8b6845
commit a7621b1712
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-06-17 Vanessa Gil <vanessa.gil@artica.es>
* lib/PandoraFMS/Core.pm: Fixed bug
scheduling downtime.
2014-06-17 Hirofumi Kosaka <kosaka@rworks.jp>
* lib/PandoraFMS/PluginServer.pm: Fixed to handle plugin's

View File

@ -1152,7 +1152,7 @@ sub pandora_process_module ($$$$$$$$$;$) {
$agent_status->{'datos'} = "";
}
my $save = ($module->{'history_data'} == 1 && ($agent_status->{'datos'} ne $processed_data || $last_try < ($utimestamp - 86400))) ? 1 : 0;
my $save = ($module->{'quiet'} == 0 && $module->{'history_data'} == 1 && ($agent_status->{'datos'} ne $processed_data || $last_try < ($utimestamp - 86400))) ? 1 : 0;
db_do ($dbh, 'UPDATE tagente_estado
SET datos = ?, estado = ?, last_status = ?, last_known_status = ?,