Commit Graph

249 Commits

Author SHA1 Message Date
m-lopez-f db3e276195 Fixed error when flash_chart is false, colors of pie bad drawn, tiquet: #2107 2015-04-16 10:50:43 +02:00
m-lopez-f 85b00c080c Draw pie with filter results and changed label, tiquet: #2076 2015-04-13 15:50:49 +02:00
m-lopez-f b533897415 Fixed problems with print pie, show more data that data in list event,Nodo and Meta, tiquet: #2076 2015-04-13 12:47:49 +02:00
Alejandro Gallardo Escobar 7360171bd7 Adapted the functions to work with the metaconsole
(cherry picked from commit 567b5125bd)
2015-03-23 14:34:04 +01:00
mdtrooper 868d1d5b39 Cleaned source code style. 2015-03-18 10:58:31 +01:00
m-lopez-f e0e531bf05 Add field to custom line widht to custom graph tiquet: #1875 2015-03-17 15:36:24 +01:00
mdtrooper 66feffb0f7 Fixed the menu buttons in charts. TICKET: #1818
(cherry picked from commit dac81d2640)
2015-02-19 12:52:41 +01:00
mdtrooper 9ff4ba1958 Fixed the graph for string module data. TICKET: #1749 2015-02-03 12:43:15 +01:00
Vanessa Gil 9aff58ed33 Added Strict ACL mode to networmaps. 2015-01-23 08:59:42 +01:00
Vanessa Gil 3698e887c3 Added Stric ACL mode. 2015-01-15 18:08:58 +01:00
Alejandro Gallardo Escobar 07eb065a99 Now the boolean and module string graphs can search data into the history database 2014-11-21 16:01:01 +01:00
Alejandro Gallardo Escobar e89565e760 Modified a bunch of functions to choose when the history db should be used and when not 2014-10-22 12:00:14 +02:00
Alejandro Gallardo Escobar bbd7ae85df Error fixes on the function "graph_monitor_wheel" 2014-10-20 16:56:01 +02:00
Alejandro Gallardo Escobar c07264dbc0 Improvements on the function "grafico_db_agentes_purge" 2014-10-14 13:18:42 +02:00
Alejandro Gallardo Escobar 5fefe33f56 Fixes on the functions "graphic_module_events" and "get_statwin_graph_statistics" 2014-10-13 15:50:35 +02:00
mdtrooper 38d352ebe1 Fixed the limits of warnings/critical (the line) that freezed the legend. Ticket #1287 2014-10-01 11:18:03 +02:00
Vanessa Gil 9a8818b6a4 Fixed graph of tactical view in metaconsole. 2014-09-29 11:19:51 +02:00
Alejandro Gallardo Escobar 29eb11b696 Improved the items information of the module graphs
* pandora_console/godmode/setup/setup_visuals.php,
  pandora_console/include/functions_config.php: Added a
	new config token to choose if the module graphs
	data should be shortened.

* pandora_console/include/functions_custom_graphs.php:
	Added the unit list parameter to the function
	"custom_graphs_print".

* pandora_console/operation/agentes/interface_traffic_graph_win.php:
	Improved a function call.

* pandora_console/include/functions_graph.php: Modified
	the function "graphic_combined_module". Now is
	possible to add custom units for the items and
	short the data.
2014-09-23 13:20:50 +02:00
Alejandro Gallardo Escobar ed4406115b Improvements on the combined graphs
* pandora_console/operation/agentes/interface_traffic_graph_win.php:
	Modified the graph function call. Modified the refresh time.

* pandora_console/include/functions_graph.php: Modified the function
	"graphic_combined_module". Now is possible to set the items
	name and choose which values will appear on the items list.

* pandora_console/include/functions_custom_graphs.php: Added new
	parameters to the function "custom_graphs_print" to call the
	function "graphic_combined_module".
2014-09-22 19:42:40 +02:00
mdtrooper 92acbb9b44 Added the feature show the combined graph in the agent graph tabs. TICKET #1277 2014-09-16 12:25:40 +02:00
mdtrooper cffdcdd4a3 Added feature to filter by module in events.
2014-09-01  Miguel de Dios <miguel.dedios@artica.es>

	* pandora_console/include/functions_graph.php,
	pandora_console/operation/events/events.build_query.php,
	pandora_console/operation/events/events.php,
	pandora_console/operation/events/events_list.php: added feature to
	filter by module in events.

	TICKETS #385
2014-09-01 15:23:45 +02:00
alexhigh fe497317be 2014-08-21 Alejandro Gallardo <alejandro.gallardo@artica.es>
* include/functions_graph.php: Added filters to the
	function "graph_monitor_wheel".
	
	* operation/agentes/networkmap.dinamic.php,
	  operation/agentes/networkmap.php,
	  include/functions_networkmap.php: Added the 'radial
	dinamic' type.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10443 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-21 11:41:30 +00:00
