Commit Graph

6047 Commits

Author SHA1 Message Date
mdtrooper a495c5e7b1 2012-12-06 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php, include/functions_html.php,
	include/functions_netflow.php: cleaned source code style.
	
	* include/db/mysql.php: fixed into the function
	"mysql_db_process_sql" a big bug that runs fine the select querys in
	a metaconsole enviorement with several DBs but the insert querys
	make in the previous connection.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7235 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-06 18:12:28 +00:00
mdtrooper 1f4a1a3db6 2012-12-06 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php,
	operation/integria_incidents/incident.php,
	godmode/massive/massive_delete_modules.php,
	godmode/modules/manage_network_templates_form.php,
	godmode/modules/manage_network_components_form_plugin.php,
	godmode/agentes/fields_manager.php,
	godmode/agentes/module_manager.php, godmode/users/profile_list.php,
	godmode/events/event_filter.php: cleaned source code style.
	
	* operation/tree.php: fixed the url to childrem consoles from the
	metaconsole tree.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7234 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-06 12:52:01 +00:00
Ramon Novoa 278f4ee169 2012-12-05 Ramon Novoa <rnovoa@artica.es>
* pandoradb_data.sql,
	  include/functions_config.php,
	  include/functions_netflow.php,
	  operation/netflow/nf_live_view.php,
	  pandoradb.data.postgreSQL.sql,
	  pandoradb.data.oracle.sql,
	  godmode/setup/setup_netflow.php,
	  godmode/netflow/nf_edit_form.php: Performance improvements. Use csv
	  output to avoid using regular expressions. Removed byte, flow and
	  packet unit and added kilobyte, megabyte, kilobytes per second and
	  megabytes per second.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7232 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-05 17:29:06 +00:00
zarzuelo a973eec629 2012-12-05 Sergio Martin <sergio.martin@artica.es>
* godmode/agentes/module_manager_editor_common.php
	godmode/agentes/configurar_agente.php
	godmode/agentes/module_manager_editor.php
	godmode/menu.php
	godmode/category
	godmode/category/category.php
	godmode/category/edit_category.php: Add categories editor
	and the category combo in the modules editor



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7231 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-05 17:02:47 +00:00
mdtrooper fbdc052f00 2012-12-05 Miguel de Dios <miguel.dedios@artica.es>
* extensions/update_manager/lib/libupdate_manager_client.php,
	extensions/update_manager/lib/libupdate_manager.php,
	operation/agentes/ver_agente.php,
	operation/agentes/status_monitor.php,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/estado_agente.php,
	operation/integria_incidents/incident.php,
	operation/reporting/reporting_xml.php,
	godmode/reporting/visual_console_builder.editor.js,
	godmode/reporting/visual_console_builder.wizard.php,
	godmode/reporting/visual_console_builder.elements.php,
	include/functions_visual_map.php,
	include/functions_visual_map_editor.php: uploaded the changes of
	source code style previous to my next commit for to make the next
	commit more easy.
	
	* godmode/reporting/visual_console_builder.php: set empty string
	for the new visualmap.
	
	* include/ajax/visual_console_builder.ajax.php: fixed the regular
	expresion to extract the url for the graph.
	
	* include/functions_html.php: fixed into the function
	"html_print_select_groups" lost code for to show the selectbox.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7230 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-05 14:20:47 +00:00
zarzuelo f3922dda7f 2012-12-05 Sergio Martin <sergio.martin@artica.es>
* 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: Added
	database structure for new feature "module categories"



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7229 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-05 12:55:44 +00:00
zarzuelo 8a7c2b9a76 2012-12-05 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php: Fix a statistics bug on
	compared graphs merged from 4.0.x



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7228 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-05 11:41:52 +00:00
zarzuelo b843bb4131 2012-12-04 Sergio Martin <sergio.martin@artica.es>
* extensions/dbmanager.php
	godmode/servers/recon_script.php: Comment missed check_referer 
	calls to disable it by the moment



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7226 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-04 16:34:36 +00:00
zarzuelo 10342303a1 2012-12-04 Sergio Martin <sergio.martin@artica.es>
* 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/alerts/configure_alert_template.php: Add wizard_level flag to the
	alert templates table



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7225 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-04 15:34:57 +00:00
mdtrooper 03b0fc8a95 2012-12-04 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.php,
	godmode/reporting/map_builder.php,
	godmode/reporting/visual_console_builder.php,
	godmode/reporting/visual_console_builder.data.php,
	include/functions_visual_map_editor.php,
	operation/reporting/reporting_xml.php,
	operation/agentes/exportdata.excel.php,
	operation/agentes/ver_agente.php,
	operation/agentes/status_monitor.php,
	operation/agentes/alerts_status.php,
	operation/agentes/exportdata.csv.php: uploaded the changes of source
	code style previous to my next commit for to make the next commit
	more easy.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7224 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-04 12:21:39 +00:00
Ramon Novoa 88c6d89c5a 2012-12-03 Ramon Novoa <rnovoa@artica.es>
* include/functions_treeview.php: Fixed id decoding under the
	  metaconsole.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7223 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-03 17:58:15 +00:00
