Commit Graph

384 Commits

Author SHA1 Message Date
Alejandro Gallardo Escobar 144deab9d6 Fixed the agent module sla array data for the slicebar 2014-11-18 18:22:23 +01:00
Alejandro Gallardo Escobar b7949f9b4a Merge branch 'feature/ticket#1554-ServicesSLA' into develop 2014-11-17 18:32:20 +01:00
Alejandro Gallardo Escobar 8587b8c265 Removed some graphs on the sla reports 2014-11-17 17:54:18 +01:00
Alejandro Gallardo Escobar a12153dd6e Now the only average value of the simple graphs can be deactivated 2014-11-13 20:04:08 +01:00
Alejandro Gallardo Escobar 40d67cc40c Minor changes on the function "reporting_get_planned_downtimes_intervals" call 2014-11-12 18:02:04 +01:00
Alejandro Gallardo Escobar 1018edcffd Improved some SLA functions to stop the calculations when the module id is invalid 2014-11-07 12:44:36 +01:00
Alejandro Gallardo Escobar 5e18e85b5d Fixed the error messages of the planned downtimes queries 2014-11-06 17:39:24 +01:00
Alejandro Gallardo Escobar c9a13aa255 Improved the performance of the planned downtimes queries 2014-10-23 13:01:00 +02: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 266e3a81c5 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 38054cc265 Fixed performance errors related with the planned downtimes functions 2014-10-15 14:52:00 +02:00
Alejandro Gallardo Escobar 8a9954f3cf Fixes on the SLA report items 2014-10-10 16:07:57 +02:00
Alejandro Gallardo Escobar 39d3ebdc2a Error fixes on the report SLA item 2014-10-09 19:56:06 +02:00
Alejandro Gallardo Escobar c779f200c6 Error fixes on the report SLA item 2014-10-09 18:57:10 +02:00
Alejandro Gallardo Escobar 2f0099f6e4 Fixed the planned downtimes info for the SLA report item on the metaconsole 2014-10-09 17:44:52 +02:00
Alejandro Gallardo Escobar 4f9eb55f74 Fixed a require on the function "reporting_render_report_html_item" 2014-10-09 16:52:45 +02:00
Alejandro Gallardo Escobar bba4ad164e Fixed some planned downtimes queries 2014-10-09 14:39:04 +02:00
Alejandro Gallardo Escobar c4bb8987dd Added a check for malformed planned downtimes to the report item 'SLA' 2014-10-08 18:51:16 +02:00
Alejandro Gallardo Escobar 3100189344 Fixed an error on the function "reporting_get_planned_downtimes_intervals" 2014-10-08 16:08:09 +02:00
Alejandro Gallardo Escobar b55fdfd16b Fixed an infinite loop on the function "reporting_get_planned_downtimes_intervals" 2014-10-08 14:57:36 +02:00
Alejandro Gallardo Escobar cc96c8141e 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 b93e2b98fc Increased the graph size. Now the simple graphs can be interactive 2014-10-01 15:28:41 +02:00
Alejandro Gallardo Escobar 03689c8c6d 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 004a9ff7b4 Visual improvements on the graphs of the function "reporting_network_interfaces_table" 2014-10-01 12:21:35 +02:00
Alejandro Gallardo Escobar 18caec5590 Minor update on the function "reporting_network_interfaces_table" 2014-09-30 16:28:52 +02:00
Alejandro Gallardo Escobar c73d901873 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 7d6ff04744 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 9a8818b6a4 Fixed graph of tactical view in metaconsole. 2014-09-29 11:19:51 +02:00
Alejandro Gallardo Escobar eeb9725334 Merge branch 'feature/ticket#1243-PlannedDowntime' into develop 2014-09-22 11:48:22 +02:00
Alejandro Gallardo Escobar bb3330f783 Error fixes and improvements. Improved the help tips of the planned downtimes editor 2014-09-19 17:30:17 +02:00
Alejandro Gallardo Escobar 013a00e9ce 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 2bd3a104bd 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 e85957d7e6 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 e9998e7bda Remove 'sla_period'. Ticket #1282 2014-09-17 17:22:43 +02:00
Alejandro Gallardo Escobar 483fb6c65c Moved some code to the new function "reporting_get_planned_downtimes_intervals" 2014-09-16 15:33:10 +02:00
mdtrooper 8bf33754e5 Fixed the server performance stadistics. TIKET #1272 2014-09-16 13:47:41 +02:00
Alejandro Gallardo Escobar 01c0ddeff9 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 5edbda24c6 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 478d521f59 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 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 5f1f44fb9a 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 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
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
zarzuelo fe36d8e2c3 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 4a7d2dbea4 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 cd56ef2542 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 40c3a501b9 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 0b7a657d56 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
Ramon Novoa 5787f7d97e 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 fe7067425f 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