From 8005a2021f48cb440107c936ff2962da8d011d9f Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Fri, 23 Sep 2011 10:35:30 +0000 Subject: [PATCH] 2011-09-23 Miguel de Dios * operation/agentes/status_monitor.php: fixed the query for to don't show the "not_init" modules. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4989 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/operation/agentes/status_monitor.php | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index e0ea64c55a..5c9ca37455 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2011-09-23 Miguel de Dios + + * operation/agentes/status_monitor.php: fixed the query for to don't show + the "not_init" modules. + 2011-09-23 Tomas Palacios * include/languages: Updated language files. diff --git a/pandora_console/operation/agentes/status_monitor.php b/pandora_console/operation/agentes/status_monitor.php index e9b4c61118..2959417db6 100644 --- a/pandora_console/operation/agentes/status_monitor.php +++ b/pandora_console/operation/agentes/status_monitor.php @@ -239,7 +239,7 @@ elseif ($status == 4) { //Not normal $sql .= " AND tagente_estado.estado <> 0"; } elseif ($status == 3) { //Unknown - $sql .= " AND tagente_estado.estado = 3"; + $sql .= " AND tagente_estado.estado = 3 AND tagente_estado.utimestamp <> 0"; } elseif ($status == 5) { //Not init $sql .= " AND tagente_estado.utimestamp = 0 AND tagente_modulo.id_tipo_modulo NOT IN (21,22,23,100)";