Commit Graph

6239 Commits

Author SHA1 Message Date
mdtrooper 5767594f30 2013-02-06 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php, include/functions_ui.php,
	operation/reporting/reporting_viewer.php,
	operation/agentes/snapshot_view.php: improved the code style.
	
	* include/functions_html.php: added other parameter in print
	checkbox for to avoid to put a hidden input.
	
	Fixes: #3602766




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7596 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-06 14:03:32 +00:00
mdtrooper 4006fbe500 2013-02-06 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php: uploaded the lost character key.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7595 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-06 11:00:51 +00:00
zarzuelo 2206967c68 2013-02-06 Sergio Martin <sergio.martin@artica.es>
* include/functions_treeview.php: Fixed repeated messages on
	treeview in metaconsole mode and fix some performance and
	aesthetic issues



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7594 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-06 10:45:06 +00:00
mdtrooper 04a857da4e 2013-02-05 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_monitores.php,
	operation/agentes/datos_agente.php, godmode/setup/setup.php,
	include/functions_config.php: added the can disabled the command
	snapshot.
	
	Fixes: #3602773
	
	MERGED FROM PANDORA_4




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7593 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-05 17:44:21 +00:00
zarzuelo 55242bc40f 2013-02-05 Sergio Martin <sergio.martin@artica.es>
* operation/events/events_list.php
	godmode/events/event_edit_filter.php
	godmode/events/event_filter.php: Fix a lot of fails in the
	event filters editor and the reset of the tags list when
	select "none" filter

	* operation/events/events.build_query.php: Fix 
	bad behavior in tags filter in events view




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7591 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-05 17:24:37 +00:00
slerena 03d65be167 2013-02-05 Sancho Lerena <slerena@artica.es>
* util/pandora_manage.pl: Added feature for adding
        custom traps. Improved help format syntax.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7590 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-05 17:09:18 +00:00
mdtrooper 63a9aa54a7 2013-02-05 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_modules.php: added function
	"modules_check_agentmodule_exists".
	
	Fixes: #3602773
	
	* include/functions_agents.php: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7589 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-05 16:39:11 +00:00
mdtrooper b3a8f7da1b 2013-02-05 Miguel de Dios <miguel.dedios@artica.es>
* ajax.php: added the autologin hash for some ajax call of user
	without login (but with hash autologin).
	
	* godmode/reporting/reporting_builder.list_items.php,
	include/db/mysql.php: cleaned source code style.
	
	* include/functions_reporting.php, include/functions_events.php,
	operation/reporting/reporting_xml.php: optimized the get by steps
	the group events.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7588 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-05 14:46:16 +00:00
slerena d6a6bca86d 2013-02-05 Sancho Lerena <slerena@artica.es>
* operation/menu.php: Fixed duplicity in SNMP trap menu. SNMP
        options are inside the "Monitoring" sub section. Removed 
        "standalone" option, which have missing suboptions.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7587 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-05 12:27:50 +00:00
mdtrooper 576e4b9f75 2013-02-05 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php,
	include/javascript/openlayers.pandora.js, operation/menu.php,
	operation/gis_maps/render_view.php, godmode/menu.php: fixed the
	height of maps when the menu is short.
	
	Fixes: #3602800
	
	MERGED FROM PANDORA_4




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7586 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-05 11:30:04 +00:00
zarzuelo a95d32b26b 2013-02-05 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/visual_console_builder.editor.php: Fixed missed
	javascript and resource files inclusion in metaconsole for 
	bug #3602775



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7584 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-05 11:13:49 +00:00
mdtrooper e7c8f0037d 2013-02-05 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager.php,
	godmode/agentes/configurar_agente.php: fixed the load the module
	editor form into the policies.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7583 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-05 09:13:41 +00:00
slerena 8e3abe7d63 2013-02-05 Sancho Lerena <slerena@artica.es>
* pandoradb_data.sql: Improved default config values.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7582 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-05 09:03:42 +00:00
slerena 4e87e8c2a5 2013-02-04 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Core.pm: Fix a broken query of my last 
	commit



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7581 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-05 09:02:39 +00:00
zarzuelo 31ea02f4ad 2013-02-05 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Core.pm: Set ack utimestamp when create
	a event in validated status (normal status)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7580 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-05 08:39:25 +00:00
mdtrooper 53f63357f6 2013-02-04 Miguel de Dios <miguel.dedios@artica.es>
* godmode/modules/manage_network_components.php: cleaned source code
	style.
	
	* operation/netflow/nf_live_view.php: fixed the lost to simplified
	the filter.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7579 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-04 17:38:02 +00:00
mdtrooper f31fdc5546 2013-02-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_ui.php: fixed the javascript of function
	"ui_toggle".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7578 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-04 17:21:04 +00:00
Ramon Novoa 639e0edcb0 2013-02-04 Ramon Novoa <rnovoa@artica.es>
* include/functions_config.php: Added the config variable
	  netflow_disable_custom_lvfilters.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7577 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-04 16:57:39 +00:00
