From 87cad661eec02c9c7a0aca198e0950a6bee2bb55 Mon Sep 17 00:00:00 2001 From: darode Date: Fri, 10 Feb 2012 10:01:14 +0000 Subject: [PATCH] 2012-02-10 Dario Rodriguez * include/functions_modules.php: Changed module status image for unknown status to gray. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5547 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/include/functions_modules.php | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index f773cbb45b..cf90418dee 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2012-02-10 Dario Rodriguez + + * include/functions_modules.php: Changed module status image for unknown + status to gray. + 2012-02-09 Juan Manuel Ramon * operation/events/events_list.php: Added colors in name and group diff --git a/pandora_console/include/functions_modules.php b/pandora_console/include/functions_modules.php index 2e7e80f9fa..58ac0b7031 100644 --- a/pandora_console/include/functions_modules.php +++ b/pandora_console/include/functions_modules.php @@ -1193,15 +1193,15 @@ function modules_get_status($id_agent_module, $db_status, $data, &$status, &$tit $last_status = modules_get_agentmodule_last_status($id_agent_module); switch($last_status) { case 0: - $status = STATUS_MODULE_OK; + $status = STATUS_AGENT_DOWN; $title = __('UNKNOWN')." - ".__('Last status')." ".__('NORMAL'); break; case 1: - $status = STATUS_MODULE_CRITICAL; + $status = STATUS_AGENT_DOWN; $title = __('UNKNOWN')." - ".__('Last status')." ".__('CRITICAL'); break; case 2: - $status = STATUS_MODULE_WARNING; + $status = STATUS_AGENT_DOWN; $title = __('UNKNOWN')." - ".__('Last status')." ".__('WARNING'); break; }