Commit Graph

4665 Commits

Author SHA1 Message Date
koichirok ea5f78023b 2011-12-08 Koichiro Kikuchi <koichiro@rworks.jp>
* extensions/snmp_explorer.php: Call io_safe_input() for
	 module name and description when creating module.
	* include/functions_io.php: spaces to tabs.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5242 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-08 02:32:52 +00:00
zarzuelo 7cd7aeae60 2011-12-07 Sergio Martin <sergio.martin@artica.es>
* include/functions_groups.php
	operation/agentes/group_view.php: Improved group view 
	with hierarchy to feature request 3444380



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5241 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-07 17:01:19 +00:00
zarzuelo b7faa74556 2011-12-07 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/estado_agente.php
	godmode/agentes/modificar_agente.php: Added tab on header in the
	agent list views to navigate from operation to godmode sections
	improving usability



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5240 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-07 15:04:40 +00:00
zarzuelo ce862be0ec 2011-12-07 Sergio Martin <sergio.martin@artica.es>
* include/functions_modules.php
	godmode/agentes/module_manager_editor_common.php
	godmode/agentes/module_manager.php: Added status column in 
	godmode view of modules and added delete button in 
	edition module view

	* operation/agentes/estado_monitores.php: Fixed missed
	extra query to not show modules of foreign policies



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5239 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-07 14:19:05 +00:00
juanmanuelr 6eff29a159 2011-12-07 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/agentes/estado_agente.php: Added filter by summarized 
	agent state.
	
	Pending task: #3389947



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5238 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-07 11:58:41 +00:00
koichirok 14097d7180 2011-12-07 KIKUCHI Koichiro <koichiro@rworks.jp>
* pandora_agent_installer: Removed duplicated lines and spaces to
	  tabs.  Also removed lines that set group to wheel (gid of wheel is 0).
	* plugins/files_indir: Added support for FreeBSD.
	* plugins/pandora_update: Fixed $conf_path for FreeBSD and spaces
	  to tabs.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5237 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-07 10:07:43 +00:00
zarzuelo 39abc8cb4e 2011-12-07 Sergio Martin <sergio.martin@artica.es>
* include/functions_api.php: Added two new functions 
	to external API: set_enable_module_alerts and 
	set_disable_module_alerts for feature request 3427673



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5236 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-07 09:02:36 +00:00
juanmanuelr d9662cfcce 2011-12-07 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/events/events_list.php
	operation/events/events.php: Added filter to hide/show alert events 
	in this view.
	
	Pending task: #3406323



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5235 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-07 08:50:34 +00:00
juanmanuelr b7f6598117 2011-12-05 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/agentes/status_monitor.php: Added sort funcionality
	and resize module value feature for string module data types.

	Pending task: #3425266



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5234 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-05 18:22:49 +00:00
juanmanuelr 278456393e 2011-12-05 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* pandora_server_upgrade: Removed rm of pandora_exec and 
	pandora_server and changed for ln -s commands.
	
	Fixes: #3451305



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5233 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-05 15:41:33 +00:00
juanmanuelr 0153444171 2011-12-05 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/help/en/help_custom_logo.php
	include/help/es/help_custom_logo.php: Changed height and width in 
	this help view.
	
	Fixes: #3450145



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5232 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-05 13:24:53 +00:00
juanmanuelr 36b63e71c7 2011-12-05 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/setup/os.php: List all OS is the page by defect.
	
	Fixes: #3450147



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5231 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-05 13:16:58 +00:00
juanmanuelr ad48fa2242 2011-12-05 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/agentes/agent_conf_gis.php
      godmode/gis_maps/configure_gis_map.php: Changed order of latitude,
      longitude and altitude in Gis maps information.
      
      Fixes: #3450292



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5230 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-05 11:54:06 +00:00
zarzuelo 29a2273527 2011-12-02 Sergio Martin <sergio.martin@artica.es>
* include/functions_modules.php
	include/functions.php
	extensions/snmp_explorer.php
	godmode/agentes/configurar_agente.php
	godmode/massive/massive_edit_modules.php: Check if a module 
	name exists in the agent when you edit the module and
	improve the errors feedback



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5229 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-02 10:08:07 +00:00
zarzuelo ae69df1839 2011-12-02 Sergio Martin <sergio.martin@artica.es>
* include/functions_modules.php
	include/functions_api.php
	include/functions.php
	extensions/snmp_explorer.php
	godmode/agentes/module_manager_editor_common.php
	godmode/agentes/configurar_agente.php: limited the 
	modules creation to not allows to create one if exists
	a module with the same name in the agent to avoid
	recreate a module when go back in the browser.
	Bugfix: 3416129



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5227 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-02 08:52:54 +00:00
juanmanuelr 7b4e536199 2011-12-01 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* lib/PandoraFMS/NetworkServer.pm
	 lib/PandoraFMS/WMIServer.pm
	 lib/PandoraFMS/PluginServer.pm
	 lib/PandoraFMS/PredictionServer.pm: Fixed os_version  when an agent 
	 is updated.
	 
	 Fixes: #3314285 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5226 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-01 18:05:42 +00:00