alexhigh 34ea647346 2014-08-21 Alejandro Gallardo <alejandro.gallardo@artica.es>
* include/functions_graph.php: Improved the function
	"graph_monitor_wheel" to remove the html encoding.
	
	* include/graphs/pandora.d3.js: Mayor improvements
	on the function "solarburst".


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10440 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-21 10:15:12 +00:00
alexhigh 774d4dc2d7 2014-08-20 Alejandro Gallardo <alejandro.gallardo@artica.es>
* include/functions_graph.php: Modified the color of
	the main node on the function "graph_monitor_wheel".


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10437 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-20 11:13:44 +00:00
alexhigh 428ccacdd6 2014-08-20 Alejandro Gallardo <alejandro.gallardo@artica.es>
* include/functions_graph.php: Fixed the function
	"graph_monitor_wheel".


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10436 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-20 11:10:19 +00:00
alexhigh 825852d324 2014-08-05 Alejandro Gallardo <alejandro.gallardo@artica.es>
* general/main_menu.php: Fixed the menu position when
	it's fixed and the header's not.

	* include/functions_graph.php,
	  include/graphs/pandora.d3.js: Added colors to the elements
	depending on their status on the functions 'sunburst' and
	'graph_monitor_wheel'.

	* include/styles/pandora.css: Fixed the z-index of the
	shortcut bar.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10382 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-05 13:09:46 +00:00
mdtrooper a6197fccb2 2014-07-31 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_networkmap.php, include/functions_graph.php,
	include/db/postgresql.php, include/db/oracle.php,
	include/functions_api.php, extensions/agents_alerts.php,
	operation/search_main.php, operation/search_agents.getdata.php,
	operation/agentes/status_monitor.php,
	operation/agentes/networkmap.topology.php,
	operation/agentes/ver_agente.php,
	operation/search_modules.getdata.php, operation/search_results.php,
	operation/events/events_list.php,
	godmode/alerts/alert_list.builder.php,
	godmode/alerts/configure_alert_template.php,
	godmode/modules/manage_network_components_form.php,
	godmode/reporting/reporting_builder.php,
	godmode/reporting/map_builder.php: tiny fixes for the improve the
	support of postgreSQL databases.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10368 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-31 14:27:43 +00:00
alexhigh 798d099f98 2014-07-30 Alejandro Gallardo <alejandro.gallardo@artica.es>
* include/functions_graph.php: Finished the function
	"graph_monitor_wheel". This function returns a sunburst
	graph representing all the group>agent>module group>module
	hierarchy.
	
	* include/functions_groups.php: Added the function
	"groups_get_tree". This function returns an array representing
	the group hierarchy of the passed groups array.

	* include/graphs/pandora.d3.js: Improved the function
	"sunburst". Now this graph can show tooltips.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10366 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-30 15:58:27 +00:00
mdtrooper 514ad60da7 2014-07-29 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php, include/functions_reporting.php,
	operation/agentes/estado_monitores.php: tiny fixes for the improve
	the support of postgreSQL databases.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10361 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-29 15:11:23 +00:00
mdtrooper 56bc6820bc 2014-07-24 Miguel de Dios <miguel.dedios@artica.es>
* operation/snmpconsole/snmp_view.php,
	operation/events/events_list.php, operation/incidents/incident.php,
	extensions/files_repo.php,
	extensions/files_repo/sql/files_repo.postgreSQL.sql,
	extensions/files_repo/functions_files_repo.php,
	extensions/files_repo/files_repo_list.php,
	godmode/agentes/modificar_agente.php,
	godmode/snmpconsole/snmp_alert.php, godmode/db/db_info.php,
	include/functions_graph.php, include/functions_db.php,
	include/db/postgresql.php, include/db/oracle.php,
	include/db/mysql.php, include/functions_update_manager.php,
	include/functions_events.php, include/graphs/functions_flot.php,
	include/graphs/fgraph.php: tiny fixes for the improve the support of
	postgreSQL databases.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10354 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-24 16:02:06 +00:00
mdtrooper f078174609 2014-07-18 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php, include/functions_reporting.php:
	fixed to show the unknown graph in simple graph.
	
	INCIDENT: #1035




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10343 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-18 09:45:20 +00:00
Ramon Novoa c1daa81a2b 2014-07-04 Ramon Novoa <rnovoa@artica.es>
* include/functions_graph.php: When drawing charts, propagate the last value
	  in the database instead of the value of the last interval (which is the
	  average value for that interval).

	* operation/agentes/estado_monitores.php: Show events for boolean modules by default.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10316 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-04 15:28:24 +00:00
