Commit Graph

5960 Commits

Author SHA1 Message Date
zarzuelo 53d8d65271 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
ramonn 4110c7c954 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 49f125468b 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 b836781406 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 2e6fd3e492 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 af6087e37d 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 d94883c1eb 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 5ed542cd4d 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 417dcbbe28 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
ramonn 1f25998d49 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 dfb75a1496 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 1f3a911045 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 a48e81bc44 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
darode 2a123e5788 2012-11-21 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/integria_incidents/incident.php: Fixed a bug in integration
	between Integria and Pandora on Incident management.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7179 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-21 16:18:55 +00:00
mdtrooper f97cededf3 2012-11-20 Miguel de Dios <miguel.dedios@artica.es>
* extensions/update_manager/load_updatemanager.php,
	extensions/update_manager/debug.php: fixed the execution of keygen
	when there is some wrong in the execution the message for user is
	more clean now show "Error in execution the keygen." instead the
	message "Error Server authorisation rejected". And added other forms
	to get debugData for the update.
	
	MERGED FROM THE BRANCH PANDORA_4.0




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7176 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-20 19:27:36 +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
darode 70e7f441c1 2012-11-20 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/integria_incidents/incident.list.php: Fixed a problem with
	incident search, in incident integrated with Integria.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7169 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-20 12:59:59 +00:00
zarzuelo 2af04c7514 2012-11-20 Sergio Martin <sergio.martin@artica.es>
* pandora_windows_service.cc: Fixed some bugs
	of the type conversions 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7167 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-20 12:39:11 +00:00
zarzuelo 7a6d1700b0 2012-11-20 Sergio Martin <sergio.martin@artica.es>
* pandora_windows_service.cc: Added support for
	custom fields



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7166 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-20 12:29:00 +00:00
darode 9dedf000e3 2012-11-20 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/integria_incidents/incident.incident.php,
	operation/integria_incidents/incident.php: Fixed several fields of manage
	incident form.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7165 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-20 12:09:52 +00:00
zarzuelo c781b536d8 2012-11-20 Sergio Martin <sergio.martin@artica.es>
* modules/pandora_module_factory.cc: Fix a few
	variable declaration bugs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7163 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-20 09:26:04 +00:00
zarzuelo 8c80cf54ea 2012-11-20 Sergio Martin <sergio.martin@artica.es>
* modules/pandora_module_factory.cc: Added macros
	support to the module_exec command of the module
	configuration



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7162 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-20 09:15:14 +00:00
darode 8f198cebab 2012-11-20 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/integria_incidents/incident.php: Fixed an error printing messages
        which appear before the header.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7161 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-20 08:29:27 +00:00
darode 92301209b7 2012-11-19 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/integria_incidents/incident.list.php,
	operation/integria_incidents/incident.incident.php,
	operation/integria_incidents/incident.php,
	operation/integria_incidents/incident.files.php,
	operation/integria_incidents/incident.workunits.php: Fixed several errors
	in behavior, added messages about operation result and added style to buttons.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7160 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-19 18:10:48 +00:00
zarzuelo ee34a103ce 2012-11-19 Sergio Martin <sergio.martin@artica.es>
* pandora_windows_service.cc: Added new fields of 
	agent in XML header like custom_id and url_address.
	Added coordinates data (not gis_exec yet)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7157 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-19 15:57:56 +00:00
zarzuelo 699a99b4bd 2012-11-19 Sergio Martin <sergio.martin@artica.es>
* modules/pandora_module.h
	modules/pandora_module.cc: Fixed type conflicts in the
	last changes



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7155 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-19 14:30:35 +00:00
zarzuelo 7987cf692e 2012-11-19 Sergio Martin <sergio.martin@artica.es>
* modules/pandora_module.h
	modules/pandora_module_factory.cc
	modules/pandora_module.cc: Added several new module fields
	to the XML



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7154 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-19 08:23:49 +00:00
jsatoh 750a5b190a 2012-11-19 Junichi Satoh <junichi@rworks.jp>
* godmode/agentes/planned_downtime.editor.php: Allowed to change
	type of planned downtime while it's not active.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7153 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-19 06:23:24 +00:00
jsatoh a4f0d8f2b4 2012-11-18 Junichi Satoh <junichi@rworks.jp>
* extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql: Removed duplicated
	query.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7152 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-18 06:59:15 +00:00
zarzuelo 23a7349ab9 2012-11-15 Sergio Martin <sergio.martin@artica.es>
* pandora_agent: Added support to the new fields of the
	agent in the XML: custom_id, url_addres and custom fields



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7151 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-15 15:53:45 +00:00
zarzuelo ed19ee8843 2012-11-15 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Core.pm
	lib/PandoraFMS/DataServer.pm: Added support for new agent data in
	the XML as custom_id, url_address and custom fields



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7150 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-15 15:20:48 +00:00
ramonn 42ad30cf11 2012-11-15 Ramon Novoa <rnovoa@artica.es>
* util/pandora_db.pl: Try to update module status count for all agents.
	  Further performance tests need to be done.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7149 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-15 15:13:13 +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
