mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 00:34:46 +02:00
2009-02-04 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm: Use db_do instead of db_update. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1421 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
3a2aafd258
commit
b7efdb8358
@ -1,3 +1,7 @@
|
|||||||
|
2009-02-04 Ramon Novoa <rnovoa@artica.es>
|
||||||
|
|
||||||
|
* lib/PandoraFMS/DB.pm: Use db_do instead of db_update.
|
||||||
|
|
||||||
2000-02-03 Sancho Lerena <slerena@artica.es>
|
2000-02-03 Sancho Lerena <slerena@artica.es>
|
||||||
|
|
||||||
* pandora_db.pl: BUGFIX. DB Maintance was deleting data older than 24hr
|
* pandora_db.pl: BUGFIX. DB Maintance was deleting data older than 24hr
|
||||||
|
@ -2400,7 +2400,7 @@ sub update_on_error {
|
|||||||
|
|
||||||
# Modules who cannot connect or something go bad, update last_execution_try field
|
# Modules who cannot connect or something go bad, update last_execution_try field
|
||||||
logger ($pa_config, "Cannot obtain Module from IdAgentModule $id_agent_module", 3);
|
logger ($pa_config, "Cannot obtain Module from IdAgentModule $id_agent_module", 3);
|
||||||
db_update ("UPDATE tagente_estado
|
db_do ("UPDATE tagente_estado
|
||||||
SET current_interval = 300, last_execution_try = $utimestamp
|
SET current_interval = 300, last_execution_try = $utimestamp
|
||||||
WHERE id_agente_modulo = $id_agent_module", $dbh);
|
WHERE id_agente_modulo = $id_agent_module", $dbh);
|
||||||
;
|
;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user