diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index 95ac621390..9e2b537ce4 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,8 @@ +2014-06-17 Vanessa Gil + + * lib/PandoraFMS/Core.pm: Fixed bug + scheduling downtime. + 2014-06-17 Hirofumi Kosaka * lib/PandoraFMS/PluginServer.pm: Fixed to handle plugin's diff --git a/pandora_server/lib/PandoraFMS/Core.pm b/pandora_server/lib/PandoraFMS/Core.pm index 0b6558b107..39e60c15ae 100644 --- a/pandora_server/lib/PandoraFMS/Core.pm +++ b/pandora_server/lib/PandoraFMS/Core.pm @@ -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 = ?,