Commit Graph

4023 Commits

Author SHA1 Message Date
zarzuelo 7890cc829e 2011-07-18 Sergio Martin <sergio.martin@artica.es>
* godmode/massive/massive_operations.php: Fixed acl last fix 
	warnings



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4582 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-18 13:32:34 +00:00
zarzuelo c291ef881c 2011-07-18 Sergio Martin <sergio.martin@artica.es>
* godmode/massive/massive_operations.php
	godmode/massive/massive_delete_profiles.php
	godmode/massive/massive_add_profiles.php: Restringed profiles massive
	operations only to admins for bug: 3294464
	Merged from 3.2.1



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4581 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-18 13:14:33 +00:00
zarzuelo 4fb0606cf0 2011-07-18 Sergio Martin <sergio.martin@artica.es>
* unix/Linux/pandora_agent.conf: Change default memory modules to get it with free command
	and using postprocessing to unit conversion. Bug: 3284422



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4580 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-18 11:32:50 +00:00
zarzuelo 7bffe86b33 2011-07-18 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/gis_view.php: Fixed sql typo error



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4579 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-18 08:36:07 +00:00
zarzuelo 70a4da25b8 2011-07-18 Sergio Martin <sergio.martin@artica.es>
* images/sub.png
	images/mul.png
	images/skin/skin_default/images/sub.png
	images/skin/skin_default/images/mul.png
	images/skin/skin_default/images/div.png
	images/mult.png
	images/add.png
	images/subs.png
	images/div.png: Update the arithmetic icons in the two templates



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4578 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-18 08:25:46 +00:00
zarzuelo c5d23bc9f4 2011-07-15 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora.js
	operation/agentes/ver_agente.php: Add hack to send to the ajax
	a custom condition of modules in the agent_changed_by_multiple_agents



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4577 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-15 12:45:23 +00:00
juanmanuelr 0d5ce31cc7 2011-07-15 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_gis.php: Changed name of function safe_input to
	io_safe_input. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4576 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-15 09:58:10 +00:00
juanmanuelr 7e372ddf27 2011-07-15 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_gis.php: Fixed Gis map creation when has agents
	in a layer.
	
	Fixes: #3293392



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4575 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-15 09:49:07 +00:00
vgilc 2083e5f9dd 2011-07-15 Vanessa Gil <vanessa.gil@artica.es>
* operation/events/events_list.php: Fixed filter events.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4573 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-15 09:07:59 +00:00
ramonn 7a865b8c2b 2011-07-14 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module.h,
	  modules/pandora_module_factory.cc,
	  modules/pandora_module.cc: Set additional module configuration
	  parameters from the XML.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4572 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-14 16:45:12 +00:00
ramonn 7cc2efbda9 2011-07-14 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Set additional module configuration parameters
	  from the XML.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4571 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-14 16:03:06 +00:00
juanmanuelr 1f4787ea4f 2011-07-14 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_html.php
	include/functions_networkmap.php
	include/functions_ui.php: Several fixes in networkmap.
	
	Fixes: #3297487



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4570 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-14 15:47:29 +00:00
vgilc 8d0694b704 2011-07-14 Vanessa Gil <vanessa.gil@artica.es>
* win32/bin/pandora_agent.conf: Add example lines with drone agents and additional configuration files. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4569 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-14 15:19:39 +00:00
vgilc 6f6ad42684 2011-07-14 Vanessa Gil <vanessa.gil@artica.es>
* unix/Linux/pandora_agent.conf
	unix/SunOS/pandora_agent.conf 
	unix/FreeBSD/pandora_agent.conf
	unix/HP-UX/pandora_agent.conf
	unix/NT4/pandora_agent.conf: Add example lines with drone agents and additional configuration files. 	



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4568 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-14 15:14:03 +00:00
vgilc 909c0a32c2 2011-07-14 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_agents.php: Fixed bad type returned by the function 'agents_get_modules_data_count'.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4567 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-14 15:06:09 +00:00
juanmanuelr 1112cf28f5 2011-07-14 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_agents.php: Added "subquery_enterprise" variable 
	initialization.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4566 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-14 14:24:49 +00:00
