Commit Graph

255 Commits

Author SHA1 Message Date
m-lopez-f 4180f2e344 Fixed problems with legend when module no containt data. Tiquet: #3003 2015-12-21 09:18:27 +01:00
fbsanchez 1c14912706 Added show api graph title 2015-11-11 11:17:45 +01:00
Arturo Gonzalez Diaz 4ebe075ace Fixed visual console 2015-10-08 11:46:38 +02:00
mdtrooper 3d014c6ab5 Now the boolean charts is showed as digital signal charts (only with dinamic flot charts engine) 2015-08-25 13:00:46 +02:00
mdtrooper 88fa70ad87 Fixed the charts (boolean and sparse) added lost time interval. TICKET: #2511 2015-08-24 17:09:15 +02:00
Arturo Gonzalez Diaz 8514212e69 Fixed number format in graphs legend, now it looks with "," in thousands and "." in decimals. 2015-08-24 16:45:20 +02:00
Arturo Gonzalez Diaz b4e9e2db83 Y axis fixed in custom graphs, now show correctly the numeration. Ticket#2578. 2015-08-21 10:49:49 +02:00
Alejandro Gallardo Escobar 054401484e Now the modules SLA slicebar has a different color in the planned downtimes period
Ticket #2341
(cherry picked from commit a512065c22)
2015-07-03 13:18:19 +02:00
m-lopez-f 277eb655a1 Add unit to legend left in graph of interface information, tiquet: #2194 2015-05-06 13:03:34 +02:00
mdtrooper f24919fe4b Fixed the history data in boolean and string charts. 2015-04-16 15:38:21 +02:00
m-lopez-f bf6e9cf4f6 Fixed error when flash_chart is false, colors of pie bad drawn, tiquet: #2107
(cherry picked from commit db3e276195)
2015-04-16 10:51:55 +02:00
mdtrooper 4bae03a227 Added the feature of time compare overlapped in the simple graph and simple graph baseline in reports. 2015-04-07 15:03:46 +02:00
Alejandro Gallardo Escobar dee1e92efe Merge branch 'feature/ticket#1981-Direct-graphs' into pandora_5.1 2015-03-23 14:22:09 +01:00
Alejandro Gallardo Escobar 567b5125bd Adapted the functions to work with the metaconsole 2015-03-18 20:28:59 +01:00
m-lopez-f e52ace6716 Add field to custom line widht to custom graph tiquet: #1875
(cherry picked from commit e0e531bf05)
2015-03-17 15:37:07 +01:00
mdtrooper dac81d2640 Fixed the menu buttons in charts. TICKET: #1818 2015-02-19 12:52:03 +01:00
mdtrooper 060dd23561 Fixed the graph for string module data. TICKET: #1749
(cherry picked from commit 5d14e8802d)
2015-02-03 12:43:54 +01:00
Alejandro Gallardo Escobar ef1839b2df 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 e0c4fb6143 Error fixes on the function "graph_monitor_wheel" 2014-10-20 16:56:01 +02:00
Alejandro Gallardo Escobar f2ef7bffa4 Improvements on the function "grafico_db_agentes_purge" 2014-10-14 13:18:42 +02:00
Alejandro Gallardo Escobar aa7bd77757 Fixes on the functions "graphic_module_events" and "get_statwin_graph_statistics" 2014-10-13 15:50:35 +02:00
mdtrooper 5a918eb0b2 Fixed the limits of warnings/critical (the line) that freezed the legend. Ticket #1287 2014-10-01 11:18:03 +02:00
Vanessa Gil cc5b488f38 Fixed graph of tactical view in metaconsole. 2014-09-29 11:19:51 +02:00
Alejandro Gallardo Escobar b78e69a592 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 eb590aae72 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 a8bd44c058 Added the feature show the combined graph in the agent graph tabs. TICKET #1277 2014-09-16 12:25:40 +02:00
mdtrooper 12abf276ca 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 8504ffcc45 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 30245d129a 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 71eed89bca 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 f776ff096f 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 c03ac82eee 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 862d16ccf9 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 8ed6e5b5d4 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 6488476d99 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 d11b4d0cb3 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 e961f3dca9 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
ramonn cfe028768b 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 b2a71b9f02 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 731ff56339 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 e2a8e90b2a 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 c747b15a32 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 815e28a8f2 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 b82d3cb921 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 449e24969c 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 fe654895af 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 954e379974 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 6f77b97868 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 a875856228 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 d5d3b1286f 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