2013-02-04 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Core.pm: Fix a broken query of my last commit git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7576 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
37c1a95c63
commit
d2eb095526
|
@ -1,3 +1,8 @@
|
||||||
|
2013-02-04 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
|
* lib/PandoraFMS/Core.pm: Fix a broken query of my last
|
||||||
|
commit
|
||||||
|
|
||||||
2013-02-04 Sergio Martin <sergio.martin@artica.es>
|
2013-02-04 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
* lib/PandoraFMS/Core.pm: Set the last_known_status when
|
* lib/PandoraFMS/Core.pm: Set the last_known_status when
|
||||||
|
|
|
@ -1039,7 +1039,7 @@ sub pandora_process_module ($$$$$$$$$;$) {
|
||||||
my $save = ($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
|
db_do ($dbh, 'UPDATE tagente_estado
|
||||||
SET datos = ?, estado = ?, last_status = ?, last_known_status = ?
|
SET datos = ?, estado = ?, last_status = ?, last_known_status = ?,
|
||||||
status_changes = ?, utimestamp = ?, timestamp = ?,
|
status_changes = ?, utimestamp = ?, timestamp = ?,
|
||||||
id_agente = ?, current_interval = ?, running_by = ?,
|
id_agente = ?, current_interval = ?, running_by = ?,
|
||||||
last_execution_try = ?, last_try = ?
|
last_execution_try = ?, last_try = ?
|
||||||
|
|
Loading…
Reference in New Issue