Commit Graph

140 Commits

Author SHA1 Message Date
javilanz e4217ce9d8 2011-02-09 Javier Lanz <javier.lanz@artica.es>
* include/functions_reportings.php: Added functionality to show only
	wrong modules
	* pandoradb.sql: Added column 'only_display_wrong" to treports_content
	* operation/agentes/estado_agente.php: Truncated agent name to 25 chars
	* extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added column
	'only_display_wrong" to treports_content
	* godmode/reporting/reporting_builder.php: Added functionality to show
	only wrong modules
	* godmode/reporting/reporting_builder.item_editor.php: Added functionality
	to show only wrong modules


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3814 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-09 12:57:00 +00:00
juanmanuelr 5c59fa4ae0 2011-02-03 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
*     include/functions_menu.php
	      include/functions_html.php
	      include/functions_modules.php
	      include/functions_reporting.php
	      include/functions_filemanager.php
	      include/functions_gis.php
	      include/functions_networkmap.php
	      include/functions_visual_map.php
	      include/help/en/help_gis_map_builder.php
	      include/help/en/help_agent_status.php
	      include/help/en/help_eventview.php
	      include/help/en/help_configure_gis_map.php
	      include/help/en/help_cascade_protection.php
	      include/help/en/help_setup_gis_index.php
	      include/help/es/help_gis_map_builder.php
	      include/help/es/help_agent_status.php
	      include/help/es/help_eventview.php
	      include/help/es/help_configure_gis_map.php
	      include/help/es/help_cascade_protection.php
	      include/help/es/modu_group_list.php
	      include/help/ja/help_gis_map_builder.php
	      include/help/ja/help_agent_status.php
	      include/help/ja/help_eventview.php
	      include/help/ja/help_configure_gis_map.php
	      include/help/ja/help_cascade_protection.php
	      include/help/ja/help_setup_gis_index.php
	      include/functions.php
	      include/functions_db.php
	      include/functions_fsgraph.php
	      operation/incidents/incident_detail.php
	      operation/agentes/status_monitor.php
	      operation/agentes/estado_ultimopaquete.php
	      operation/agentes/alerts_status.php
	      operation/agentes/estado_generalagente.php
	      operation/agentes/estado_agente.php
	      operation/agentes/estado_monitores.php
	      operation/agentes/ver_agente.php
	      operation/agentes/group_view.php
	      operation/servers/view_server_detail.php
	      operation/snmpconsole/snmp_view.php
	      operation/users/user_edit.php
	      operation/gis_maps/render_view.php
	      operation/events/sound_events.php
	      operation/search_alerts.php
	      operation/reporting/reporting_viewer.php
	      operation/reporting/custom_reporting.php
	      operation/search_reports.php
	      operation/search_users.php
	      general/pandora_help.php
	      general/noaccess.php
	      general/ui/agents_list.php
	      general/header.php
	      godmode/groups/modu_group_list.php
	      godmode/groups/configure_group.php
	      godmode/groups/group_list.php
	      godmode/extensions.php
	      godmode/db/db_sanity.php
	      godmode/db/db_info.php
	      godmode/agentes/agent_template.php
	      godmode/agentes/module_manager_editor_common.php
	      godmode/agentes/module_manager_editor_network.php
	      godmode/agentes/fields_manager.php
	      godmode/agentes/module_manager.php
	      godmode/agentes/modificar_agente.php
	      godmode/agentes/planned_downtime.php
	      godmode/agentes/agent_manager.php
	      godmode/servers/recon_script.php
	      godmode/servers/plugin.php
	      godmode/servers/manage_recontask.php
	      godmode/alerts/alert_list.list.php
	      godmode/alerts/configure_alert_compound.php
	      godmode/alerts/alert_compounds.php
	      godmode/alerts/alert_actions.php
	      godmode/alerts/alert_list.builder.php
	      godmode/alerts/alert_commands.php
	      godmode/snmpconsole/snmp_alert.php
	      godmode/snmpconsole/snmp_filters.php
	      godmode/setup/os.list.php
	      godmode/setup/news.php
	      godmode/setup/links.php
	      godmode/setup/setup.php
	      godmode/users/user_list.php
	      godmode/gis_maps/configure_gis_map.php
	      godmode/massive/massive_add_alerts.php
	      godmode/massive/massive_delete_agents.php
	      godmode/massive/massive_enable_disable_alerts.php
	      godmode/massive/massive_delete_profiles.php
	      godmode/massive/massive_edit_agents.php
	      godmode/massive/massive_delete_action_alerts.php
	      godmode/massive/massive_delete_modules.php
	      godmode/massive/massive_add_profiles.php
	      godmode/massive/massive_delete_alerts.php
	      godmode/massive/massive_edit_modules.php
	      godmode/massive/massive_standby_alerts.php
	      godmode/massive/massive_add_action_alerts.php
	      godmode/modules/module_list.php
	      godmode/modules/manage_network_templates_form.php
	      godmode/reporting/reporting_builder.list_items.php
	      godmode/reporting/reporting_builder.preview.php
	      godmode/reporting/visual_console_builder.elements.php
	      godmode/reporting/graph_builder.graph_editor.php
	      godmode/reporting/reporting_builder.item_editor.php
	      godmode/reporting/graphs.php: Changed the way of print images from "<src=.." 
	html tag to print_image function.

	* include/functions_ui.php
	  mobile/operation/agents/view_agents.php: print_group_icon2 function renamed to print_group_icon_with_path




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3800 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-04 13:30:50 +00:00
mdtrooper 84d63139d0 2010-12-22 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: cleaned source code style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3692 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-22 21:07:56 +00:00
Ramon Novoa c8d215b5ea 2010-12-22 Ramon Novoa <rnovoa@artica.es>
* include/functions_reporting.php,
	  operation/reporting/reporting_xml.php: Draw baseline reports
	  in the future by default.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3687 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-22 17:51:28 +00:00