juanmanuelr 3f0f18bd1b 2011-12-01 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* lib/PandoraFMS/DB.pm
	lib/PandoraFMS/Core.pm: Added new function db_concat and added 
	compatibility with postgreSQL and Oracle in function 
	pandora_get_module_tags.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5225 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-01 16:11:42 +00:00
juanmanuelr be247973eb 2011-12-01 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* extensions/snmp_explorer.php: Removed trace.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5224 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-01 13:07:25 +00:00
juanmanuelr e66abbeafa 2011-12-01 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* extensions/snmp_explorer.php: Fixed snmp over IE8.
	
	Fixes: #3441762



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5223 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-01 12:30:19 +00:00
zarzuelo 2a06505f44 2011-12-01 Sergio Martin <sergio.martin@artica.es>
* extensions/insert_data.php: Improved the error message to
	multiple xml creations (csv) bug: 3426375



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5222 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-01 09:53:49 +00:00
juanmanuelr 8d883f2e79 2011-11-30 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_config.php: Login hash pass can be left blank.
	
	Fixes: #3410190



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5221 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-30 16:58:46 +00:00
Ramon Novoa a59bdce0ad 2011-11-30 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_logevent.cc,
	  modules/pandora_module_logevent.h: Added support for regular
	  expressions to the pattern filter.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5220 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-30 16:52:43 +00:00
juanmanuelr f728246d50 2011-11-30 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/massive/massive_operations.php: Cleaned code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5219 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-30 16:35:04 +00:00
juanmanuelr c6da118aba 2011-11-30 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_agents.php: Fixed call to agents_get_modules
	with id_agent = 0.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5218 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-30 16:31:09 +00:00
zarzuelo e7cc7a2ede 2011-11-30 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/estado_agente.php: Fixed pagination transfer
	from form in the operation agents view



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5217 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-30 15:24:43 +00:00
juanmanuelr 9dfee9b358 2011-11-30 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_agents.php: Fixed bad sql sintax in 
	agents_get_agents function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5216 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-30 15:04:43 +00:00
juanmanuelr 12f0c69912 2011-11-30 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_agents.php: Fixed bad sql sintax in 
	agents_get_agents funtion.
	
	Fixes: #3445995




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5215 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-30 14:55:08 +00:00
juanmanuelr b20b935f13 2011-11-30 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/agentes/estado_generalagente.php
	include/javascript/jquery.ui.dialog.js
	general/header.php: Fixed ui_dialog when graphs are displayed 
	behind.
	
	Fixes: #3441058



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5214 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-30 14:47:19 +00:00
zarzuelo b1c89b36ed 2011-11-30 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_gd.php: Fixed rounded corners 
	progress bar whit mode=1 and ratio < 30



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5213 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-30 14:30:09 +00:00
juanmanuelr 4a0d1a10e0 2011-11-30 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/ajax/agent.php
	operation/agentes/exportdata.php: Fixed agent autocomplete 
	functionality.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5212 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-30 11:26:25 +00:00
juanmanuelr 3757027dbd 2011-11-30 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_reporting.php: Fixed html render of combined 
	graphs.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5211 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-30 09:50:55 +00:00
zarzuelo 93ce4834af 2011-11-30 Sergio Martin <sergio.martin@artica.es>
* godmode/massive/massive_edit_modules.php: Fixed massive
	module edition to not break module group, export id etc 
	when edit another field



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5210 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-30 09:38:35 +00:00
mdtrooper 51cb06aa50 2011-11-30 Miguel de Dios <miguel.dedios@artica.es>
* trunk/.project: erased old upload file by Eclipse
	IDE, sorry.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5209 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-30 00:59:00 +00:00
