Commit Graph

377 Commits

Author SHA1 Message Date
Alejandro Gallardo Escobar d4cfc1fb68 Improved the performance of the planned downtimes queries 2014-10-23 13:01:00 +02: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 51f6de7186 Added the 'pure' parameter to the URLs of the function "reporting_get_stats_modules_status" 2014-10-20 17:18:24 +02:00
Alejandro Gallardo Escobar c3fa2dd561 Fixed performance errors related with the planned downtimes functions 2014-10-15 14:52:00 +02:00
Alejandro Gallardo Escobar 92ac5cc9b1 Fixes on the SLA report items 2014-10-10 16:07:57 +02:00
Alejandro Gallardo Escobar cb926cdd6c Error fixes on the report SLA item 2014-10-09 19:56:06 +02:00
Alejandro Gallardo Escobar 55313c42f5 Error fixes on the report SLA item 2014-10-09 18:57:10 +02:00
Alejandro Gallardo Escobar 3d71aa6bf4 Fixed the planned downtimes info for the SLA report item on the metaconsole 2014-10-09 17:44:52 +02:00
Alejandro Gallardo Escobar 092ba41e0d Fixed a require on the function "reporting_render_report_html_item" 2014-10-09 16:52:45 +02:00
Alejandro Gallardo Escobar c13b3c95b8 Fixed some planned downtimes queries 2014-10-09 14:39:04 +02:00
Alejandro Gallardo Escobar 0e335825b6 Added a check for malformed planned downtimes to the report item 'SLA' 2014-10-08 18:51:16 +02:00
Alejandro Gallardo Escobar 11de239b50 Fixed an error on the function "reporting_get_planned_downtimes_intervals" 2014-10-08 16:08:09 +02:00
Alejandro Gallardo Escobar 2311c66e10 Fixed an infinite loop on the function "reporting_get_planned_downtimes_intervals" 2014-10-08 14:57:36 +02:00
Alejandro Gallardo Escobar 2881f6482a Fixed an error on the function "reporting_network_interfaces_table" when the output is in PDF type 2014-10-01 19:03:24 +02:00
Alejandro Gallardo Escobar 92ff7af279 Increased the graph size. Now the simple graphs can be interactive 2014-10-01 15:28:41 +02:00
Alejandro Gallardo Escobar 9df3787e6c Modified the function "reporting_render_report_html_item"
Now the item 'custom_graph' shows an interactive graph on the html
report when the user has the configuration option 'flash_charts'
enabled.
2014-10-01 13:28:08 +02:00
Alejandro Gallardo Escobar 32f8cbb990 Visual improvements on the graphs of the function "reporting_network_interfaces_table" 2014-10-01 12:21:35 +02:00
Alejandro Gallardo Escobar 2116e10733 Minor update on the function "reporting_network_interfaces_table" 2014-09-30 16:28:52 +02:00
Alejandro Gallardo Escobar 4b2104ea78 Added a new report item which shows network interfaces information by agents of the selected group
* pandora_console/godmode/reporting/reporting_builder.item_editor.php: Added the item
	'network_interfaces_report'.

* pandora_console/include/functions_agents.php: Added the function
	"agents_get_network_interfaces" to get a list of network interfaces
	information by agent.

* pandora_console/include/functions_custom_graphs.php: Added the 'ttl' parameter
	to the function "custom_graphs_print".

* pandora_console/include/functions_reporting.php: Added the item
	'network_interfaces_report' to the function
	"reporting_render_report_html_item". Added the function
	"reporting_network_interfaces_table".

* pandora_console/include/functions_reports.php: Added the item
	'network_interfaces_report' to the function
	"reports_get_report_types".
2014-09-30 15:56:24 +02:00
Alejandro Gallardo Escobar f406bdb02d Now the report type 'serialized data' gets the data from the default and the historical database 2014-09-29 13:15:26 +02:00
Vanessa Gil cc5b488f38 Fixed graph of tactical view in metaconsole. 2014-09-29 11:19:51 +02:00
Alejandro Gallardo Escobar b0d3dfc957 Merge branch 'feature/ticket#1243-PlannedDowntime' into develop 2014-09-22 11:48:22 +02:00
Alejandro Gallardo Escobar 6f6debb324 Error fixes and improvements. Improved the help tips of the planned downtimes editor 2014-09-19 17:30:17 +02:00
Alejandro Gallardo Escobar 2e1f0f964d Improved some functions
* pandora_console/include/functions_reporting.php: Fixed the function
	"reporting_get_planned_downtimes". Added a table to the SLA
	reports which shows the planned downtimes that affect the
	SLA report elements.