mdtrooper a4021ab17c 2010-12-21 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php, include/fgraph.php,
	include/functions_db.php, images/image_problem.opaque.png: fixed the bug
	because this bug was two things the access to graph with not login in the
	same machine to generate, and the transparent png that not crash with the
	pdf library.
	
	Fixes: #3139079



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3674 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-21 19:12:51 +00:00
zarzuelo d4325770be 2010-11-10 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php
	include/functions.php
	operation/reporting/reporting_xml.php
	godmode/reporting/reporting_builder.item_editor.php: Added the
	simple baseline graph to the html and xml report exports



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3563 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-10 11:17:29 +00:00
mdtrooper 8218a884a4 2010-11-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: fixed warning in foreach loop.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3527 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-04 18:18:58 +00:00
Ramon Novoa b7ac5bae65 2010-11-03 Ramon Novoa <rnovoa@artica.es>
* include/functions_reporting.php: Order results before calculating
	  the SLA.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3503 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-03 13:35:39 +00:00
zarzuelo e846299ce7 2010-11-03 Sergio Martin <sergio.martin@artica.es>
*  include/functions_modules.php
	include/functions_reporting.php
	include/functions.php
	include/functions_db.php
	operation/agentes/ver_agente.php
	godmode/massive/massive_delete_modules.php: Fixed 
	several html entities codifications with safe_input/safe_output



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3502 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-03 12:18:33 +00:00
slerena d57418949d 2010-10-16 Sancho Lerena <slerena@artica.es>
* pandoradb_migrate_v3.1_to_v3.2.sql: Variable for SQL custom reports has
    more size now (custom SQL reports could be huge SQL sentences).

    * godmode/reporting/reporting_builder.php, 
    godmode/reporting/reporting_builder.item_editor.php: Added suppor for the 
    new SQL graph reports (vbar, hbar and pie).

    * include/fgraph.php: Support for new SQL graphs, with new function 
    graph_custom_sql_graph().

    * include/functions_reporting.php:  Support for new SQL graphs.

    * operation/reporting/reporting_xml.php: Fixed some problems and added
    support for graphs using session_id.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3413 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-16 10:47:21 +00:00
slerena 47aed1bfc1 2010-10-11 Sancho Lerena <slerena@artica.es>
* include/functions_reporting.php: Fixed problem with SQL custom reports
        because the SQL html encoding. Added a SQL check for secure user-input
        SQL code.

        * include/functions.php: Added check_sql() function to do a basic
        safety check on SQL code.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3381 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-11 10:14:03 +00:00
zarzuelo c8fc9ddd90 2010-10-07 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php
	include/functions_visual_map.php
	operation/reporting/graph_viewer.php
	godmode/reporting/graph_builder.preview.php: Fixed the setting
	of width and height on custom graphs setup. Increased the height 
	of the graph in few sections to fix the rise of the leyend



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3361 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-07 09:27:38 +00:00
mdtrooper 649d9dbf83 2010-10-05 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: cleaned source code style and optimize
	some parts (deleted redundant if sentences).
	
	* include/functions_db.php: cleaned source code style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3343 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-05 11:44:14 +00:00