juanmanuelr 7cce52762f 2011-07-14 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/reporting/reporting_builder.item_editor.php: Fixes 
	report editing over an open installation.
	
	Fixes: #3322991



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4565 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-14 12:24:09 +00:00
vgilc d836b86728 2011-07-14 Vanessa Gil <vanessa.gil@artica.es>
* unix/pandora_agent: Created runtime enviroment variables for unix agents



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4564 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-14 10:31:40 +00:00
ramonn 43f6877b56 2011-07-14 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/PredictionServer.pm: Use prediction_module to tell
	  prediction modules apart instead of prediction_module/custom_integer_1
	  combinations.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4562 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-14 09:52:48 +00:00
juanmanuelr e5c56707d0 2011-07-14 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/alerts/alert_list.list.php
	include/functions_ui.php: Changed length on module name and template
	column in function ui_format_alert_row().

	Fixes: #3302292



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4561 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-14 09:34:11 +00:00
zarzuelo 2795f57d0d 2011-07-14 Sergio Martin <sergio.martin@artica.es>
* godmode/agentes/module_manager_editor_prediction.php
	godmode/agentes/configurar_agente.php: Changed the fields
	system on prediction modules to use 'prediction_module' as
	flag 1 to modules, 2 to services and 3 to synthetic, and 
	the custom_integer_1 to module or service id (unused in synth)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4560 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-14 09:02:23 +00:00
vgilc 8607818525 2011-07-14 Vanessa Gil <vanessa.gil@artica.es>
* win32/pandora_agent_conf.cc
	win32/pandora_windows_service.cc
	win32/main.cc: Created runtime enviroment variables for agents and fixed bug in drone agents.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4559 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-14 08:58:18 +00:00
zarzuelo 5b4fd01d4a 2011-07-13 Sergio Martin <sergio.martin@artica.es>
* extras/pandoradb_migrate_v3.2_to_v4.0.sql
	godmode/agentes/module_manager_editor_prediction.php: Fix a check
	bug and added to migration database schemma a fix for the prediction
	modules



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4558 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-13 17:16:52 +00:00
juanmanuelr 7f064d069c 2011-07-13 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_html.php: Fixed function print_select_groups()
	to retrieve subgroups with parent distinct than "group All". 
	
	Fixes: #3365845
		
	* godmode/agentes/modificar_agente.php: Fixed call to 
	print_select_groups() to check user ACLs.
	
	* ChangeLog: fixed date of my last commit.
	
	* general/logoff.php: Changed logout splash screen.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4557 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-13 16:39:35 +00:00
juanmanuelr 24785e25b1 2011-07-12 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_graph.php: Truncate agent name when is large in
	graphs legends and add missed ttl variable.
	* include/styles/pandora.css: Changed style in submit buttons. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4554 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-13 14:28:55 +00:00
ramonn 5d55801043 2011-07-13 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/PredictionServer.pm: Added support for synthetic
	  modules (enterprise).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4552 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-13 12:16:05 +00:00
zarzuelo cfddc7fd86 2011-07-13 Sergio Martin <sergio.martin@artica.es>
* godmode/agentes/module_manager_editor_prediction.php
	godmode/agentes/configurar_agente.php: Added interface and calls
	to enterprise functions for synthetic modules



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4551 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-13 12:03:45 +00:00
juanmanuelr 1f60ae2299 2011-07-12 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/help/en/help_timesource.php
	include/help/es/help_timesource.php
	include/help/ja/help_timesource.php: Fixed bad sintax query.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4550 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-12 15:10:42 +00:00
juanmanuelr 116a78ffb9 2011-07-12 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/reporting/reporting_builder.php: Fixes constant notice in
	this view.
	
	Bug: #3315679



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4549 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-12 14:48:37 +00:00
zarzuelo cdb6eb19d0 2011-07-12 Sergio Martin <sergio.martin@artica.es>
* operation/snmpconsole/snmp_view.php: Fixed the trap generator
	to be enabled ever 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4548 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-12 14:44:33 +00:00
juanmanuelr 578116e863 2011-07-12 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_events.php
	include/functions.php
	operation/agentes/estado_monitores.php
	operation/agentes/networkmap.php
	godmode/modules/manage_nc_groups.php: Fixes in this views in order 
	to have compatibility with IE.
	
	Bug: #3274423



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4547 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-12 13:11:33 +00:00
juanmanuelr aec9f98d83 2011-07-11 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* install.php: Fixed installation over a new database.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4546 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-11 16:12:13 +00:00
vgilc 0c2241b9c8 2011-07-11 Vanessa Gil <vanessa.gil@artica.es>
* win32/pandora_agent_conf.cc
	win32/pandora_windows_service.cc: Allow drone agents in Windows.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4545 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-11 15:49:29 +00:00