juanmanuelr d657f0fd0e 2012-12-03 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* pandoradb_data.sql
	 pandoradb.data.postgreSQL.sql
	 pandoradb.data.oracle.sql: Added meta_num_elements token in tconfig
	 to support metaconsole views with a lot of elements.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7222 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-03 14:47:27 +00:00
juanmanuelr eb90c6b7e6 2012-12-03 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_reporting.php: Added agent statistics for 
	batch statistic branch in function reporting_get_group_stats. 
	 operation/agentes/status_monitor.php: Cleaned code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7221 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-03 13:23:30 +00:00
Ramon Novoa 0156261568 2012-12-03 Ramon Novoa <rnovoa@artica.es>
* operation/tree.php: Fixed the icon of the last element of a sub-tree.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7220 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-03 11:04:34 +00:00
Ramon Novoa 7d959f061f 2012-12-03 Ramon Novoa <rnovoa@artica.es>
* include/functions_treeview.php: Fixed a typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7219 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-03 10:28:53 +00:00
zarzuelo 661b0fed26 2012-12-03 Sergio Martin <sergio.martin@artica.es>
* godmode/agentes/configurar_agente.php: Fixed macros update of
	plugin components for bug #3591104



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7218 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-03 10:14:34 +00:00
Ramon Novoa 305db4a282 2012-12-03 Ramon Novoa <rnovoa@artica.es>
* include/functions_agents.php: Removed debugging code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7217 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-03 10:09:13 +00:00
Ramon Novoa 3117e6f205 2012-12-03 Ramon Novoa <rnovoa@artica.es>
* include/functions_agents.php,
	  include/functions_treeview.php: Improved error detection and small fixes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7216 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-03 10:05:20 +00:00
hkosaka bc61c0c412 2012-12-03 Hirofumi Kosaka <kosaka@rworks.jp>
* include/functions_html.php: Use "autocomplete=off" in all
	password fields (this is re-apply of rev5823, that was
	dropped at rev6607).  Merged from branch 4.x.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7215 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-03 03:29:29 +00:00
jsatoh b7027b986e 2012-12-03 Junichi Satoh <junichi@rworks.jp>
* godmode/setup/setup.php: Changed not to depend on DateTimeZone
	constants with timezone setting to support php 5.2.x.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7213 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-03 02:37:48 +00:00
hkosaka 71a67e8291 2012-11-30 Hirofumi Kosaka <kosaka@rworks.jp>
* lib/PandoraFMS/SNMPServer.pm: Added missing safe_output()
	for trap filters. This fixed a bug that a backslash could not
	escape its following character.

	Merged from 4.0 branch.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7212 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-30 06:18:29 +00:00
zarzuelo cf123d5f65 2012-11-29 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/reporting_builder.php: Fix a pure fail



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7210 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-29 19:01:21 +00:00
juanmanuelr 7dc96933f6 2012-11-29 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/agentes/status_monitor.php: Added check in group filter.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7209 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-29 18:27:37 +00:00
Ramon Novoa dc1259f765 2012-11-29 Ramon Novoa <rnovoa@artica.es>
* include/functions_netflow.php: Detect errors when retrieving stats.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7208 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-29 18:16:40 +00:00
Ramon Novoa b38af6f8d5 2012-11-29 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_ui.php
	 operation/agentes/status_monitor.php: New metaconsole monitor view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7207 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-29 18:01:56 +00:00
juanmanuelr 5219304693 2012-11-29 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_ui.php
	 operation/agentes/status_monitor.php: New metaconsole monitor view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7206 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-29 17:34:51 +00:00
mdtrooper 999fe1f1e6 2012-11-29 Miguel de Dios <miguel.dedios@artica.es>
* include/ajax/agent.php: optimiced the ajax hook "search_agents_2"
	for the metaconsoles.
	
	*include/functions_ui.php, include/functions_agents.php: cleaned
	source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7205 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-29 16:14:45 +00:00
vgilc 4a8c5c8fa2 2012-11-29 Vanessa Gil <vanessa.gil@artica.es>
* godmode/menu.php: Changed netflow title.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7204 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-29 16:03:55 +00:00
Ramon Novoa ecf446a753 2012-11-29 Ramon Novoa <rnovoa@artica.es>
* include/config_process.php: Reverted an accidental commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7203 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-29 15:19:06 +00:00
Ramon Novoa 5d58a05c43 2012-11-29 Ramon Novoa <rnovoa@artica.es>
* include/functions_treeview.php,
	  include/config_process.php,
	  operation/tree.php,
	  godmode/setup/setup.php: Manually defined DateTimeZone constants
	  since they don't seem to be available in certain PHP versions.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7202 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-29 15:14:08 +00:00
zarzuelo 322931d552 2012-11-29 Sergio Martin <sergio.martin@artica.es>
* operation/netflow/nf_live_view.php
	godmode/netflow/nf_edit_form.php
	godmode/netflow/nf_edit.php: Pass the parameter pure 
	to keep full screen



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7201 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-29 10:30:46 +00:00
Ramon Novoa cf75f85d7e 2012-11-28 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/NetworkServer.pm,
	  lib/PandoraFMS/Core.pm,
	  lib/PandoraFMS/Tools.pm: Temporal fix to OID translation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7200 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-28 19:41:24 +00:00
