2011-11-22 Juan Manuel Ramon <juanmanuel.ramon@artica.es>

* lib/PandoraFMS/Core.pm: Fixed a problem with keepalive module 
	(never goes down).
	
	Fixed: #3438849 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5149 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
juanmanuelr 2011-11-22 11:46:19 +00:00
parent f01c611520
commit f8c8dd1072
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2011-11-22 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* lib/PandoraFMS/Core.pm: Fixed a problem with keepalive module
(never goes down).
Fixed: #3438849
2011-11-21 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* lib/PandoraFMS/Core.pm: Changed tag field in events insertion from

View File

@ -1576,7 +1576,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 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())');