zarzuelo d2eb095526 2013-02-04 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Core.pm: Fix a broken query of my last 
	commit



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7576 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-04 16:16:18 +00:00
zarzuelo 37c1a95c63 2013-02-04 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Core.pm:  Set the last_known_status when
	process module to fix an error of "to normal" status
	events generation



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7575 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-04 15:34:02 +00:00
mdtrooper 8b8c499b0f 2013-02-04 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/events.php: fixed exotic bug with the var name
	history in the javascript.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7574 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-04 15:12:16 +00:00
mdtrooper 6332c80690 2013-02-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php: re-enabled the baseline for the
	reports.
	
	Fixes: #3599961




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7573 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-04 14:47:08 +00:00
mdtrooper c101cd13c3 2013-02-04 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.item_editor.php: fixed the
	ovewrite the var $sql from netflow filter.
	
	Fixes: #3602194




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7572 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-04 14:19:05 +00:00
mdtrooper 20d5276ff0 2013-02-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_xml.php, include/functions_reporting.php,
	operation/reporting/reporting_xml.php: fixed the SLA agent name
	with entities differents to hexadecimal entities. And fixed the
	serialized data when has not separators.
	
	Fixes: #3602204




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7571 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-04 14:07:28 +00:00
mdtrooper c5c2aa50da 2013-02-04 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.item_editor.php: fixed lost
	global var $meta in the SLA table.
	
	Fixes: #3602721




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7570 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-04 13:05:52 +00:00
mdtrooper 70a09b3625 2013-02-04 Miguel de Dios <miguel.dedios@artica.es>
* operation/search_modules.php: fixed the image to edit.
	
	* include/functions_html.php: fixed check string values in function
	"html_print_input_hidden".
	
	Fixes: #3603084




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7569 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-04 12:43:05 +00:00
mdtrooper a924c8d2dd 2013-02-04 Miguel de Dios <miguel.dedios@artica.es>
* operation/search_modules.php: added edit button when the user can
	edit.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7568 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-04 12:36:50 +00:00
mdtrooper c2a39c1ee8 2013-02-04 Miguel de Dios <miguel.dedios@artica.es>
* install.php: cleaned source code style.
	
	* godmode/netflow/nf_edit.php, include/functions_netflow.php: fixed
	the empty data.
	
	Fixes: #3603092




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7567 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-04 12:19:17 +00:00
mdtrooper 0d9606c92f 2013-02-04 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora_alerts.js: cleaned source code style.
	
	* include/functions_graph.php: added lost function
	"graph_events_validated".
	
	Fixes: #3603110




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7566 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-04 10:22:56 +00:00
mdtrooper 421197f66f 2013-02-04 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/configure_alert_action.php: fixed sustitution the
	values in the macros when load a action.
	
	Fixes: #3603125




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7565 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-04 09:55:38 +00:00
mdtrooper 3750c7fc46 2013-02-04 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/alert_list.list.php,
	godmode/reporting/graph_builder.php, godmode/setup/news.php,
	godmode/setup/setup_general.php, godmode/netflow/nf_edit_form.php,
	godmode/db/db_purge.php, godmode/db/db_main.php,
	godmode/extensions.php, include/functions_reporting.php,
	operation/reporting/reporting_viewer.php: improved the source code
	style.
	
	* operation/reporting/reporting_xml.php, include/functions_xml.php:
	fixed the output of xml when have some html entities that is not
	as hexadecimal entities.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7564 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-04 09:21:27 +00:00
jsatoh b98b045203 2013-02-04 Junichi Satoh <junichi@rworks.jp>
* include/help/ja/help_events_replication.php: Added more info as
	the same as english one.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7563 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-04 06:40:11 +00:00
mdtrooper cc2cf11837 2013-02-01 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/functions_utils.php: fixed check color and legends
	for stacked graphs when haven't set colors all graphs.
	
	Fixes: #3602725




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7562 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-01 13:28:49 +00:00
zarzuelo 70502d2ce9 2013-02-01 Sergio Martin <sergio.martin@artica.es>
* include/functions_ui.php
	include/functions_treeview.php: Delete server from
	detail of modules in treeview and other little fixes

	* include/functions_config.php: Added autocreation
	of some conf tokens when dont exist

	* include/help/en/help_events_replication.php
	include/help/es/help_events_replication.php: Added
	more info in the events replication help text



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7561 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-01 12:53:33 +00:00
mdtrooper d7515df8c6 2013-02-01 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.php,
	godmode/reporting/reporting_builder.item_editor.php,
	godmode/reporting/reporting_builder.list_items.php: fixed the
	autocomplete agent when edit or create a item for report that put
	the server name but now don't put anything.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7560 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-01 11:38:57 +00:00