ramonn 5731186287 2012-11-14 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm,
	  util/pandora_db.pl: Added support for module status calculation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7147 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-14 18:45:40 +00:00
mdtrooper c98fbb2c65 2012-11-13 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.php,
	godmode/reporting/reporting_builder.item_editor.php,
	include/functions_ui.php: fixed the javascript urls.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7146 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-13 19:08:41 +00:00
mdtrooper 05ac3763aa 2012-11-13 Miguel de Dios <miguel.dedios@artica.es>
* include/db/mysql.php, include/functions_reporting.php,
	include/ajax/agent.php: cleaned source code style.
	
	* 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
	'id_agent', 'server_name' and 'show_modulegroup' in the table
	'tnetwork_map'.
	
	* include/functions_ui.php: fixed the function
	"ui_print_agent_autocomplete_input".
	
	* include/functions_networkmap.php: added function
	"networkmap_create_module_group_node".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7145 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-13 16:06:21 +00:00
zarzuelo b31124e3be 2012-11-13 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/DataServer.pm: Adopt server to the new fields of
	the agents XML



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7144 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-13 12:31:14 +00:00
zarzuelo 992665f1bc 2012-11-13 Sergio Martin <sergio.martin@artica.es>
* pandora_agent: Added several fields to the XML



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7143 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-13 12:24:36 +00:00
mdtrooper adcd7716a4 2012-11-12 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: cleaned source code style.
	
	* include/functions_api.php: fixed typo error that stoped the
	execution of api.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7142 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-12 14:53:33 +00:00
jsatoh 899fac693d 2012-11-11 Junichi Satoh <junichi@rworks.jp>
* extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql: Fixed a typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7141 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-11 02:24:44 +00:00
slerena e452ca8ac6 2012-11-08 Sancho Lerena <slerena@artica.es>
* include/functions_config.php: Fixed a XSS in login :-O. Thanks
        to gobejishvili for reporting.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7140 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-08 15:09:24 +00:00
mdtrooper 3973c62408 2012-11-08 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/events.php, include/functions_tags.php: cleaned
	source code style.
	
	* godmode/events/event_edit_filter.php: fixed the lost vars in
	the javascript code for the none elements in the tag select widgets.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7138 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-08 12:24:27 +00:00
zarzuelo 7bd0abe2f8 2012-11-08 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php
	include/graphs/pChart/pData.class.php
	include/functions_reporting.php
	include/constants.php: Improve performance to the SLA 
	report items, added unknown periods and fix planned downtimes
	in SLAs. Adapt the default pchart graph engine colors to pandora



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7136 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-08 07:42:11 +00:00
mdtrooper 760271a0c0 2012-11-07 Miguel de Dios <miguel.dedios@artica.es>
* index.php: cleaned source code style.
	
	* pandoradb.sql, pandoradb.postgreSQL.sql, pandoradb.oracle.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: added the field
	"tag_with" and "tag_without", and removed the field "tags" in the
	table "tevent_filter".
	* operation/events/events_list.php,
	godmode/events/event_edit_filter.php: added widgets for to filter
	the events by tags with the events or and tags without the
	events.
	
	* include/functions_tags.php: cleaned source code style, and
	clarifity the function "tags_search_tag".
	
	* include/functions_html.php: into the function
	"html_print_input_hidden" fixed when the value have double quotes or
	single quotes.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7135 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-07 17:49:31 +00:00
mdtrooper c7e071f853 2012-11-07 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/configure_alert_command.php, index.php: cleaned
	source code style.
	
	* godmode/alerts/alert_commands.php: fixed the check the name of
	command that it did not make the update the data.
	
	MERGED FROM THE BRANCH PANDORA_4.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7134 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-07 15:15:18 +00:00
ramonn b4d419afe8 2012-11-06 Ramon Novoa <rnovoa@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 a new
	  column to tagente_estado to store possible errors.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7132 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-06 17:57:24 +00:00
mdtrooper 76d09bfcaf 2012-11-05 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/events_list.php: fixed the lost tag span (with
	styles) in the Event description.
	
	* operation/events/events.php: fixed the default value for id_agent
	set 0 (as All) in the filter of events.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7131 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-05 18:31:18 +00:00
mdtrooper e5bb1f6962 2012-11-05 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_ui.php: improved the function
	"ui_print_agent_autocomplete_input" to get the default value for
	"hidden_input_idagent_value" from the GET or POST instead to set
	as 0.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7130 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-05 13:03:09 +00:00
mdtrooper 32fd0fd87c 2012-11-05 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/events.php: cleaned source code style.
	
	* operation/events/events_list.php: cleaned source code style and
	fixed the lost id_agent when reload.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7129 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-05 12:52:26 +00:00
vgilc cdabd8f2fd 2012-11-05 Vanessa Gil <vanessa.gil@artica.es>
* operation/reporting/reporting_xml.php: Moved functions
	to functions_xml.php
	* include/functions_xml.php: Added file.


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