Commit Graph

6281 Commits

Author SHA1 Message Date
zarzuelo 1a2310962a 2013-02-13 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/ReconServer.pm: Fix a crash of the Recon Server
	for bug 3603710



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7645 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-13 13:00:00 +00:00
zarzuelo c242d90a23 2013-02-13 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Core.pm
	lib/PandoraFMS/DataServer.pm: Fixed a problem with the status
	field of the modules (forced status) in the dataserver creation
	of the module because using create_module_from_hash. 
	Order some code of the same part of the Dataserver



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7644 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-13 12:36:08 +00:00
mdtrooper 9af80162bf 2013-02-13 Miguel de Dios <miguel.dedios@artica.es>
* include/config_process.php: fixed the lost initial value for
	the "homeurl_static" in $config when the pandora is for upgrade from
	version 4.
	
	Fixes: #3604288




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7642 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-13 12:26:19 +00:00
mdtrooper 29e6819e69 2013-02-13 Miguel de Dios <miguel.dedios@artica.es>
* extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql: fixed a important
	bug when try to upgrade a Pandora4 (SVN version or updated version)
	to Pandora5 or have user defined groups in the table
	"tnetwork_component_group" that throw error when try to upgrade and
	stop the upgrading.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7641 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-13 12:23:49 +00:00
zarzuelo 69aef3596b 2013-02-13 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_flot.php
	include/graphs/flot/pandora.flot.js
	operation/agentes/stat_win.php: Improve the legend of the
	interactive graphs for bug 3573814



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7640 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-13 09:41:59 +00:00
zarzuelo d34059d6cd 2013-02-13 Sergio Martin <sergio.martin@artica.es>
* include/styles/dialog.css
	general/login_help_dialog.php: Fix an ugly bar of the
	modal windows and enlarge 20px the height of the
	Welcome modal window to avoid scroll bar in most 
	browsers



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7639 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-13 08:53:18 +00:00
mdtrooper d1aa73cd79 2013-02-12 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/planned_downtime.list.php,
	godmode/agentes/planned_downtime.editor.php: fixed the planned
	downtime.
	
	Fixes: #3602365




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7638 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-12 18:25:34 +00:00
mdtrooper 83c40c5a7d 2013-02-12 Miguel de Dios <miguel.dedios@artica.es>
* lib/PandoraFMS/Core.pm: fixed the planned downtime.
	
	Fixes: #3602365




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7637 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-12 18:24:08 +00:00
zarzuelo ff11353b5b 2013-02-12 Sergio Martin <sergio.martin@artica.es>
* include/functions_config.php: Fixed the update of the
	inventory changes black list on setup for bug 3604298



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7636 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-12 16:50:08 +00:00
slerena 347f6d25b1 2013-02-12 Sancho Lerena <slerena@artica.es>
* conf/pandora_server.conf: review of all file and removed
        some bad parameters (netflow daemon and other values).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7635 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-12 16:38:01 +00:00
zarzuelo 6766d44321 2013-02-12 Sergio Martin <sergio.martin@artica.es>
* include/help/en/help_warning_status.php
	include/help/en/help_critical_status.php
	include/help/es/help_warning_status.php
	include/help/es/help_critical_status.php: Improved the
	really poor help of warning and critical status for
	bug 3600787

	* godmode/agentes/module_manager_editor_common.php: Added
	checks to hide de useless status threshold. Now
	the min and max thresholds are shown only in numeric modules
	and the string field only in string ones



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7634 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-12 16:33:01 +00:00
Ramon Novoa 66573ac342 2013-02-12 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Fixed the verbosity of the "Processing
	  module" message.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7633 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-12 16:27:34 +00:00
slerena 2c6559bcbd 2013-02-12 Sancho Lerena <slerena@artica.es>
* conf/pandora_server.conf: Review of default configuration
        values and some new description / comments.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7632 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-12 16:07:27 +00:00
zarzuelo b2614ea891 2013-02-12 Sergio Martin <sergio.martin@artica.es>
* include/functions_modules.php
	operation/agentes/estado_ultimopaquete.php
	operation/agentes/estado_monitores.php: Protect the data
	of the string modules from the numeric format
	in the visualization for bug 3600790
	Added snapshot feature to the data view of the modules



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7631 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-12 14:57:01 +00:00
zarzuelo bb5c5dd554 2013-02-12 Sergio Martin <sergio.martin@artica.es>
* godmode/agentes/configurar_agente.php: Changed the call of 
	an Enterprise function to use HOOK to avoid errors in
	Open version



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7630 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-12 13:42:24 +00:00
slerena e90d79b1e7 2013-02-12 Sancho Lerena <slerena@artica.es>
* extensions/update_manager/load_updatemanager.php
        extensions/update_manager/settings.php
        extensions/update_manager/main.php: removed binary system in 
        update manager. Removed two fields in setup and reformatted
        popup window on update info. This goes in 4.0.3 SP1.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7629 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-12 12:28:58 +00:00