mdtrooper b135a111d6 2010-09-15 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: in function "get_agent_module_info" added
	the return "status" and "alert_value".
	
	* include/auth/mysql.php: in function "process_user_login" cleaned the
	source code style.

	* include/functions_ui.php: in function "print_timestamp" added in the
	parameter $option the check of units ('large' and 'tiny' at the moment).
	Added the function "print_group_icon2" that it is the same of
	"print_group_icon" but it has a new parameter $path for to set the images
	path.
	
	* include/functions.php: in function "human_time_comparation" added the
	parameter $units to set the type return text for time unit (at the moment
	only "large" and "tiny"). And in the function "human_time_description_raw"
	added the paramter $units for to set the type of return text for units, at
	the moment only "large" and "tiny".
	
	* include/functions_db.php, operation/agentes/ver_agente.php: cleaned source
	code.
	
	* mobile/index.php, mobile/operation/agents,
	mobile/operation/agents/view_agents.php, mobile/include/db.class.php,
	mobile/include/style, mobile/include/style/main.css,
	mobile/include/user.class.php, mobile/include/functions_web.php,
	mobile/include/system.class.php, mobile/images/bricks.png,
	mobile/images/up.png, mobile/images/zoom.png, mobile/images/down.png: added
	first version of file for Pandora Mobile version.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3246 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-15 15:54:59 +00:00
Ramon Novoa 52d3ef4ee2 2010-09-08 Ramon Novoa <rnovoa@artica.es>
* include/functions_reporting.php,
          operation/reporting/reporting_xml.php: Improved error detection in
          reports.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3226 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-08 12:00:34 +00:00
slerena 79f78be3ba 2010-08-24 Sancho Lerena <slerena@artica.es>
* operation/events/events.php: Fixed bug on event searches
    in different languages than english.

    * include/functions_reporting.php: Fixed notice on empty foreach.

    * config_process.php: Trying to supress Deprecated messages.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3179 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-24 16:00:35 +00:00
zarzuelo 2ee9fb2576 2010-08-23 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php: Fixed a null into
	foreach in SLA function



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3171 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-23 13:33:24 +00:00
zarzuelo ba03b4ecc0 2010-08-23 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php
	include/fgraph.php: Fixed the max and min values 
	on the graphs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3168 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-23 10:46:11 +00:00
mdtrooper bcd263b5c8 2010-08-13 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: fixed the loop of alerts when Pandora
	haven't alerts.
	Fixes: #3044246



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3141 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-13 11:02:03 +00:00
zarzuelo d20c2fcde5 2010-08-04 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php: Fixed the get_agent_module_info function
	for avoid to show the disabled modules information



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3100 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-04 17:26:17 +00:00
zarzuelo 67dffe5a70 2010-08-04 Sergio Martin <sergio.martin@artica.es>
* include/styles/pandora.css
	include/functions_reporting.php
	include/functions_ui.php
	include/functions_db.php
	operation/agentes/status_monitor.php
	operation/agentes/estado_agente.php
	operation/agentes/bulbs.php
	operation/agentes/estado_monitores.php
	operation/agentes/group_view.php
	images/status_sets/default/module_no_data.png
	images/status_sets/default/alert_fired.png
	images/status_sets/default/agent_no_monitors.png
	images/status_sets/default/alert_fired_ball.png
	images/status_sets/default/agent_no_monitors_ball.png
	images/status_sets/default/agent_down_ball.png
	images/status_sets/default/agent_down.png: Fixed several modules
	and agents list status to use the new unknown status. Some images was
	changed too for show the same colour than the visual and network maps



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3091 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-04 11:08:16 +00:00
Ramon Novoa 612c8cae05 2010-08-02 Ramon Novoa <rnovoa@artica.es>
* include/functions_reporting.php, include/fgraph.php,
          include/functions_fsgraph.php, operation/agentes/stat_win.php: Moved
          min, max and avg information into the chart to make it available to
          reports an custom graphs.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3084 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-02 12:15:33 +00:00
Ramon Novoa b40c7b00d7 2010-07-29 Ramon Novoa <rnovoa@artica.es>
* include/functions_reporting.php: Updated reporting functions to work
          with uncompressed data. 

        * include/fgraph.php, include/functions.php: Added a generic
          function to check whether a module has compressed data.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3077 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-29 17:31:19 +00:00