2014-09-18 19:36:39 +02:00
Alejandro Gallardo Escobar 4db6a4ee9c Added the function "reporting_get_planned_downtimes".
* pandora_console/include/functions_reporting.php: The new function
	"reporting_get_planned_downtimes" return a planned downtimes
	array with the planned downtimes that affect the passed modules
	on an specific datetime range.
	Improved two function calls on the function
	"reporting_render_report_html_item".
2014-09-18 15:31:42 +02:00
Ramon Novoa d44e2f081a The server generates per group agent statistics, not module statistics!
Module statistics in the tactical view were broken when realtimestats
was disabled. Per group agent statistics were used as if they were per
group module statistics.
2014-09-18 13:53:44 +02:00
Vanessa Gil 43d6c24e39 Remove 'sla_period'. Ticket #1282 2014-09-17 17:22:43 +02:00
Alejandro Gallardo Escobar 0276553962 Moved some code to the new function "reporting_get_planned_downtimes_intervals" 2014-09-16 15:33:10 +02:00
mdtrooper 4d7144c0d6 Fixed the server performance stadistics. TIKET #1272 2014-09-16 13:47:41 +02:00
Alejandro Gallardo Escobar 066c30315d Improved the planned downtimes calculation for the SLA functions
Now the functions "reporting_get_agentmodule_sla" and
"reporting_get_agentmodule_sla_array" do the planned downtimes
calculation correctly.
2014-09-15 18:53:13 +02:00
Alejandro Gallardo Escobar f9c1d822cc Added hooks to the service SLA wizard for reports
* godmode/reporting/reporting_builder.item_editor.php,
  godmode/reporting/reporting_builder.php,
  include/functions_reporting.php,
  include/functions_reports.php: Added hooks to the
	enterprise services SLA wizard.
2014-09-03 19:46:29 +02:00
mdtrooper 30c9e1a9ef 2014-07-30 Miguel de Dios <miguel.dedios@artica.es>
* godmode/servers/manage_recontask.php,
	godmode/servers/manage_recontask_form.php,
	include/functions_treeview.php, include/ajax/module.php,
	include/functions_reporting.php, include/db/postgresql.php,
	include/functions_servers.php, operation/agentes/estado_agente.php,
	operation/tree.php: tiny fixes for the improve
	the support of postgreSQL databases.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10365 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-30 14:29:44 +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 807faa6992 2014-07-23 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_servers.php, include/functions_reporting.php:
	tiny fixes for the improve the support of postgreSQL databases.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10351 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-23 14:42:55 +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
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
zarzuelo 9a797bf646 2014-06-03 Sergio Martin <sergio.martin@artica.es>
* include/styles/pandora.css
	images/login_background.png
	general/login_page.php: Change the whole
	login screen to new style

	* fonts
	fonts/nunito.woff: Added a web font

	* include/functions_events.php
	include/functions_reporting.php: Fix a bug in the
	agent events item on reports to reutilize the 
	standard code



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10094 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-03 16:59:55 +00:00
zarzuelo 33dc0295ef 2014-05-12 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/reporting_builder.php
	godmode/reporting/reporting_builder.item_editor.php
	include/functions_reporting.php
	include/functions_reports.php: Added SLA Monthly reports. Its
	an enterprise feature, so here is only the code to hook it and
	some forms logic

	* include/functions_html.php: Add support to header styles in
	html_print_table function. Used in SLA monthly reports



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9919 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-12 15:56:02 +00:00
mdtrooper e393b33419 2014-04-16 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/d3.v3.4.5.js: added the last javascript
	D3 library.
	
	* include/javascript/pandora_modules.js,
	include/functions_visual_map.php, include/functions_networkmap.php,
	include/functions_os.php, include/db/mysql.php,
	include/functions_netflow.php, include/constants.php,
	include/functions_reporting.php: standarized the color, now the
	code uses the colors constant.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9773 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-04-16 14:42:28 +00:00