zarzuelo c873136d4c 2013-02-12 Sergio Martin <sergio.martin@artica.es>
* extensions/plugin_registration.php: Added a extra Parameter in the 
	conversion of plugins version 1 to 2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7627 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-12 11:42:29 +00:00
zarzuelo 69da437d2b 2013-02-12 Sergio Martin <sergio.martin@artica.es>
* extensions/plugin_registration.php: Recommit the last fix of
	plugin registration



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7626 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-12 11:22:55 +00:00
slerena ab1acb605d 2012-02-12 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: tserver table type is now InnoDB after modifying
        some indexes which was causing locks and corruption.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7625 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-12 10:49:40 +00:00
hkosaka 474d7775e9 2013-02-12 Hirofumi Kosaka <kosaka@rworks.jp>
* pandora_agent: Fixed bug that data transfer would fail
	when secondary_transfer_mode is different from transfer_mode.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7623 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-12 02:38:48 +00:00
Ramon Novoa 3a8967f920 2013-02-11 Ramon Novoa <rnovoa@artica.es>
* extensions/update_manager/load_updatemanager.php: Removed the keygen
	  from update manager since it was not working well.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7622 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-11 17:04:25 +00:00
zarzuelo 96e7eaee45 2013-02-11 Sergio Martin <sergio.martin@artica.es>
* include/functions_network_components.php
	godmode/modules/manage_network_components_form.php: Fix the default
	interval when create network component. Fix the clone network components
	fields to update all of them for bug 3595231



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7621 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-11 14:24:28 +00:00
zarzuelo 6bca51ad6a 2013-02-11 Sergio Martin <sergio.martin@artica.es>
* include/functions_ui.php
	general/header.php: Move some javascript and css inclusions
	from header file to ui_process_page_head function to still 
	having this files when in full screen mode 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7620 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-11 12:40:43 +00:00
zarzuelo 33f977980e 2013-02-11 Sergio Martin <sergio.martin@artica.es>
* godmode/users/user_list.php: Fix pagination on users list



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7619 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-11 11:50:06 +00:00
mdtrooper 182e5a32a2 2013-02-11 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_servers.php, extensions/plugin_registration.php:
	cleaned source code.
	
	* godmode/reporting/reporting_builder.item_editor.php: fixed the
	usability for the SQL items in the reports.
	
	Fixes: #3573455




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7618 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-11 11:43:32 +00:00
mdtrooper ebfd1535fe 2013-02-11 Miguel de Dios <miguel.dedios@artica.es>
* godmode/menu.php, godmode/alerts/configure_alert_template.php,
	godmode/alerts/alert_actions.php,
	godmode/agentes/agent_template.php,
	godmode/massive/massive_delete_agents.php: cleaned source code.
	
	* include/functions_html.php: added the weeks in the input for
	times.
	
	* operation/agentes/stat_win.php: fixed the malformated table when
	show extended options in the time widget.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7617 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-11 10:26:16 +00:00
zarzuelo 50d963745a 2013-02-11 Sergio Martin <sergio.martin@artica.es>
* operation/gis_maps/index.php
	godmode/gis_maps/index.php: Fixed ACL access of 
	not admin users to the maps of group All on GIS

	* godmode/users/configure_user.php: Change a string to
	crearify the tags ACLs assignation



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7616 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-11 10:11:00 +00:00
zarzuelo 51d3057ae6 2013-02-08 Sergio Martin <sergio.martin@artica.es>
* godmode/groups/configure_group.php: Fixed some bugs on
	the group icons in the groups form



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7615 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-08 11:45:51 +00:00
zarzuelo 31ab8c1a3f 2013-02-08 Sergio Martin <sergio.martin@artica.es>
* godmode/servers/plugin.php: Prepare plugin manager to be used 
	from metaconsole



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7614 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-08 09:28:25 +00:00
Ramon Novoa 0cf9ab99f4 2013-02-07 Ramon Novoa <rnovoa@artica.es>
* operation/menu.php: Fixed the SNMP menu.

	* operation/snmpconsole/snmp_browser.php: Small improvements.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7613 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-07 18:55:59 +00:00