mdtrooper 986a09f3ea 2010-07-27 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: added new parameters in the function
	"get_agentmodule_sla", the parameters days of week to search and range of
	time. And use new parameteres in the call for SLA data in function
	"render_report_html_item".
	
	* pandoradb.sql, extras/pandoradb_migrate_v3.1_to_v3.2.sql: in table
	"treport_content" added the fields for set days of week and range time
	for SLA.
	
	* operation/reporting/reporting_xml.php: use new parameters in the call for
	SLA data.

	* godmode/reporting/reporting_builder.php: added source code for save,
	update new fields (days of week and time range).
	
	* godmode/reporting/reporting_builder.item_editor.php: added source code to
	show the fields (days of week and time range).
	
	Pending task: #3033457



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3070 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-27 18:11:42 +00:00
raulmateos 76ed670629 2010-07-05 Raul Mateos <raulofpandora@gmail.com>
* include/functions.php, include/functions_reporting.php: Cleaned code.
	Fixed "Summatory" typo.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2961 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-05 13:02:56 +00:00
zarzuelo 6224a8a3da 2010-06-10 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php: Fixed the colspan
	into the Custom Graph report item for bug: 3013859



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2906 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-14 09:14:30 +00:00
Ramon Novoa 44bb16d249 2010-06-07 Ramon Novoa <rnovoa@artica.es>
* include/functions_reporting.php: Disabled DB cache for
          get_agent_module_info () to avoid memory errors in big
          environments.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2867 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-07 11:46:19 +00:00
mdtrooper 5f38df2f17 2010-06-01 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php, include/functions.php,
	godmode/reporting/reporting_builder.php,
	godmode/reporting/reporting_builder.item_editor.php: added the code for
	show a new item event_report_group.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2846 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-02 15:32:08 +00:00
zarzuelo 23b546ed60 2010-06-02 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php
	operation/agentes/status_monitor.php
	operation/agentes/group_view.php: Fixed the group
	view table values for bug 3010321 and added the log4x
	type of module to asynchronous exception for bug
	3008759



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2842 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-02 08:23:55 +00:00
zarzuelo ff3dae54cd 2010-05-17 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php: Fixed the
	Warning monitor stauts in tactical view
	for bug: 3002602



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2737 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-17 08:45:08 +00:00
zarzuelo d3c6e43fd2 2010-05-13 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php
	operation/agentes/status_monitor.php: Fixed full monitor
	checks in tactical view and monitor status filter 
	on monitor detail



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2715 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-13 14:09:13 +00:00
mdtrooper ce9a609683 2010-05-13 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: fixed the empty cell.
	Fixes: #2996522



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2714 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-13 14:01:21 +00:00
zarzuelo d7498b7eb1 2010-05-12 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php: Fixed unknown
	and no init monitors queries for monitor checks. 
	Bug: 3000460



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2706 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-12 14:28:31 +00:00
Ramon Novoa 942ee05e8b 2010-05-07 Ramon Novoa <rnovoa@artica.es>
* include/functions_reporting.php, include/fgraph.php,
          include/functions_db.php, include/functions_fsgraph.php: Fixed
          a lot of chart and report code related to Pandora FMS's data
          compression algorithm.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2678 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-07 18:18:23 +00:00
mdtrooper 4b8601207b 2010-05-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: fixed the php notice message when the
	index not exist in the var $data in the function "get_agentmodule_sla".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2667 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-04 17:05:25 +00:00
zarzuelo a188ad9492 2010-05-04 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php: Set style to
	'mini' option.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2664 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-04 12:13:17 +00:00
mdtrooper a2b73a4663 2010-05-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: changed the style to show data in the
	items "TTRT", "TTO", "MTBF" and "MTTR".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2663 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-04 11:24:14 +00:00
mdtrooper 9860502861 2010-05-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: fixed in the function
	"get_agentmodule_data_average" prevent to use the var without value.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2662 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-04 11:06:59 +00:00
zarzuelo 451bcdc5fc 2010-05-04 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php: Added the 
	high variation for the graphs when the
	parameter $mini is true



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2661 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-04 11:00:57 +00:00
zarzuelo 57322b8633 2010-05-04 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php: Added "mini"
	parameter. Usefull for print the report with less
	size



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2657 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-04 08:36:35 +00:00
mdtrooper 0014988481 2010-05-03 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: added the parameter "$html" in the
	function "alert_reporting_agent" and "alert_reporting_module", this flag is
	for return the html table or object table, by default the html. And fixed
	the title of "alert_report_module" and "alert_report_agent", fixed return
	of list "event_report_module" in the function "render_report_html_item".

	* godmode/reporting/reporting_builder.item_editor.php: fixed the lost field
	"period" in the item "database_serialized".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2654 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-03 12:02:56 +00:00
