Commit Graph

116 Commits

Author SHA1 Message Date
mdtrooper cdb9ccb84b 2014-03-20 Miguel de Dios <miguel.dedios@artica.es>
* images/group_green.disabled.png, images/group_green.png,
	extras/pandoradb_migrate_5.0.x_to_5.1.postgreSQL.sql,
	extras/pandoradb_migrate_5.0.x_to_5.1.oracle.sql,
	extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql,
	godmode/reporting/visual_console_builder.editor.js,
	godmode/agentes/configurar_agente.php, include/styles/pandora.css,
	include/functions_networkmap.php, include/functions_agents.php,
	include/functions_visual_map_editor.php,
	include/functions_modules.php, include/functions_groups.php,
	include/constants.php, include/functions_visual_map.php,
	include/ajax/visual_console_builder.ajax.php, pandoradb.sql,
	pandoradb.postgreSQL.sql, pandoradb.oracle.sql: added the feature to
	show the item for groups in visualmap.
	
	Incident: #671




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9621 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-03-20 16:43:42 +00:00
alexhigh f36f12be56 2014-03-19 Alejandro Gallardo <alejandro.gallardo@artica.es>
* pandoradb_data.sql,
	  pandoradb.data.oracle.sql,
	  pandoradb.data.postgreSQL.sql: Deleted an old link
	and updated the link to the Pandora FMS documentation.

	* pandoradb.sql,
	  pandoradb.postgreSQL.sql,
	  pandoradb.oracle.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 "l2_network" to the table "tnetwork_map".

	* godmode/agentes/module_manager_editor_common.php:
	Added a help tip to a column of relations.

	* include/functions_modules.php: Improved the function
	"modules_relation_exists".

	* operation/agentes/networkmap.topology.php,
	  include/functions_networkmap.php,
	  operation/agentes/networkmap.php: Added a new option
	to show the relations between the agents interfaces.

	* operation/agentes/estado_monitores.php: Added a tooltip
	to show the relations of a monitor in the monitor list.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9618 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-03-19 16:43:08 +00:00
alexhigh 8d70785421 2014-03-18 Alejandro Gallardo <alejandro.gallardo@artica.es>
* pandoradb.data.oracle.sql,
	  pandoradb.data.postgreSQL.sql,
	  pandoradb.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 table "tmodule_relationship".

	* operation/agentes/estado_generalagente.php: Added a
	new table to show the network interfaces of the agent.
	Minor fixes.

	* include/styles/pandora.css: Added properties for the
	class transparent'.

	* include/ajax/module.php: Fixed an error and added code
	to retrieve a module autocomplete input or add, remove
	or update a module relation via ajax.

	* include/functions_modules.php: Added the functions
	"modules_get_relations", "modules_relation_exists",
	"modules_add_relation", "modules_delete_relation" and
	"modules_change_relation_lock".
	
	* godmode/agentes/module_manager_editor_common.php:
	Added a table and control to show, add or delete
	relations with other modules. Added the javascript
	functions "change_modules_autocomplete_input",
	"add_new_relation", "change_lock_relation" and
	"delete_relation".

	* godmode/agentes/module_manager_editor.php: Added a
	line to show the module relations table and control.

	* godmode/agentes/module_manager_editor_network.php:
	Minor fix.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9610 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-03-18 11:49:33 +00:00
zarzuelo 59b2907a7d 2014-02-07 Sergio Martin <sergio.martin@artica.es>
* include/functions_visual_map.php
	include/functions_modules.php
	include/functions_agents.php
	include/constants.php: Add code to new "status"
	Warning fired in visual maps
		
	* mobile/operation/agent.php: Fix first time charge
	of code that set same size to both boxes in agent view



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9413 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-02-07 11:29:20 +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
jsatoh 4c620bc523 2013-12-01 Junichi Satoh <junichi@rworks.jp>
* include/functions_modules.php: Corrected agent counting by module
	group.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9148 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-12-01 02:17:12 +00:00
jsatoh b1e82c8b28 2013-11-27 Junichi Satoh <junichi@rworks.jp>
* include/functions_modules.php: Fixed that some multibyte characters
	are recognized as invalid characters on module creation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9135 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-11-27 04:43:14 +00:00
mdtrooper 6a0bc8087b 2013-10-25 Miguel de Dios <miguel.dedios@artica.es>
* godmode/massive/massive_copy_modules.php,
	include/functions_modules.php: fixed the module massive copy from
	agent with remote configuration to agent without remote
	configuration and with a network module.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8957 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-10-25 10:15:50 +00:00
