Save data for 'quiet' modules.
This commit is contained in:
parent
651fe51a2f
commit
a484683b76
|
@ -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 = ?,
|
||||
|
|
Loading…
Reference in New Issue