From d057c038e770330cd2bc2baa4ad20766776c1cd1 Mon Sep 17 00:00:00 2001 From: darode Date: Fri, 10 Feb 2012 10:52:45 +0000 Subject: [PATCH] 2012-02-10 Dario Rodriguez * include/functions_groups.php: Added links to different sections with the suitable filters. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5552 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 ++++ pandora_console/include/functions_groups.php | 24 ++++++++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index d86f1dc660..1311e88c62 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2012-02-10 Dario Rodriguez + + * include/functions_groups.php: Added links to different sections with + the suitable filters. + 2012-02-10 Vanessa Gil * pandoradb.sql: Removed default value of 'value' field to tconfig table. diff --git a/pandora_console/include/functions_groups.php b/pandora_console/include/functions_groups.php index 80ab2ee92d..1923a20175 100644 --- a/pandora_console/include/functions_groups.php +++ b/pandora_console/include/functions_groups.php @@ -669,12 +669,18 @@ function groups_get_group_row($id_group, $group_all, $group, &$printed_groups) { // Total agents echo ""; if ($data["total_agents"] > 0) + echo ""; echo $data["total_agents"]; + echo ""; // Agents unknown if ($data["agents_unknown"] > 0) { echo ""; + echo ""; echo $data["agents_unknown"]; + echo ""; echo ""; } else { @@ -684,7 +690,10 @@ function groups_get_group_row($id_group, $group_all, $group, &$printed_groups) { // Monitors Unknown if ($data["monitor_unknown"] > 0){ echo ""; + echo ""; echo $data["monitor_unknown"]; + echo ""; echo ""; } else { @@ -695,7 +704,10 @@ function groups_get_group_row($id_group, $group_all, $group, &$printed_groups) { // Monitors Not Init if ($data["monitor_not_init"] > 0){ echo ""; + echo ""; echo $data["monitor_not_init"]; + echo ""; echo ""; } else { @@ -706,7 +718,10 @@ function groups_get_group_row($id_group, $group_all, $group, &$printed_groups) { // Monitors OK echo ""; if ($data["monitor_ok"] > 0) { + echo ""; echo $data["monitor_ok"]; + echo ""; } else { echo " "; @@ -716,7 +731,10 @@ function groups_get_group_row($id_group, $group_all, $group, &$printed_groups) { // Monitors Warning if ($data["monitor_warning"] > 0){ echo ""; + echo ""; echo $data["monitor_warning"]; + echo ""; echo ""; } else { @@ -726,7 +744,10 @@ function groups_get_group_row($id_group, $group_all, $group, &$printed_groups) { // Monitors Critical if ($data["monitor_critical"] > 0){ echo ""; + echo ""; echo $data["monitor_critical"]; + echo ""; echo ""; } else { @@ -735,7 +756,10 @@ function groups_get_group_row($id_group, $group_all, $group, &$printed_groups) { // Alerts fired if ($data["monitor_alerts_fired"] > 0){ echo ""; + echo ""; echo $data["monitor_alerts_fired"]; + echo ""; echo ""; } else {