mdtrooper 6edc77cf67 2013-10-16 Miguel de Dios <miguel.dedios@artica.es>
* godmode/massive/massive_delete_modules.php,
	include/functions_modules.php: fixed the delete modules with
	conf from the massive operations.

2013-10-16 Miguel de Dios <miguel.dedios@artica.es>

	* pandoradb_data.sql,
	extensions/update_manager/sql/update_manager.sql,
	extensions/update_manager/sql/update_manager.postgreSQL.sql,
	extensions/update_manager/sql/update_manager.oracle.sql,
	extensions/system_info.php, pandoradb.data.postgreSQL.sql,
	pandoradb.data.oracle.sql, extras/pandora_diag.php: removed the
	unused path to keygen.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8924 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-10-16 10:30:35 +00:00
mdtrooper b734f6997b 2013-09-25 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_modules.php: made more easy the merge with the
	last branch.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8810 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-09-25 09:36:12 +00:00
juanmanuelr 3a65f2e45b 2013-09-18 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_modules.php: Module name checking 
        for invalid characters added at creation time.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8780 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-09-18 13:39:29 +00:00
ramonn 07c31e3bac 2013-09-05 Ramon Novoa <rnovoa@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,
	  pandoradb.postgreSQL.sql,
	  pandoradb.oracle.sql,
	  godmode/agentes/configurar_agente.php,
	  godmode/agentes/agent_template.php,
	  godmode/agentes/module_manager_editor_common.php,
	  godmode/agentes/module_manager_editor.php,
	  include/functions_modules.php,
	  pandoradb.sql: Added support for module macros.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8747 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-09-05 16:46:21 +00:00
mdtrooper b58faa2944 2013-08-28 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_modules.php: fixed the massive copy modules
	between agents.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8705 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-28 09:16:19 +00:00
mdtrooper a3cae69ef1 2013-08-27 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
	godmode/agentes/module_manager_editor.php,
	godmode/agentes/module_manager_editor_common.php,
	godmode/agentes/configurar_agente.php,
	godmode/massive/massive_edit_modules.php,
	godmode/modules/manage_network_components_form_common.php,
	godmode/modules/manage_network_components.php,
	include/functions_events.php, include/functions.php,
	include/javascript/pandora_modules.js,
	include/functions_network_components.php,
	include/functions_modules.php, include/constants.php, pandoradb.sql,
	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: first version of
	disabled unknown events for modules, now it is implemented in
	modules, massive operations and components, but it is necesary in
	local component, policy,  api, cli, pandora server and recond task.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8701 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-27 13:05:30 +00:00
hkosaka 296004499f 2013-08-19 Hirofumi Kosaka <kosaka@rworks.jp>
* godmode/agentes/module_manager_editor.php,
	godmode/agentes/agent_manager.php,
	godmode/agentes/modificar_agente.php,
	include/functions_agents.php,
	include/functions_modules.php: Added missing enterprise_hook()
	wrapper calls.

	MERGED FROM branch4.x



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8674 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-19 06:43:12 +00:00
zarzuelo b6ae3efc27 2013-08-02 Sergio Martin <sergio.martin@artica.es>
* include/functions_modules.php: Fix modules and 
	alerts count when delete modules massively



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8621 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-02 10:48:30 +00:00
mdtrooper d4f4611b76 2013-08-01 Miguel de Dios <miguel.dedios@artica.es>
* enterprise/godmode/agentes/agent_disk_conf_editor.php,
	enterprise/godmode/agentes/collection_manager.php,
	enterprise/godmode/policies/policy_agents.php,
	enterprise/include/functions_collection.php,
	enterprise/include/functions_policies.php,
	enterprise/include/functions_config_agents.php,
	enterprise/operation/agentes/collection_view.php: fixed and unified
	the code to access the remote config.
	
	MERGED FROM BRANCH PANDORA_4




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8619 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-01 16:20:36 +00:00
zarzuelo 9636e142da 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 6aca7f64b1 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
mdtrooper f1a3a453ca 2013-07-10 Miguel de Dios <miguel.dedios@artica.es>
* godmode/modules/manage_network_components.php: improved the source
	code style.
	
	* include/functions_modules.php: added lost function
	"modules_get_type_id".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8503 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-10 08:46:51 +00:00
