From 2fdf0e435baddfe89b1a94deb0b30c9917a6e0d8 Mon Sep 17 00:00:00 2001 From: slerena Date: Mon, 23 Jun 2008 14:36:22 +0000 Subject: [PATCH] 2008-06-23 Sancho Lerena * pandoradb.sql: Removed table "tquicksession". Not ever used. * pandoradb_data.sql: Updated Scheme build. * agent_manager.php: Removed a debug "echo". * db_sanity.php: Added feature to delete id_module 0 modules. * 3.png: Added image for AIX in network maps. * functions_db.php: Fixed a div0 in return_moduledata_avg_value(). Added server_status() that calculate modules for each server kind, and return a consistent LAG calculation. * menu.php: Better Server view menu visualization. * estado_ultimopaquete.php: Don't show disabled modules anymore. * vier_server.php, tactical.php: Removed old server status code, and used server_status() function to get all data. * graph_viewer.php: Added ACL checks for each graph element. * fgraph.php: Negative values are now rendered in single graphs. * pandoradb*.sql (1.3 to 2.0, and 1.3 to 2.0): Deleted, not working. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@894 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 32 +++- .../godmode/agentes/agent_manager.php | 1 - pandora_console/godmode/db/db_sanity.php | 3 + pandora_console/images/networkmap/3.png | Bin 0 -> 1983 bytes pandora_console/include/config.php | 6 +- pandora_console/include/functions_db.php | 72 +++++++- .../agentes/estado_ultimopaquete.php | 2 +- .../operation/agentes/networkmap.php | 1 - .../operation/agentes/tactical.php | 158 ++++-------------- pandora_console/operation/menu.php | 2 +- .../operation/reporting/graph_viewer.php | 15 +- .../operation/servers/view_server.php | 156 ++++------------- pandora_console/pandoradb.sql | 9 - pandora_console/pandoradb_13_to_20.sql | 106 ------------ pandora_console/pandoradb_data.sql | 2 +- pandora_console/pandoradbdata_13_to_14.sql | 12 -- pandora_console/pandoradbdata_13_to_20.sql | 119 ------------- pandora_console/reporting/fgraph.php | 70 ++++---- 18 files changed, 219 insertions(+), 547 deletions(-) create mode 100644 pandora_console/images/networkmap/3.png delete mode 100644 pandora_console/pandoradb_13_to_20.sql delete mode 100644 pandora_console/pandoradbdata_13_to_14.sql delete mode 100644 pandora_console/pandoradbdata_13_to_20.sql diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 12370f1368..4f0eaf1332 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,4 +1,34 @@ -2008-06-20 Esteban Sanchez + + +2008-06-23 Sancho Lerena + + * pandoradb.sql: Removed table "tquicksession". Not ever used. + + * pandoradb_data.sql: Updated Scheme build. + + * agent_manager.php: Removed a debug "echo". + + * db_sanity.php: Added feature to delete id_module 0 modules. + + * 3.png: Added image for AIX in network maps. + + * functions_db.php: Fixed a div0 in return_moduledata_avg_value(). + Added server_status() that calculate modules for each server kind, + and return a consistent LAG calculation. + + * menu.php: Better Server view menu visualization. + + * estado_ultimopaquete.php: Don't show disabled modules anymore. + + * vier_server.php, + tactical.php: Removed old server status code, and used server_status() + function to get all data. + + * graph_viewer.php: Added ACL checks for each graph element. + + * fgraph.php: Negative values are now rendered in single graphs. + +2008-06-23 Esteban Sanchez * functions_db.php: Fixed get_agents_in_group() to handle "All" group properly and make it capable to get disabled agents or not. Style diff --git a/pandora_console/godmode/agentes/agent_manager.php b/pandora_console/godmode/agentes/agent_manager.php index ff41019161..64113e71ca 100644 --- a/pandora_console/godmode/agentes/agent_manager.php +++ b/pandora_console/godmode/agentes/agent_manager.php @@ -160,7 +160,6 @@ echo ''; echo '