mdtrooper 8d8a3a0957 2010-04-30 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: added the parameter "$html" in the
	function "get_module_detailed_event_reporting", this flag is for return
	the html table or object table, by default the html.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2653 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-03 09:39:51 +00:00
Ramon Novoa c62bf12718 2010-04-29 Ramon Novoa <rnovoa@artica.es>
* include/functions_reporting.php: Added TTO, TTR, MTBF and MTTR
          reports.

        * include/functions_db.php: Fixed get_previous_data and wrote
          get_next_data.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2639 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-29 15:31:14 +00:00
mdtrooper 8dddb86702 2010-04-28 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: added function "alert_reporting_agent"
	for make the html list of agent alerts, added function
	"alert_reporting_module" for same thing before function instead it is for
	modules. In report item "event_report_agent" fixed the output. Added report
	items "alert_report_module", "alert_report_agent", "url" and
	"database_serialized".
	
	* include/functions_db.php: added function "get_agent_alert_fired" for
	to extract the alerts fired of agent, and added "get_module_alert_fired"
	for alerts fired of module.
	
	* godmode/reporting/reporting_builder.php,
	godmode/reporting/reporting_builder.item_editor.php: fixed the renamed
	column "row_separator" of previus commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2631 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-28 19:44:04 +00:00
mdtrooper 6b358c0e10 2010-04-27 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: in function
	"get_agents_detailed_event_reporting" fixed param for $id_agents to array
	type, fixed the loop to save events and fixed in the loop to make the table.
	Added the function "get_module_detailed_event_reporting" for events of any
	module. In function "render_report_html_item" remove trace function, added
	the render option "event_report_module" for render list of events of any
	module.

	* include/functions_db.php: added function "get_module_events".
	
	* operation/gis_maps/ajax.php: cleaned source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2619 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-27 17:43:32 +00:00
mdtrooper 1bbb194939 2010-04-27 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: added render html for "text" and "sql"
	item.
	
	* include/ajax/reporting.ajax.php: added request for the custom SQL.

	* include/functions_db.php: in function "get_db_value_filter" fixed the
	field when the field is escape string.

	* godmode/reporting/reporting_builder.item_editor.php: added the preview of
	custom SQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2617 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-27 15:25:32 +00:00
mdtrooper 1acd14b4e5 2010-04-27 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: cleaned source code of
	"render_report_html_item" function for new types of report items.

	* include/functions.php: cleaned source code of "get_report_types" function
	and added new types of report items.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2614 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-27 10:51:17 +00:00
slerena 2696b815e5 2010-04-21 Sancho Lerena <slerena@artica.es>
* include/functions_reporting.php: Added function render_report_html_item()
    to render a given report element in HTML format. Fixed a small problem in
    SUM report type (int truncate invalidate most of SUM reports when not using
    a _inc data type).

    * include/functions.php: Updated all "is_module_xxx" from using ereg 
    (deprecated) to use preg_match.

    * include/functions_db.php: Moved reporting functions 
    get_agentmodule_data_average(); get_agentmodule_data_max(), 
    get_agentmodule_data_min() and  get_agentmodule_data_sum() from here
    to functions_reporting.php.

    * godmode/groups/group_list.php: Removing a group put all agents assigned
    to that group in other available group (choosen in realtime).

    * AUTHORS: Authors file update, was very outdated!.

    * operation/agentes/estado_generalagente.php: Fixed bug #2990430.

    * operation/reporting/reporting_viewer.php: Some changes for better 
    structuration of the HTML reporting viewer. Removed big chunk of code
    and put in function_reporting/render_report_html_item() function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2583 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-21 17:52:08 +00:00