mdtrooper 9efbd2c0a0 2013-05-21 Miguel de Dios <miguel.dedios@artica.es>
* operation/search_main.php, operation/search_agents.getdata.php:
	changed the source code, now it uses the page size to show the
	agents in first page, fixed the list of icons, now show graphs and
	set in correct english this icons. And added a footpage in the list
	of agents to show if it is all or not.
	
	Fixes: #2227
	
	* include/constants.php: erased constants to count agents to show
	in the search.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8175 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-05-21 10:17:51 +00:00
mdtrooper 0853d84dcd 2013-05-16 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_incidents.php, include/api.php,
	include/functions.php, include/functions_modules.php,
	include/graphs/flot/pandora.flot.js, include/functions_cron.php,
	include/functions_graph.php: improved the source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8140 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-05-16 09:19:16 +00:00
zarzuelo 9b7201d812 2013-04-26 Sergio Martin <sergio.martin@artica.es>
* include/styles/pandora.css: Fix aesthetical issues

	* include/functions_modules.php: Mark as needy to calculate
	the module status count in an agent when disable/enable one of
	his modules. The part of server to avoid disabled modules in
	counts was made by ramon. BUG #3611683

	* godmode/users/configure_user.php: Fix warnings due the 
	latest fields added to database schemma

	* images/blank.gif: Add a missed image

	* godmode/agentes/agent_template.php: Fix a little feedback
	bug on template application and add category id to the 
	fields copied from components to modules when apply a template



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8068 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-26 12:19:58 +00:00
mdtrooper b1b095e11a 2013-03-13 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_modules.php: fixed the notices PHP.
	
	Fixes: #3607807




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7848 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-13 14:28:52 +00:00
mdtrooper 87c5be69d8 2013-03-13 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_modules.php: fixed the massive deletion of
	modules when only delete one module, the old code deleted all
	modules in the agents on operation.
	
	* godmode/massive/massive_delete_modules.php: cleaned source code
	style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7845 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-13 12:59:29 +00:00
mdtrooper 49aab4ac15 2013-03-05 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_modules.php: improved the style.
	
	* include/functions_reporting.php: fixed into the function
	"reporting_get_agentmodule_sla_array" when have one data of a
	module.
	
	Fixes: #3606811




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7789 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-05 18:04:33 +00:00
mdtrooper e6674e84b1 2013-03-05 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager_editor.php,
	godmode/netflow/nf_item_list.php, include/functions_reporting.php,
	include/functions_modules.php, include/functions_snmp_browser.php,
	include/functions_agents.php, operation/tree.php,
	operation/reporting/reporting_xml.php: improved source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7778 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-05 10:34:29 +00:00
zarzuelo 166106e298 2013-03-04 Sergio Martin <sergio.martin@artica.es>
* include/functions_alerts.php
	include/functions_modules.php
	include/functions_reporting.php
	include/functions_servers.php: Fix counts when validate or
	delete alerts and fix some little bugs of previous commits



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7775 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-04 18:16:00 +00:00
mdtrooper 8de21e7586 2013-02-25 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_modules.php: fixed in function
	"modules_update_agent_module" the check disabled value.
	
	Fixes: #3606060
	
	* general/login_page.php: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7720 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-26 15:36:37 +00:00
mdtrooper 822dfe4186 2013-02-18 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_modules.php,
	operation/agentes/status_monitor.php,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/estado_monitores.php,
	operation/agentes/datos_agente.php, operation/search_modules.php:
	fixed to show strings from for example Selenium Plugin that have
	html tags.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7671 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-18 16:15:31 +00:00
zarzuelo cd7b81f1a9 2013-02-14 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql: Fixed the macros of the
	default plugin MySQL

	* include/functions_groups.php
	include/functions_api.php
	include/functions_ui.php
	include/functions_agents.php
	include/functions_modules.php
	include/constants.php
	operation/agentes/estado_ultimopaquete.php
	godmode/db/db_sanity.php
	godmode/agentes/agent_template.php
	godmode/agentes/configurar_agente.php
	godmode/servers/plugin.php: Create a function to disable
	modules fixing the status counts and replace the old way of
	do it in all the console. Fixin a lot of old way of create 
	and delete modules too to use the centralized function and 
	dont break counts. BUG 3604463



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7651 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-14 12:55:53 +00:00
mdtrooper 6658fe31a3 2013-02-14 Miguel de Dios <miguel.dedios@artica.es>
* godmode/massive/massive_operations.php,
	godmode/massive/massive_enable_disable_alerts.php,
	godmode/massive/massive_standby_alerts.php,
	godmode/tag/edit_tag.php, include/functions_graph.php,
	include/functions_io.php, include/functions_ui.php: cleaned source
	code style.
	
	* include/functions_modules.php: erased deprecated function
	"modules_give_modulecategory_name".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7648 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-14 10:05:16 +00:00