alexhigh 086dda7d90 2014-06-26 Alejandro Gallardo <alejandro.gallardo@artica.es>
* operation/netflow/nf_live_view.php,
	  godmode/netflow/nf_edit.php,
	  godmode/servers/manage_recontask_form.php,
	  godmode/servers/plugin.php,
	  godmode/setup/setup_general.php: Added messages to
	warn about incompatibilities for Windows users.

	* include/functions_graph.php: Added the function
	"graph_monitor_wheel".

	* include/graphs/functions_d3.php: Added the function
	"d3_sunburst_graph".

	* include/graphs/pandora.d3.js: Added the function "sunburst".


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10291 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-26 11:32:14 +00:00
alexhigh 6b2049bf5b 2014-06-17 Alejandro Gallardo <alejandro.gallardo@artica.es>
* godmode/agentes/module_manager_editor_common.php,
	  operation/reporting/reporting_viewer.php,
	  operation/agentes/status_monitor.php,
	  include/functions_netflow.php,
	  include/functions_graph.php: Improvements to avoid
	php notices and warnings.

	* godmode/setup/setup_visuals.php,
	  include/functions_config.php: Added a new option
	to choose a custom line thickness for the line between
	the items relations of the visual maps.

	* include/functions_visual_map.php,
	  include/javascript/pandora_visual_console.js: Added
	support to the custom line thickness and fixed some
	problems with the line connections.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10221 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-17 15:11:50 +00:00
zarzuelo 7e84d8346f 2014-06-13 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/visual_console_builder.editor.js
	include/graphs/fgraph.php
	include/graphs/functions_pchart.php
	include/graphs/pChart/pImage.class.php
	include/functions_visual_map.php
	include/ajax/visual_console_builder.ajax.php
	include/functions_visual_map_editor.php
	include/functions_custom_graphs.php
	include/functions_graph.php: Added option to cusomize the
	background of the graphs in visual consoles for ticket: #886



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10181 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-13 07:53:50 +00:00
alexhigh 3599c2baaa 2014-06-10 Alejandro Gallardo <alejandro.gallardo@artica.es>
* include/functions_graph.php: Added the function
	"graph_snmp_traps_treemap".

	* include/functions_netflow.php: Fixed a little error.

	* operation/snmpconsole/snmp_view.php: Fixed the pagination.
	Now is possible to see a treemap graph of oid per agent with
	the snmptraps received.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10156 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-10 15:21:58 +00:00
zarzuelo 0f2c9f28c5 2014-06-04 Sergio Martin <sergio.martin@artica.es>
* include/constants.php
	include/functions_graph.php
	include/functions_reporting.php
	include/graphs/functions_pchart.php
	include/graphs/functions_flot.php
	include/functions.php
	include/functions_events.php: Fix a lot of errors
	on events items on reports using now the same query 
	as events view, etc.

	* include/styles/pandora.css: Little aesthetic
	improvement in focus buttons and unset webfont



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10105 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-04 14:05:20 +00:00
mdtrooper c5ec3ebb55 2014-05-27 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/graph_builder.main.php,
	include/functions_graph.php, include/functions_visual_map.php,
	include/functions_custom_graphs.php, include/constants.php,
	operation/reporting/graph_viewer.php: killing unicorns and magic
	numbers for the kind of custom graphs.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10021 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-27 14:31:53 +00:00
mdtrooper 8af4331c4f 2014-05-27 Miguel de Dios <miguel.dedios@artica.es>
* extras/pandoradb_migrate_5.0.x_to_5.1.postgreSQL.sql,
	extras/pandoradb_migrate_5.0.x_to_5.1.oracle.sql,
	extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql,
	godmode/reporting/visual_console_builder.editor.js,
	include/functions_custom_graphs.php,
	include/ajax/visual_console_builder.ajax.php,
	include/functions_graph.php, include/functions_visual_map.php,
	include/functions_visual_map_editor.php, pandoradb.sql,
	pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
	operation/reporting/graph_viewer.php, pandoradb_data.sql: added the
	custom graphs into the visualmaps.
	
	Incident: #367




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10018 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-27 12:59:56 +00:00
zarzuelo 467a8eabd5 2014-05-22 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php: Fix end of unknown
	periods in graphs when activate events storm protection
	or other prevent events triggering



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9987 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-22 16:16:02 +00:00
zarzuelo 264155530b 2014-05-21 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php: Fix unknown graphs in graphs
	with only negative values. Now the unknown graph is always positive
	Ticket: #569 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9979 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-21 14:04:27 +00:00
