diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index 0788078db6..ab12d591da 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,8 @@ +2012-03-24 Junichi Satoh + + * lib/PandoraFMS/Core.pm: Fixed pandora_server process down with + version 8.3 or later of PostgreSQL. + 2012-03-20 Miguel de Dios * util/pandora_db.pl: added lines to purge the contents in the report that diff --git a/pandora_server/lib/PandoraFMS/Core.pm b/pandora_server/lib/PandoraFMS/Core.pm index e5d814d10a..5d9cea75e1 100644 --- a/pandora_server/lib/PandoraFMS/Core.pm +++ b/pandora_server/lib/PandoraFMS/Core.pm @@ -1642,7 +1642,7 @@ sub pandora_module_keep_alive_nd { AND tagente.disabled = 0 AND tagente_modulo.id_tipo_modulo = 100 AND tagente_modulo.disabled = 0 - AND (' . db_text ('tagente_estado.datos') . ' = 1 OR ' . db_text ('tagente_estado.datos') . '= \'\') + AND (' . db_text ('tagente_estado.datos') . ' = \'1.00\' OR ' . db_text ('tagente_estado.datos') . '= \'\') AND tagente_modulo.id_agente_modulo = tagente_estado.id_agente_modulo AND ( tagente_estado.utimestamp + (tagente.intervalo * 2) < UNIX_TIMESTAMP())');