zarzuelo ff0731ba96 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
mdtrooper e146ff6f07 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
juanmanuelr 326d90f985 2013-01-14 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_modules.php
	godmode/extensions.php
	godmode/agentes/configurar_agente.php
	godmode/servers/manage_recontask.php: Merged fixes from branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7444 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-14 09:51:44 +00:00
ramonn f3312d5da0 2012-12-21 Ramon Novoa <rnovoa@artica.es>
* godmode/agentes/agent_template.php,
	  godmode/agentes/configurar_agente.php,
	  godmode/agentes/module_manager.php,
	  include/functions_modules.php: Implemented a real not-init status.
	  Small fixes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7325 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-21 14:53:11 +00:00
ramonn 4b5566d01f 2012-11-20 Ramon Novoa <rnovoa@artica.es>
* include/functions_groups.php,
	  include/functions_agents.php,
	  include/functions_modules.php,
	  include/functions_treeview.php,
	  include/functions_os.php,
	  pandoradb.sql,
	  pandoradb.postgreSQL.sql,
	  install.php,
	  pandoradb.oracle.sql,
	  operation/tree.php,
	  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: Improved tree
	  view performance.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7170 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-20 16:14:45 +00:00
ramonn c13a86afe8 2012-11-14 Ramon Novoa <rnovoa@artica.es>
* include/functions_modules.php,
	  pandoradb.sql,
	  pandoradb.postgreSQL.sql,
	  pandoradb.oracle.sql,
	  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,
	  godmode/agentes/agent_template.php,
	  godmode/agentes/module_manager.php,
	  godmode/agentes/agent_manager.php: Added support for server-side
	  module status calculation.

	* godmode/agentes/configurar_agente.php: Show 'None' when no server is
	  selected for an agent.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7148 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-14 18:54:27 +00:00
mdtrooper 81cde4dc91 2012-10-24 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, pandoradb.sql,
	pandoradb.postgreSQL.sql, pandoradb.oracle.sql: added the fields
	"show_groups", "show_modules" into the table "tnetwork_map".
	
	* include/functions_modules.php: added two parameters
	(flag metaconsole, id_server) into the functions
	"modules_get_agentmodule_is_init", "modules_get_agentmodule_type"
	and "modules_get_agentmodule_status" for to extract data in the
	metaconsole enviroments.
	
	* include/functions_networkmap.php: added two parameters
	(flag metaconsole, id_server) into the functions
	"networkmap_create_agent_node" and "networkmap_create_module_node".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7087 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-24 14:01:54 +00:00
zarzuelo f5008e68ca 2012-10-01 Sergio Martin <sergio.martin@artica.es>
* include/functions_events.php
	general/header.php 
	include/functions_modules.php
	include/javascript/pandora_events.js
	include/ajax/events.php
	include/functions.php
	operation/events/events_list.php
	operation/events/events.php: Change the event details view
	to modal window

	* include/styles/pandora_legacy.css
	include/styles/pandora.css
	images/status_sets/default/severity_major_pixel.png
	images/status_sets/default/severity_minor_pixel.png
	images/status_sets/default/severity_major.png
	images/status_sets/default/severity_minor.png: Change the 
	major/minor icons and colors



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7014 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-01 11:15:31 +00:00
zarzuelo 7ff81bd1dd 2012-09-18 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php
	include/graphs/functions_flot.php
	include/graphs/flot/pandora.flot.js
	operation/agentes/stat_win.php  
	include/functions_modules.php: Added unknown status
	to graphs and improve some little aesthetic things of
	flot graphs

	* include/functions.php
	include/functions_html.php: Fixed html checkbox issue
	with get_parameter_checkbox function



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6980 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-18 09:02:49 +00:00
mdtrooper 9bea1609e1 2012-09-04 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/graph_builder.php,
	include/functions_modules.php, operation/agentes/ver_agente.php:
	cleaned source code style.
	
	* include/functions_html.php: fixed the function "html_print_select"
	when pass the selected as array
	(for example in multiple select box).
	
	* godmode/reporting/reporting_builder.item_editor.php,
	include/functions_reports.php: into the function "get_report_name"
	added parameter $template to get type for content template. And the
	function "get_report_types" renamed for "reports_get_report_types"
	and added the same parameter $template.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6931 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-04 14:04:46 +00:00
