Commit Graph

374 Commits

Author SHA1 Message Date
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
mdtrooper 32a95a211a 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 fb5b1df2e4 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 a3a82671ee 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 fd64ae1054 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 ec1f12b9ea 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 2f555980ce 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 c8e012b654 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
zarzuelo e4a9035497 2013-07-24 Sergio Martin <sergio.martin@artica.es>
* include/functions_visual_map.php
	include/functions_agents.php
	include/functions_modules.php
	include/functions_reporting.php
	include/constants.php
	operation/agentes/status_monitor.php
	operation/agentes/estado_agente.php
	operation/agentes/estado_monitores.php
	mobile/operation/agents.php
	mobile/operation/modules.php
	godmode/agentes/module_manager.php: Fix typo
	errors on few constants

	* operation/tree.php: Fix status check for 
	async not init modules to set the status in
	modules branch of tree view. Now it depends on
	the server



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8564 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-24 11:06:24 +00:00
zarzuelo 1615c31696 2013-07-24 Sergio Martin <sergio.martin@artica.es>
* include/functions_modules.php
	include/functions_reporting.php
	operation/agentes/estado_monitores.php
	operation/search_agents.php: Fixed several errors on
	module status counts for bug #2338



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8563 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-24 10:27:13 +00:00
zarzuelo 49cc778651 2013-07-23 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php: Few improvements
	of monitor item and top n item on the reports for
	bug #2331

	* godmode/users/user_list.php: Change the default 
	order of the user list to user id, and hide the
	useless first and second name from the view
	(this data is not editable)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8559 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-23 09:17:24 +00:00