alexhigh 21d909e856 2014-04-10 Alejandro Gallardo <alejandro.gallardo@artica.es>
* pandoradb.sql,
	  pandoradb.oracle.sql,
	  pandoradb.postgreSQL.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:
	Added the column "name"to the table "treport_content".

	* godmode/reporting/reporting_builder.item_editor.php,
	  godmode/reporting/reporting_builder.php: Now is posible
	to add a name to the report items.

	* godmode/reporting/reporting_builder.list_items.php: Now
	the list shows the name of the item or the description if
	the name is empty.

	* operation/reporting/reporting_xml.php,
	  include/functions_reporting.php: Now the XML and common
	reports show the item name if exists.

	* extensions/files_repo/files_repo_list.php: Improved
	the description.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9751 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-04-10 10:19:02 +00:00
mdtrooper 2e0e8027cc 2014-03-20 Miguel de Dios <miguel.dedios@artica.es>
* godmode/snmpconsole/snmp_alert.php,
	godmode/alerts/alert_list.list.php,
	godmode/agentes/agent_manager.php,
	godmode/agentes/configurar_agente.php,
	godmode/agentes/modificar_agente.php,
	include/functions_reporting.php,
	operation/agentes/estado_agente.php,
	images/remote_configuration.png: added a tab for enterprise remote
	configuration.
	
	Incident: #311




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9619 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-03-20 12:02:07 +00:00
ramonn c85df63067 2014-03-13 Ramon Novoa <rnovoa@artica.es>
* include/functions_netflow.php: Improved version detection. Some distros
	  append alphanumeric character to the version number.

	* include/functions_reporting.php: Fixed SLA bars. Unknown intervals were
	  not properly computed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9584 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-03-13 14:25:01 +00:00
juanmanuelr 77068e72d8 2014-03-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_reporting.php: sla reports with sla
        completion equal to 100 are ok, not "inside limits".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9539 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-03-10 12:08:59 +00:00
mdtrooper 2a3959a11d 2014-03-06 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php,
	operation/visual_console/render_view.php: cleaned source code style.
	
	* include/functions_reporting.php: fixed the legend for the graphs
	into the topn element report.
	
	Incident: #597




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9521 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-03-06 17:46:44 +00:00
zarzuelo 5a2b1b88b4 2014-01-22 Sergio Martin <sergio.martin@artica.es>
* godmode/alerts/alert_view.php: Add exception
	of field1 in recovery fields to the new alert view

	* include/functions_reporting.php
	mobile/operation/agents.php
	mobile/operation/tactical.php
	mobile/include/style/main.css: Improve tactical and
	agents view in mobile console



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9354 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-22 17:29:45 +00:00
mdtrooper b528f359cd 2014-01-22 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.item_editor.php,
	include/constants.php, include/functions_reporting.php: added
	constants and killed magic numbers and unicorns.
	
	* include/functions_modules.php: added function
	"modules_get_modules_in_group".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9353 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-22 12:52:43 +00:00
zarzuelo 019b7846fc 2013-10-29 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php: Merge the logic from the 
	pdf reports to have the same results in both sides for 
	incident #314



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8974 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-10-29 09:57:12 +00:00
zarzuelo 640a535e36 2013-10-14 Sergio Martin <sergio.martin@artica.es>
* include/functions_events.php
	include/functions_reporting.php
	godmode/reporting/reporting_builder.item_editor.php: Fixed filters
	of event reports filters and some visual issues



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8910 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-10-14 14:22:52 +00:00
zarzuelo 41c569631a 2013-10-07 Sergio Martin <sergio.martin@artica.es>
* include/styles/pandora.css
	include/functions_reporting.php
	include/fonts/FreeSans.ttf
	include/fonts/FreeSansBold.ttf
	include/config_process.php
	operation/reporting/reporting_viewer.php
	images/pandora_logo_white.jpg
	godmode/reporting/reporting_builder.list_items.php
	godmode/reporting/reporting_builder.main.php
	godmode/reporting/reporting_builder.php: Fix several visual
	issues in reports. Update FreeSans font. Add some code for
	pdf reports in enterprise side



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8858 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-10-07 08:38:41 +00:00
jsatoh 5f19b4a77a 2013-09-29 Junichi Satoh <junichi@rworks.jp>
include/functions_reporting.php: Added missing %s.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8823 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-09-29 07:07:19 +00:00