slerena d7274f2288 2010-03-02 Sancho Lerena <slerena@artica.es>
* include/functions_reporting.php: Solved issue with several undefined
	vars.

	* include/functions_servers.php: Solved issue with several undefined
	vars. 

	* include/functions_config.php: Added metaconsola witch to readconfig.

	* include/config_process.php: Update build.. is YYMMDD !

	* include/functions_ui.php: Removed deprecated call to split and replaced
	by preg_split.

	* index.php: Activated developer mode.

	* operation/agentes/estado_monitores.php: Solved small problem with modules
	without history, filling missing column in table. Added headers

	* godmode/alerts/configure_alert_compound.php,
	operation/agentes/status_monitor.php
	godmode/alerts/configure_alert_template.php,
	godmode/alerts/alert_templates.php,
	godmode/alerts/configure_alert_action.php,
	godmode/alerts/configure_alert_command.php,
	godmode/alerts/alert_actions.php,
	godmode/alerts/alert_commands.php,
	godmode/modules/manage_network_templates.php,
	godmode/modules/module_list.php,
	godmode/modules/manage_network_components.php,
	godmode/modules/manage_nc_groups.php: Removed deprecated call to include
	config.php and in some cases, added new header style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2444 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-02 14:13:00 +00:00
slerena e76cdb0747 2010-02-19 Sancho Lerena <slerena@artica.es>
* functions_events.php: Fixed typo (switched meaning) in two labels.

	* include/styles/pandora.css: Changed background color of th default style.

	* include/functions_reporting.php: Improved function get_group_stats(). Now
	supports stats from batch-mode and get realtime stats in a more efficient
	way. Fixed get_fired_alerts_reporting_table() to avoid problems in external 
	reporting (PDF & XML).

	* include/functions_servers.php: get_server_performance() now uses batch mode
	stats reporting, and improved also the realtime stats generation. Same with
	function get_server_info().

	* include/functions_config.php: Added new config tokens (not fully 
	implemented yet) for event, trap, strings and audit automatic purge.

	* include/functions_ui.php: Added new print_page_header() function to set
	the new standard header in all pages, using the "tabbed" format to show
	the title, subtitle and other options like help, or custom-tabs for the page

	* pandoradb.sql: Added tserver.stat_utimestamp field. Added indexes to 
	tsession table. Fixed typo in field name in tgroup_stat: agents_uknown to
	agents_unknown.

	* extensions/ext_backup: New directory to place "deleted" extensions.

	* extensions/dbmanager/dbmanager.css: Table names now are in it's original
	lowercase/uppercase format.

	* extensions/dbmanager.php: Updated headers, and now return "empty" when
	a search is empty, instead "error" as before.

	* extensions/users_connected.php
	extensions/module_groups.php
	extensions/plugin_registration.php
	extensions/pandora_logs.php
	operation/incidents/incident.php
	operation/snmpconsole/snmp_view.php
	operation/users/user.php
	operation/users/user_edit.php
	godmode/agentes/planned_downtime.php
	operation/events/events.php
	operation/visual_console/index.php
	operation/agentes/estado_generalagente.php
	operation/agentes/estado_agente.php
	operation/agentes/exportdata.php
	operation/agentes/ver_agente.php
	operation/agentes/status_monitor.php
	operation/agentes/alerts_status.php
	operation/users/user_statistics.php: Added new header format.

	* operation/agentes/estado_grupo.php: Removed old group view.

	* operation/agentes/tactical.php: Adapted to use new realtime/batch 
	statistical system. Placed events above server info. Showing only pending
	events and other minor changes.

	* operation/agentes/group_view.php: NEW screen, replacing old one. Probably
	most ugly, but much more useful than before.

	* operation/agentes/networkmap.php: Added title.

	* operation/messages/message.php: Added title and adding some exists in 	
	code was missing before.

	* operation/reporting/reporting_viewer.php: Added title.

	* operation/reporting/graph_viewer.php: Added title.

	* operation/reporting/custom_reporting.php: Added title.

	* operation/servers/view_server.php: 

	* operation/menu.php: Replaced old group view with new (this has english
	name). Removed autorefresh "by default" in server view.

	* extras/pandoradb_migrate_v3.0_to_v3.1.sql: Fixed typo.

	* extras/pandora_diag.php: Minor changes, removed some info and added other.

	* general/logon_ok.php: Minor aesthetic changes.

	* general/header.php: Fixed missing ";"

	* operation/extensions.php,
	godmode/extensions.php: Added support for delete extensions.

	* godmode/menu.php: New setup items.

	* godmode/setup/setup.php,
	godmode/setup/performance.php,
	godmode/setup/setup_visuals.php: Reordered setup options, new setup section	
	"Performance", added new performance options to set  "realtime" statistics
	or "batchmode" with it's own interval. Some setup info is now shared with
	the servers (but it it's any change in setup, servers should be restarted 
	anyway).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2390 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-19 15:16:03 +00:00