Save data for 'quiet' modules.

This commit is contained in:
Ramon Novoa 2015-09-15 15:26:28 +02:00
parent 651fe51a2f
commit a484683b76
1 changed files with 1 additions and 1 deletions

View File

@ -1264,7 +1264,7 @@ sub pandora_process_module ($$$$$$$$$;$) {
$agent_status->{'datos'} = "";
}
my $save = ($module->{'quiet'} == 0 && $module->{'history_data'} == 1 && ($agent_status->{'datos'} ne $processed_data || $last_try < ($utimestamp - 86400))) ? 1 : 0;
my $save = ($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 = ?,