jsatoh 8b67d72b9d 2013-02-01 Junichi Satoh <junichi@rworks.jp>
* godmode/setup/setup.php: Fixed error without enterprise.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7558 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-01 04:33:10 +00:00
Ramon Novoa b8ce800b7a 2013-01-31 Ramon Novoa <rnovoa@artica.es>
* extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	  pandoradb.sql: Removed some indexes that caused deadlocks on high
	  load scenarios.

	* godmode/setup/setup_general.php,
	  include/functions_config.php: Added support for event storm
	  protection.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7557 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-31 18:05:22 +00:00
Ramon Novoa 272ff3ec26 2013-01-31 Ramon Novoa <rnovoa@artica.es>
* bin/pandora_server,
	  conf/pandora_server.conf,
	  lib/PandoraFMS/Config.pm,
	  lib/PandoraFMS/Core.pm,
	  util/pandora_manage.pl: Added support for event storm protection and
	  disabling auto event validation.

	* lib/PandoraFMS/Server.pm: Improved the server status update function
	  to use run less queries.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7556 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-31 18:02:41 +00:00
mdtrooper aa49c338f4 2013-01-31 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/visual_console_builder.editor.js: fixed a
	fucking infinite loop thanks javascript for hidden threads.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7555 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-31 17:40:56 +00:00
mdtrooper 79a5c23816 2013-01-31 Miguel de Dios <miguel.dedios@artica.es>
* include/styles/jquery-ui-1.10.0.custom.css,
	include/styles/images/ui-*,
	include/javascript/jquery.jquery-ui-1.10.0.custom.js,
	include/javascript/jquery-1.9.0.js: added the last version of
	jquery and jqueryUI.

	* godmode/reporting/visual_console_builder.editor.js,
	include/ajax/events.php, include/functions_events.php,
	include/functions_reporting.php,
	include/javascript/pandora_events.js,
	include/javascript/jquery.scrollTo.js,
	include/javascript/jquery.tablesorter.pager.js,
	include/javascript/jquery.tablesorter.js, include/functions_ui.php,
	extensions/update_manager/lib/functions.php,
	extensions/update_manager/main.php, extensions/agents_alerts.php,
	operation/events/events.php, general/login_page.php,
	general/logoff.php, general/header.php,
	general/login_help_dialog.php: fixes about the new jquery and
	jqueryUI version.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7554 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-31 16:49:08 +00:00
mdtrooper b06436b3d0 2013-01-30 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_generalagente.php,
	include/functions_graph.php, include/graphs/functions_flot.php,
	include/graphs/fgraph.php, include/graphs/flot/pandora.flot.js:
	fixed the graph of events, now the pie graphs in "flot mode" has
	a parammeter to force the position of legend.
	
	Fixes: #3602206




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7553 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-30 16:29:49 +00:00
juanmanuelr be7e5dc1f4 2013-01-30 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	 extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	 extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Added 
	meta_num_elements token to tconfig in pandora db dump.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7552 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-30 16:07:18 +00:00
mdtrooper 80bd04ca3c 2013-01-30 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/modificar_agente.php: fixed the menu to showing
	in the link to view agent.
	
	* operation/agentes/estado_monitores.php: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7551 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-30 14:09:28 +00:00
mdtrooper 4b174a29b0 2013-01-30 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/planned_downtime.list.php, include/db/oracle.php,
	include/Image/image_functions.php,
	operation/events/events.build_table.php,
	operation/messages/message_edit.php, operation/users/user_edit.php,
	operation/tree.php: improved the source style.
	
	* include/constants.php: added constants for the subtype of modules.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7550 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-30 13:53:02 +00:00
zarzuelo 470864b136 2013-01-30 Sergio Martin <sergio.martin@artica.es>
* godmode/events/event_responses.editor.php: Little fix
	in a tooltip



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7549 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-30 08:22:56 +00:00
zarzuelo 7503c5ca37 2013-01-30 Sergio Martin <sergio.martin@artica.es>
* include/functions_ui.php: Fixed help popups to 
	be used from metaconsole too

	* godmode/events/event_responses.editor.php: Added
	a little help tip in the windows type of event
	responses editor



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7548 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-30 08:18:40 +00:00
mdtrooper 3b22a943a8 2013-01-29 Miguel de Dios <miguel.dedios@artica.es>
* godmode/groups/group_list.php, include/ajax/events.php,
	include/functions_api.php: improved the style code.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7547 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-29 18:03:08 +00:00
darode 3ccd6225d2 2013-01-29 Dario Rodriguez <dario@artica.es>
* images/pandora_report_logo.png: Added new images missed for
        report cover.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7546 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-29 17:12:30 +00:00
mdtrooper 9aaa5bf615 2013-01-29 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: fixed the lost columns in the
	item general and added what "agent-module(op)" is the max and min
	and added in the resume the units.
	
	Fixes: #3602208




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7545 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-29 17:08:41 +00:00
mdtrooper b3184d23af 2013-01-29 Miguel de Dios <miguel.dedios@artica.es>
* godmode/menu.php, include/db/oracle.php, include/db/mysql.php,
	include/functions_categories.php, include/functions_db.php,
	include/functions_menu.php: improved the code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7544 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-29 15:50:45 +00:00