diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 3b33218e19..4fc203fce2 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,7 @@ +2010-03-19 Eric Ross + * operation/agentes/estado_ultimopaquete.php: Fixing color to show WARN messages in orange + * operation/agentes/stat_win.php: Now when showing a log4x chart, we don't show the max/min/avg information + 2010-03-19 Eric Ross * include/config_process.php: Fixing warning when no timezone is defined for the user diff --git a/pandora_console/operation/agentes/estado_ultimopaquete.php b/pandora_console/operation/agentes/estado_ultimopaquete.php index 8bd3cb3024..094bfcda30 100644 --- a/pandora_console/operation/agentes/estado_ultimopaquete.php +++ b/pandora_console/operation/agentes/estado_ultimopaquete.php @@ -160,7 +160,7 @@ foreach ($modules as $module) { case 10: echo "TRACE"; break; case 20: echo "DEBUG"; break; case 30: echo "INFO"; break; - case 40: echo "WARN"; break; + case 40: echo "WARN"; break; case 50: echo "ERROR"; break; case 60: echo "FATAL"; break; } diff --git a/pandora_console/operation/agentes/stat_win.php b/pandora_console/operation/agentes/stat_win.php index 82ce1cdc23..3e671ab885 100644 --- a/pandora_console/operation/agentes/stat_win.php +++ b/pandora_console/operation/agentes/stat_win.php @@ -165,11 +165,13 @@ else { print_image ($image, false, array ("border" => 0)); } -echo ''; -echo '
'.__('Max. Value').': '.format_for_graph (get_agentmodule_data_max ($id, $period)); -echo ''.__('Avg. Value').': '.format_for_graph (get_agentmodule_data_average ($id, $period)); -echo ''.__('Min. Value').': '.format_for_graph (get_agentmodule_data_min ($id, $period)); -echo '
'; +if ($graph_type != "log4x") { + echo ''; + echo '
'.__('Max. Value').': '.format_for_graph (get_agentmodule_data_max ($id, $period)); + echo ''.__('Avg. Value').': '.format_for_graph (get_agentmodule_data_average ($id, $period)); + echo ''.__('Min. Value').': '.format_for_graph (get_agentmodule_data_min ($id, $period)); + echo '
'; +} //z-index is 1 because 2 made the calendar show under the divmenu. echo '