ramonn 8bff091cfa 2011-07-11 Ramon Novoa <rnovoa@artica.es>
* include/functions_reporting.php,
	  operation/reporting/reporting_xml.php: Merged from 3.2 branch. Fixed
	  custom SQL reports.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4544 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-11 15:32:43 +00:00
juanmanuelr 5ac0a20cab 2011-07-11 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* general/error_authconfig.php
	godmode/db/db_info.php
	godmode/db/db_purge.php
	godmode/setup/file_manager.php: Improvements in css style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4542 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-11 14:20:50 +00:00
juanmanuelr aec10bea6b 2011-07-11 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_visual_map.php
	include/ajax/visual_console_builder.ajax.php
	godmode/users/configure_user.php
	godmode/reporting/visual_console_builder.editor.js
	godmode/reporting/visual_console_builder.editor.php
	godmode/reporting/visual_console_builder.constans.php: Added min,
	max and avg process to simple value items in visual maps.
	
	Pending tasks: #3014709



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4541 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-11 10:16:18 +00:00
jsatoh dbc7ecb2e8 2011-07-11 Junichi Satoh <junichi@rworks.jp>
* operation/agentes/estado_agente.php,
	godmode/agentes/modificar_agente.php: Improved group selection, it
	allows group recursion.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4540 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-11 04:28:21 +00:00
mdtrooper e67eae02ec 2011-07-08 Miguel de Dios <miguel.dedios@artica.es>
* images/minimap_open_arrow.png, images/minimap_close_arrow.png: added the
	image files for the network enterprise viewer.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4539 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-08 16:59:10 +00:00
vgilc 5b6d88b589 2011-07-08 Vanessa Gil <vanessa.gil@artica.es>
* unix/pandora_agent: Allow drone agents in Unix.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4538 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-08 11:46:38 +00:00
ramonn 343c3bb61d 2011-07-08 Ramon Novoa <rnovoa@artica.es>
* pandoradb_data.sql,
	  include/functions_config.php,
	  pandoradb.data.postgreSQL.sql,
	  pandoradb.data.oracle.sql,
	  godmode/setup/performance.php: Added support for unknown module
	  deletion.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4537 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-08 11:21:49 +00:00
ramonn 7737347018 2011-07-08 Ramon Novoa <rnovoa@artica.es>
* util/pandora_db.pl: Delete unknown modules after a defined number
	  of days.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4536 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-08 11:11:36 +00:00
koichirok c9325c83ce 2011-07-08 Koichiro Kikuchi <koichiro@rworks.jp>
* lib/PandoraFMS/Core.pm: Fixed alert macro substitution. Now
	  alert_macro_substitute() does not substitute already substituted
	  part of string. Also fixed alert macro substitution for user
	  defined alerts to avoid alert macros other than _field[1-3]_
	  substituted twice.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4535 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-08 10:16:55 +00:00
zarzuelo 348fd612fb 2011-07-08 Sergio Martin <sergio.martin@artica.es>
* pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added 'always' to the
	possible values into talert_templates.type



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4534 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-08 09:56:18 +00:00
zarzuelo e093635528 2011-07-08 Sergio Martin <sergio.martin@artica.es>
* include/functions_alerts.php: Add always condition to templates



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4533 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-08 09:39:52 +00:00
ramonn 1c27ebd6eb 2011-07-08 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Fixed alert-only planned downtimes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4532 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-08 08:58:32 +00:00
zarzuelo f04550513e 2011-07-08 Sergio Martin <sergio.martin@artica.es>
* util/recon_scripts/snmpdevices.pl: Fiexd bug in recon script



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4531 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-08 08:46:18 +00:00
juanmanuelr 2af5d2e902 2011-07-08 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/agentes/modificar_agente.php: Changed deprecated function 
	get_user_groups() to users_get_groups(). 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4530 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-08 08:39:58 +00:00
jsatoh 8b53e84ce2 2011-07-08 Junichi Satoh <junichi@rworks.jp>
* include/functions_agents.php: Fixed agents_get_group_agents()
	does not work correctly with $childGroups enabled.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4529 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-08 02:20:38 +00:00
zarzuelo ee74f5e15f 2011-07-07 Sergio Martin <sergio.martin@artica.es>
* godmode/groups/group_list.php: Added code for get agent filter
	from policy agents view



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4528 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-07 16:20:44 +00:00
juanmanuelr 56303b03e3 2011-07-07 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_graph.php: Fixed graphs on Visual console.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4527 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-07 15:19:17 +00:00