zarzuelo 66e01a50a0 2012-11-28 Sergio Martin <sergio.martin@artica.es>
* include/functions_ui.php
	include/functions_graph.php
	include/functions_reporting.php
	include/functions_networkmap.php
	operation/reporting/reporting_viewer.php
	godmode/reporting/reporting_builder.php: Fix a lot of bugs of reports and
	networkmap like foreach problems and filter issues




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7199 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-28 18:29:24 +00:00
juanmanuelr 5bcc3d459e 2012-11-28 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_groups.php
	 include/functions_reporting.php: Added functionality for tactical
	 view of metaconsole.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7198 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-28 17:29:25 +00:00
darode 43de607c72 2012-11-28 Dario Rodriguez <dario.rodriguez@artica.es>
* godmode/netflow/nf_edit.php,
	operation/netflow/nf_live_view.php: Added title 
	for metaconsole sections.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7197 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-28 15:04:27 +00:00
Ramon Novoa e45e45cca4 2012-11-28 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Added fired alert count.

	* lib/PandoraFMS/DataServer.pm: Do not process more than one XML from
	  the same agent at the same time.

	* util/pandora_db.pl: Recalculate total module count.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7196 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-28 14:33:26 +00:00
Ramon Novoa 550704843d 2012-11-28 Ramon Novoa <rnovoa@artica.es>
* include/functions_groups.php,
	  include/functions_treeview.php,
	  include/functions_os.php,
	  include/functions_tags.php,
	  operation/tree.php: Small fixes to the treeview.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7195 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-28 13:04:11 +00:00
zarzuelo 895fb864b2 2012-11-28 Sergio Martin <sergio.martin@artica.es>
* include/functions_treeview.php
	operation/tree.php: Fix some bugs of treeview



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7194 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-28 09:58:42 +00:00
Ramon Novoa 6144af26a3 2012-11-27 Ramon Novoa <rnovoa@artica.es>
* include/functions_treeview.php,
	  operation/tree.php: Added support for agent and module navigation
	  from the metaconsole.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7193 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-27 19:11:55 +00:00
darode 44e8a71c67 2012-11-27 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/agentes/status_monitor.php: Added  title for metaconsole.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7192 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-27 18:59:31 +00:00
zarzuelo 843b46496e 2012-11-27 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php
	operation/reporting/reporting_viewer.php: Fix some bugs of
	reports on metaconsole



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7191 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-27 18:20:38 +00:00
juanmanuelr 0dfb29a688 2012-11-27 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_graph.php: Fixed progress_bar in metaconsole.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7190 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-27 11:53:31 +00:00
zarzuelo 062307b6c4 2012-11-27 Sergio Martin <sergio.martin@artica.es>
* include/functions_networkmap.php: Performance improvements
	in networkmaps



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7189 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-27 11:53:02 +00:00
zarzuelo 0f95ba32fe 2012-11-27 Sergio Martin <sergio.martin@artica.es>
* include/functions_networkmap.php: Performance improvements
	in networkmaps



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7188 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-27 09:42:41 +00:00
zarzuelo de245b5996 2012-11-27 Sergio Martin <sergio.martin@artica.es>
* godmode/massive/massive_delete_modules.php: Fixed a bug 
	on massive delete modules due of a copypaste



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7186 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-27 09:10:43 +00:00
zarzuelo 0b9836143e 2012-11-26 Sergio Martin <sergio.martin@artica.es>
* include/functions_agents.php
	include/functions_networkmap.php
	operation/agentes/status_monitor.php
	operation/netflow/nf_live_view.php: Improve the 
	performance of networkmap with the new status counts.
	Modify some common code between console and metaconsole



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7185 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-26 18:38:09 +00:00
Ramon Novoa 8a6b23e04a 2012-11-26 Ramon Novoa <rnovoa@artica.es>
* include/functions_groups.php,
	  include/functions_agents.php,
	  include/functions_treeview.php,
	  include/functions_os.php,
	  include/functions_tags.php,
	  operation/tree.php: Added metaconsole support to the tree view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7184 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-26 16:44:41 +00:00
zarzuelo 9a355f5090 2012-11-26 Sergio Martin <sergio.martin@artica.es>
* include/functions_ui.php
	operation/events/events_list.php
	operation/events/events.php
	operation/search_results.php
	godmode/netflow/nf_edit.php: Fix paths problems



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7183 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-26 10:27:16 +00:00
jsatoh cf9b9dcb15 2012-11-26 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/Core.pm: Fixed unintended executions and wrong event
	messages in planned downtime.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7182 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-26 07:27:25 +00:00
zarzuelo 930b09e5f3 2012-11-20 Sergio Martin <sergio.martin@artica.es>
* pandora_windows_service.h
	  pandora_windows_service.cc: Added support for
	gis_exec (Automatic gis coordinates)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7180 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-21 17:13:05 +00:00