Ramon Novoa ba5ed7b35b 2013-02-07 Ramon Novoa <rnovoa@artica.es>
* attachment/mibs,
	  operation/snmpconsole/snmp_browser.php,
	  operation/snmpconsole/snmp_mib_uploader.php,
	  operation/tree/first_leaf.png: Added to repository. SNMP browser.

	* operation/menu.php: Moved SNMP related features to a new SNMP menu.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7612 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-07 18:21:59 +00:00
zarzuelo 788d6cea3d 2013-02-07 Sergio Martin <sergio.martin@artica.es>
* extensions/plugin_registration.php: Fixed the PSPZ registration
	when max retries are not defined on the ini file
	FIX: 3603725



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7611 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-07 17:42:14 +00:00
zarzuelo c4af2b67ca 2013-02-07 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Core.pm
	lib/PandoraFMS/DataServer.pm: Clean code on Dataserver,
	improve error message when ignore GIS data, and change the
	way of update parent info (only in learning mode now)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7610 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-07 17:01:10 +00:00
zarzuelo d455362c0a 2013-02-07 Sergio Martin <sergio.martin@artica.es>
* godmode/agentes/agent_conf_gis.php
	godmode/agentes/agent_manager.php
	godmode/massive/massive_edit_agents.php: Change a strings of 
	ignore gis option in agent configuration to be more usable



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7609 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-07 16:54:21 +00:00
slerena 66c535cec4 2013-02-07 Sancho Lerena <slerena@artica.es>
* pandora_server_installer: Fixed missing JSON dependecy
        error output (suse, redhat, debian, bsd). Updated version
        strings and banner.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7608 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-07 16:53:01 +00:00
mdtrooper 0d28050410 2013-02-07 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_ui.php, include/ajax/agent.php: improved the
	widget of autocomplete agent, now show first the agents with same
	name to the search, second block with the agents with the address
	same to the search and the last block is the agents with the
	description with the same to the search.
	
	Fixes: #3603692
	
	* godmode/modules/manage_nc_groups.php,
	godmode/modules/manage_network_templates.php,
	godmode/modules/manage_network_templates_form.php: improved the code
	style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7607 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-07 15:53:04 +00:00
mdtrooper fc7c2f8430 2013-02-07 Miguel de Dios <miguel.dedios@artica.es>
* godmode/db/db_refine.php, godmode/servers/plugin.php: improved
	the code style.
	
	* include/functions_reporting.php: fixed the SLA when it is the
	equal to limit.
	
	Fixes: #3602722




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7606 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-07 13:43:23 +00:00
mdtrooper 53e5025f1d 2013-02-07 Miguel de Dios <miguel.dedios@artica.es>
* godmode/modules/manage_network_components_form_common.php: fixed
	the show types of module.
	
	MERGED FROM THE PANDORA_4




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7605 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-07 12:13:39 +00:00
mdtrooper d1170bab4f 2013-02-07 Miguel de Dios <miguel.dedios@artica.es>
* godmode/users/user_list.php, godmode/users/profile_list.php,
	godmode/users/configure_user.php,
	godmode/users/configure_profile.php, godmode/db/db_audit.php,
	include/functions_reporting.php: cleaned source code style.
	
	* include/functions_graph.php: fixed the default parameter
	$adapt_Key in the function "grafico_modulo_string".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7601 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-07 10:57:52 +00:00
zarzuelo caad696367 2013-02-06 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/NetworkServer.pm
	lib/PandoraFMS/Tools.pm: Added check to the ping latency
	modules to difference the fail from the 0 latency. Now
	when the IP doenst exist or the ping fail, the module
	doesnt report any data. FIX: 3543467



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7600 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-06 18:01:53 +00:00
zarzuelo baa12cb90d 2013-02-06 Sergio Martin <sergio.martin@artica.es>
* include/functions_users.php
	include/functions_html.php: Added a new parameter
	on groups select functions to use any field as key
	of the select. Until now, the field used was only ID

	* include/functions_graph.php: Added a full url
	to the agent access graphs to show the menu of the
	interactive graphs in the metaconsole too: BUG 3592080



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7599 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-06 16:46:01 +00:00
mdtrooper db0aab59c0 2013-02-06 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/flot/pandora.flot.js: cleaned source code style.
	
	* include/graphs/functions_utils.php: fixed the unasigned var.
	
	Fixes: #3603439




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7597 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-06 15:18:08 +00:00
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