juanmanuelr c26ab0a7d5 2011-11-29 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* install.php: Fixed width style in step 2.
	
	Fixes: #3421097



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5208 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-29 17:13:39 +00:00
zarzuelo c89fe8fa08 2011-11-29 Sergio Martin <sergio.martin@artica.es>
* include/functions_agents.php: Fixed filter of the operation
	agents view for bug 3445244



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5207 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-29 17:09:51 +00:00
juanmanuelr c605536b33 2011-11-29 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_graph.php
	include/functions_graph.php: Fixed PDF exportation of combined 
	graphs.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5206 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-29 16:12:20 +00:00
juanmanuelr b06e9a731a 2011-11-29 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_graph.php
        include/graphs/fgraph.php: Fixed custom graphs exportation to 
        PDF.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5205 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-29 16:07:44 +00:00
Ramon Novoa 589278436f 2011-11-29 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_snmpget.cc: Modified the call to snmpget.exe
	  to directly retrieve the value.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5204 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-29 14:35:52 +00:00
Ramon Novoa 7544bac9a9 2011-11-29 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module.h,
	  modules/pandora_module_exec.cc,
	  modules/pandora_module_exec.h,
	  modules/pandora_module_list.cc,
	  modules/pandora_module_factory.cc,
	  modules/pandora_module.cc,
	  Makefile.am: Added native ping and SNMP get modules that wrap the
	  calls to ping.exe and snmpget.exe.

	* modules/pandora_module_ping.h,
	  modules/pandora_module_snmpget.h,
	  modules/pandora_module_ping.cc,
	  modules/pandora_module_snmpget.cc: Added to repository. Ping and
	  SNMP get modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5203 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-29 13:19:34 +00:00
juanmanuelr f3d48b37b8 2011-11-29 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/events/events_list.php: Resized graph in this view.
	
	Fixed: #3411788



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5202 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-29 13:11:30 +00:00
Ramon Novoa a2ff5e7380 2011-11-29 Ramon Novoa <rnovoa@artica.es>
* bin/PandoraAgent.exe: Updated to current revision.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5201 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-29 13:10:03 +00:00
juanmanuelr f317f494f5 2011-11-29 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_graph.php: Added check for flash charts in pdf
	exportation.
	* operation/events/events_validate.php: Removed entities in this 
	view.

	Fixes: #3445106



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5200 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-29 12:52:56 +00:00
juanmanuelr 8c142204aa 2011-11-29 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/setup/setup_visuals.php: Added custom logo in visual 
	styles.

	Fixes: #3419712



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5199 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-29 12:30:27 +00:00
juanmanuelr 53045d6cba 2011-11-29 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/events/events.php: Fixed sound event popup over https.
	
	Fixes: #3443835



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5198 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-29 12:17:39 +00:00
juanmanuelr 8045546d21 2011-11-29 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_reporting.php: Removed entities in events 
	reports.
	
	Fixes: #3445082



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5197 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-29 11:52:36 +00:00
juanmanuelr 53c8ca2fc0 2011-11-29 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_graph.php
	 include/functions_reporting.php: Fixed custom graphs in preview 
	 reporting and PDF exportation.
	 
	 Fixes: #3444170



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5196 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-29 11:39:50 +00:00
juanmanuelr 079892b644 2011-11-29 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/snmpconsole/snmp_view.php: Fixed trap validation when
	the trap has Id equal to 1.
	
	Fixes: #3439289



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5195 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-29 11:10:20 +00:00
juanmanuelr 7db9c42ad0 2011-11-29 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* util/pandora_manage.pl: Added some checks that I forget in my 
	last commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5194 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-29 10:31:14 +00:00
juanmanuelr fa4ffcf54c 2011-11-29 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
godmode/agentes/modificar_agente.php: Changed style in description
	column of this view. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5193 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-29 10:16:54 +00:00
koichirok 578ece55b8 2011-11-29 Koichiro Kikuchi <koichiro@rworks.jp>
* extras/pandora_migrate_v3.2_to_v4.0.sql: Added missing alter statements
	for tnetwork_component table.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5192 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-29 10:06:32 +00:00