zarzuelo 60fc295dc9 2012-08-09 Sergio Martin <sergio.martin@artica.es>
* include/functions_modules.php
	include/functions_groups.php
	include/javascript/pandora.js: Fix minor issues
	in the select for time advanced control. Improve some
	functions to use from metaconsole



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6852 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-09 11:45:33 +00:00
mdtrooper a0026ced53 2012-07-26 Miguel de Dios <miguel.dedios@artica.es>
* operation/users/user_edit.php,
	operation/events/events_validate.php, operation/search_graphs.php,
	godmode/events/event_filter.php, godmode/events/custom_events.php,
	godmode/massive/massive_standby_alerts.php,
	godmode/massive/massive_copy_modules.php, godmode/tag/tag.php,
	godmode/netflow/nf_report.php, godmode/agentes/configure_field.php,
	godmode/agentes/agent_manager.php,
	godmode/agentes/agent_template.php,
	godmode/agentes/fields_manager.php,
	godmode/servers/recon_script.php, godmode/servers/plugin.php,
	include/functions_modules.php: improved the source structure.
	
	* operation/search_modules.php: fixed the search when the modules
	haven't inicialiced.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6814 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-26 11:05:05 +00:00
mdtrooper 9892515199 2012-07-23 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager_editor_prediction.php,
	include/functions_modules.php,
	include/functions_agents.php, operation/tree.php,
	operation/agentes/estado_agente.php: fixed typo bug in the name of
	"agetns_tree_view_status_img" for "agents_tree_view_status_img".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6797 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-23 14:58:33 +00:00
zarzuelo af16327f62 2012-07-16 Sergio Martin <sergio.martin@artica.es>
* include/functions_modules.php: Added a function to get the
	kind of a module (dataserver, networserver...) as a string 
	from the module id



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6781 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-16 16:47:35 +00:00
juanmanuelr 5950c09e08 2012-07-12 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_modules.php
		 include/functions_groups.php
		 include/functions_os.php
		 include/functions_tags.php
		 operation/tree.php: Fixes in tree view counts.
		 
		* operation/agentes/status_monitor.php: Fixed module group 
		filter.
		 
		 Pending to port to branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6766 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-12 18:10:44 +00:00
mdtrooper 9411b1bd79 2012-07-10 Miguel de Dios <miguel.dedios@artica.es>
* include/constants.php: added more constants into the constants
	block of time conversion to seconds.
	
	* godmode/alerts/alert_commands.php, godmode/setup/performance.php,
	include/help/en/help_date_format.php, include/functions_netflow.php,
	include/functions_tags.php, include/graphs/functions_pchart.php,
	include/functions_modules.php, extensions/agents_modules.php,
	extensions/update_manager.php, extensions/resource_exportation.php,
	extensions/module_groups.php,
	extensions/update_manager/lib/libupdate_manager_client.php,
	extensions/system_info.php, operation/events/events_rss.php,
	operation/events/export_csv.php, mobile/operation/events/events.php,
	mobile/include/system.class.php: used the new constants time instead
	the magic numbers, and cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6762 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-10 13:31:34 +00:00
mdtrooper 6c37935339 2012-07-10 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_ui.php: moved the constants for the status
	images to contants file.
	
	* include/constants.php: added the contants for the
	"Agent module status" and added contants for the "Status images"
	from functions_ui.php.
	
	* include/functions_modules.php: killed a unicorn (magic number)
	into the function "modules_get_agentmodule_status".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6761 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-10 11:37:14 +00:00
mdtrooper 104bc62283 2012-07-06 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/visual_console_builder.editor.js,
	godmode/reporting/visual_console_builder.elements.php,
	include/functions_visual_map.php,
	include/ajax/visual_console_builder.ajax.php,
	include/functions_visual_map_editor.php: uploaded some fixes and
	changes for the visualmap, for example refactored some part of
	print the visualmap in operation.
	
	* include/functions_html.php: fixed when included from standarlone
	file from enterprise structure directory.
	
	* include/constants.php: added constants for avoid magic numbers
	into the code of Visualmaps.
	
	* include/graphs/functions_gd.php, include/functions.php,
	include/functions_io.php, include/functions_modules.php,
	include/functions_ui.php: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6747 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-06 11:45:02 +00:00