zarzuelo fad65b1d53 2014-05-14 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php: fixed "resolution" of custom
	graphs to have the same results of simple graphs when have data
	of more than one month.
	For SF bug #2425



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9931 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-14 08:08:01 +00:00
alexhigh 5b95334ad0 2014-04-25 Alejandro Gallardo <alejandro.gallardo@artica.es>
* extensions/system_info.php,
	  godmode/servers/plugin.php,
	  godmode/setup/file_manager.php,
	  include/config_process.php,
	  include/functions_filemanager.php,
	  include/functions_html.php,
	  operation/gis_maps/ajax.php,
	  operation/snmpconsole/snmp_mib_uploader.php: Replaced
	the possible backslashes with slashes in the directories
	path.

	* include/functions_graph.php: Modified the function
	"grafico_modulo_log4x" to adapt the 'set_include_path' to
	Windows.

	* include/get_file.php: Now the file name comes from the
	function "basename".


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9814 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-04-25 11:07:30 +00:00
alexhigh e496bce528 2014-04-23 Alejandro Gallardo <alejandro.gallardo@artica.es>
* godmode/setup/setup_netflow.php: Added a prompt dialog
	to warning about the time increase caused by the address
	resolution.

	* include/functions_graph.php: Added the functions
	"graph_netflow_circular_mesh" and "graph_netflow_host_traffic".

	* include/functions_netflow.php: Added the function
	"netflow_get_record". Added IP address resolution. Added
	two new netflow live view items: "host detailed traffic" and
	"circular mesh". Error fixes on several functions.

	* include/graphs/functions_d3.php: Added the function
	"d3_tree_map_graph".
	Improved the function "d3_relationship_graph".

	* include/graphs/pandora.d3.js: Added the function "treeMap".
	Improved the function "chordDiagram".


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9801 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-04-23 09:34:00 +00:00
alexhigh 52f1c97842 2014-04-16 Alejandro Gallardo <alejandro.gallardo@artica.es>
* godmode/setup/setup_netflow.php: Added a radio buttons
	to activate or deactivate the name resolution for ip addresses.

	* include/functions_config.php: Added the name resolution by
	if to the funcion "config_update_config".

	* include/functions_graph.php: Added 50px to the width of the
	pie of the function "graph_netflow_aggregate_pie".

	* include/functions_netflow.php: Improved the styles of the
	netflow report tables.

	* include/graphs/flot/pandora.flot.js: Now the legend items
	show the percentage when the pie labels are hidden.

	* pandora_console/include/graphs/functions_d3.php,
	  pandora_console/include/graphs/pandora.d3.js: Added files.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9771 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-04-16 12:06:19 +00:00
mdtrooper caca30521b 2014-03-28 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php: set the zeroes values in the boolean
	graph as zeroes values.
	
	Incident: #665




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9669 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-03-28 17:13:31 +00:00
vgilc 100966e460 2014-03-14 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.data.oracle.sql
	  pandoradb.data.postgreSQL.sql
	  pandoradb.sql
	  pandoradb_data.sql
	  extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql
	  extras/pandoradb_migrate_5.0.x_to_5.1.oracle.sql
	  extras/pandoradb_migrate_5.0.x_to_5.1.postgreSQL.sql
	  godmode/reporting/graph_builder.graph_editor.php
	  godmode/setup/setup_visuals.php
	  include/functions_config.php
	  include/functions_graph.php: Changed weight and colors in
	combine graphs.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9592 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-03-14 08:33:13 +00:00
zarzuelo ae64f2374d 2014-03-11 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php: Change the unknown mode
	to dont set data to 0 when is unknown and to not ignore
	unknown periods when are too short. Fixed events, alerts
	and unknown graphs in boolean graphs too.

	* include/functions_events.php: Delete useless link
	to deprecated url in events details (module link)




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9560 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-03-11 17:07:11 +00:00
juanmanuelr 563391b808 2014-02-14 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_tags.php: Fixed several bugs with
        ACL propagation and ACL tags.

        * include/functions_graph.php: Implemented ACL tags in
        graph_event_module function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9438 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-02-14 13:20:38 +00:00
zarzuelo 5f431a7789 2014-02-10 Sergio Martin <sergio.martin@artica.es>
* include/functions_groups.php: Fixed total agents
	count for group All

	* include/functions_graph.php
	mobile/operation/module_graph.php
	mobile/operation/modules.php
	mobile/operation/networkmaps.php
	mobile/operation/agent.php
	mobile/operation/agents.php
	mobile/operation/events.php
	mobile/operation/tactical.php
	mobile/operation/visualmaps.php
	mobile/include/ui.class.php
	mobile/include/style/main.css: A lot of fixes
	and improvements in mobile console



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9420 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-02-10 11:54:39 +00:00