Commit Graph

7031 Commits

Author SHA1 Message Date
mdtrooper 5aa0d0c1ec 2013-08-30 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/agent_manager.php: set the first default server
	when create a new agent.
	
	MERGED FROM THE BRANCH 4.0




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8719 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-30 11:29:57 +00:00
mdtrooper 3b12a6b059 2013-08-30 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_generalagente.php: show a warning
	message when the agent has not a assigned server.
	
	* operation/agentes/ver_agente.php: some changes for to make more
	easy the merge with the trunk.
	
	MERGED FROM THE TRUNK.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8718 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-30 11:21:51 +00:00
mdtrooper 602ceb1941 2013-08-30 Miguel de Dios <miguel.dedios@artica.es>
* godmode/groups/group_list.php: fixed pagination mismatch.
	
	Fixes: #2383




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8716 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-30 06:44:37 +00:00
mdtrooper 1ebaeac2e5 2013-08-29 Miguel de Dios <miguel.dedios@artica.es>
* lib/PandoraFMS/Core.pm: into the function "pandora_module_unknown"
	now checks if the module have disable unknown events.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8714 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-29 13:01:12 +00:00
mdtrooper a1b163e263 2013-08-29 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_snmp_browser.php: fixed PHP warnings.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8713 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-29 12:18:38 +00:00
mdtrooper ad99e437b0 2013-08-29 Miguel de Dios <miguel.dedios@artica.es>
* util/pandora_manage.pl: added support to disable/enable unknown
	events for modules.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8712 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-29 11:39:05 +00:00
mdtrooper 967e978fea 2013-08-29 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php: added supoport for disabled unknown
	events modules, components and policies.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8711 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-29 07:48:10 +00:00
mdtrooper a87218f09e 2013-08-28 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager_editor_common.php: added code to
	policy module editor with disabled unknown events modules.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8708 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-28 12:44:47 +00:00
mdtrooper c90f5ff7ff 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 2f2a456e10 2013-08-28 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager_editor.php,
	include/javascript/pandora_modules.js: implemented the disabled
	unknown events for local modules.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8704 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-28 07:53:50 +00:00
mdtrooper a151bfaf23 2013-08-28 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/agent_manager.php: fixed the PHP warnings in the
	call to enterprise function.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8703 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-28 07:19:46 +00:00
mdtrooper 9492e6bcc6 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
mdtrooper 8f818c1488 2013-08-27 Miguel de Dios <miguel.dedios@artica.es>
* conf/pandora_server.conf.new: set the policy queues as default
	running.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8700 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-27 09:31:15 +00:00
mdtrooper c0cf75417c 2013-08-27 Miguel de Dios <miguel.dedios@artica.es>
* index.php, include/javascript/pandora.js: fixed code style.
	
	* godmode/massive/massive_edit_modules.php: fixed the javascript
	that showed some rows before to select modules to edit.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8699 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-27 09:29:36 +00:00
mdtrooper 805ae2d670 2013-08-26 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.data.postgreSQL.sql, pandoradb.data.oracle.sql,
	pandoradb_data.sql: fixed the id_alert_command for restart the
	agent set 11 (before it was 10).

2013-08-26 Miguel de Dios <miguel.dedios@artica.es>
	
	* extensions/update_manager/lib/xmlrpc/xmlrpc.inc: fixed the timeout
	for to check packages of pandora update manager.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8697 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-26 13:44:44 +00:00
mdtrooper 3409440c40 2013-08-26 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager_editor.php,
	godmode/agentes/module_manager_editor_common.php: fixed PHP
	warnings.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8695 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-26 07:17:43 +00:00
mdtrooper 30ca08c183 2013-08-23 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager_editor_common.php: fixed the PHP
	warnings.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8691 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-23 06:35:31 +00:00
mdtrooper 3d6d479574 2013-08-23 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/modificar_agente.php,
	include/functions_snmp_browser.php, include/functions_api.php: fixed
	PHP warnings and PHP notices.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8690 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-23 06:24:42 +00:00
darode d9cb5abea0 2013-08-22 Dario Rodriguez <dario@artica.es>
* pandora_agent_installer: Merged improvements from 4.1 branch
        to fix several bugs related to custom installation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8688 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-22 17:04:00 +00:00
mdtrooper 04afb4615d 2013-08-20 Miguel de Dios <miguel.dedios@artica.es>
* godmode/servers/servers.build_table.php, include/functions_db.php,
	include/functions_servers.php, index.php: improved the source code
	style.
	
	* include/functions_api.php: added the call to update the agent.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8682 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-21 12:37:37 +00:00
mdtrooper 00c554f0b4 2013-08-20 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php: added calls to set gis data for agent
	"set/gis_agent_only_position" and "set/gis_agent", and for to get
	gis data "get/gis_agent".
	
	* include/functions_agents.php: added function "agents_update_gis".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8680 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-20 13:13:52 +00:00
hkosaka 7e461eb008 2013-08-19 Hirofumi Kosaka <kosaka@rworks.jp>
* include/functions_api.php: Small Fix. Corrected error message.

	MERGED FROM branch4.x



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8678 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-19 08:00:31 +00:00
mdtrooper de3742d915 2013-08-19 Miguel de Dios <miguel.dedios@artica.es>
* general/logon_ok.php, godmode/setup/news.php: fixed the lost
	"<br>" in the news.
	
	Fixes: #2380




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8675 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-19 06:49:17 +00:00
hkosaka 59a8bc9c60 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
mdtrooper 8425befd61 2013-08-16 Miguel de Dios <miguel.dedios@artica.es>
* extensions/pandora_logs.php: fixed the translation the human
	size of php memory limit to bytes size limit.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8668 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-16 10:02:07 +00:00
mdtrooper cb923ec4bc 2013-08-16 Miguel de Dios <miguel.dedios@artica.es>
* include/ajax/module.php, include/javascript/pandora_modules.js:
	fixed the ajax call to get the plugin fields in the form editor
	module plugin server.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8667 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-16 09:15:44 +00:00
Ramon Novoa cb9bec2ffc 2013-08-14 Ramon Novoa <rnovoa@artica.es>
* godmode/agentes/module_manager_editor_plugin.php,
	  include/help/ja/help_web_checks.php,
	  include/help/ja/help_plugin_macros.php,
	  include/help/en/help_plugin_macros.php,
	  include/help/en/help_web_checks.php,
	  include/help/en/help_snmp_alert_field1.php,
	  include/help/es/help_plugin_macros.php,
	  include/help/es/help_snmp_alert_field1.php,
	  include/help/es/help_web_checks.php: Updated help files.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8664 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-14 16:25:07 +00:00
koichirok 4eeb07ccc3 2013-08-14 Koichiro Kikuchi <koichiro@rworks.jp>
* index.php: Improve footer layout.

	MERGED FROM branch_4.0



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8663 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-14 06:46:20 +00:00
Ramon Novoa e0f3d33362 2013-08-13 Ramon Novoa <rnovoa@artica.es>
* include/help/es/help_snmp_alert_custom.php,
	  include/help/en/help_snmp_alert_custom.php: Updated. The Japanese
	  help file seems to be ok.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8659 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-13 17:07:16 +00:00
Ramon Novoa adfadf5e2d 2013-08-13 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/NetworkServer.pm: Use the agent's address if ip_target
	  is not set.

	* lib/PandoraFMS/Core.pm: Fixed a warning.

	* conf/pandora_server.conf.new,
	  lib/PandoraFMS/Config.pm,
	  lib/PandoraFMS/SNMPServer.pm: Added SNMP storm protection.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8658 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-13 17:04:56 +00:00
Ramon Novoa b8346a6e40 2013-08-13 Ramon Novoa <rnovoa@artica.es>
* unix/pandora_agent: Display proxy mode errors in the log file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8657 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-13 17:01:17 +00:00
mdtrooper 354719b67b 2013-08-09 Miguel de Dios <miguel.dedios@artica.es>
* godmode/snmpconsole/snmp_alert.php: change the text input for
	description, now it is a textarea for large descriptions.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8652 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-09 09:16:15 +00:00
mdtrooper f720c5fffe 2013-08-09 Miguel de Dios <miguel.dedios@artica.es>
* godmode/snmpconsole/snmp_alert.php: fixed the PHP warnings for
	empty objects.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8651 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-09 06:53:36 +00:00
mdtrooper b2d595ec05 2013-08-09 Miguel de Dios <miguel.dedios@artica.es>
* godmode/snmpconsole/snmp_alert.php: fixed the link to edit in the
	button to edit, and fixed the free text filter.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8650 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-09 06:38:57 +00:00
koichirok 8b705f701c 2013-08-08 Koichiro Kikuchi <koichiro@rworks.jp>
* index.php: Fixed footer layout probrems: Now we can see the
	 footer at the browser bottom when reducing the browser height.
	 Also fixes the footer overlay probrem in some pages (e.g.
	 "Modules in policy" page).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8647 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-08 14:05:57 +00:00
mdtrooper 1e95f6eb64 2013-08-08 Miguel de Dios <miguel.dedios@artica.es>
* src/pandroid/agent/PandroidAgentListener.java,

	src/pandroid/agent/PandroidAgentTentacle.java: removed the java

	warning that the class of tentacle have a method with the same name

	as a constructor.






git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8646 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-08 13:02:55 +00:00
Ramon Novoa a36f4b89e8 2013-08-08 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_logevent.h: Updated the EventID mask. The
	  Windows Event Log Viewer seems to ignore the most significant 16
	  bits of the event id.

	* modules/pandora_module_logevent.cc: Do not discard existing
	  events when running in debug mode.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8644 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-08 12:22:42 +00:00
mdtrooper 0c9e2234e0 2013-08-08 Miguel de Dios <miguel.dedios@artica.es>
* images/zoom_default.svg: tiny fixes make for Carla.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8643 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-08 10:15:59 +00:00
mdtrooper 767f2afc78 2013-08-08 Miguel de Dios <miguel.dedios@artica.es>
* images/zoom_default.svg: added a beatiful buttom for default zoom
	from Carla job.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8642 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-08 09:21:10 +00:00
mdtrooper faa29e0c03 2013-08-08 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php, include/functions_alerts.php,
	operation/agentes/alerts_status.php: improved the function
	"get_group_alerts" to use in the places that there were a foreach
	loop with all agents for any group.
	
	Fixes: #2060




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8641 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-08 09:00:34 +00:00
mdtrooper a3dad1b227 2013-08-07 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/modificar_agente.php,
	godmode/agentes/module_manager_editor.php: changed the code to
	avoid to call enterprise functions.
	
	Fixes: #2367
	
	*include/functions_agents.php: fixed source code style..




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8640 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-08 06:23:48 +00:00
mdtrooper 93589e7fd4 2013-08-07 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_agente.php: fixed the call to
	enterprise function.
	
	Fixes: #2367 
	
	* godmode/agentes/module_manager.php: make more easy the merges
	from the last branch.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8637 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-07 10:59:09 +00:00
mdtrooper 4ffc91b368 2013-08-07 Miguel de Dios <miguel.dedios@artica.es>
* godmode/setup/setup_auth.php, godmode/admin_access_logs.php,
	godmode/agentes/module_manager.php: removed the code as
	"call time passing variables by reference" deprecated in PHP 5.4.
	
	* index.php: improved the source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8635 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-07 08:26:26 +00:00
mdtrooper aa3e7d0f76 2013-08-06 Miguel de Dios <miguel.dedios@artica.es>
* godmode/menu.php, godmode/massive/massive_edit_modules.php:
	improved the source code style.
	
	* godmode/snmpconsole/snmp_alert.php,
	godmode/massive/massive_operations.php: added snmp alert operations.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8632 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-06 12:53:39 +00:00
mdtrooper 267b28ed0a 2013-08-05 Miguel de Dios <miguel.dedios@artica.es>
* include/constants.php, godmode/snmpconsole/snmp_alert.php: added
	filter in the alert snmp page and pagination.
	
	* operation/events/events.build_table.php,
	godmode/netflow/nf_edit.php, include/functions_ui.php,
	include/db/mysql.php, include/functions_incidents.php: improved the
	source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8630 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-05 14:23:27 +00:00
mdtrooper 94d663d381 2013-08-05 Miguel de Dios <miguel.dedios@artica.es>
* ChangeLog: lost line about "lib/PandoraFMS/PredictionServer.pm"
	uploaded changes for SLA value of service.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8628 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-05 07:28:00 +00:00
mdtrooper 2046c4eb4b 2013-08-05 Miguel de Dios <miguel.dedios@artica.es>
* util/pandora_snmp.sh: added first and weird version of tool to
	generate a lot of traps snmp for Pandora. Needs to improve.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8627 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-05 07:25:33 +00:00
zarzuelo 15a8037d33 2013-08-02 Sergio Martin <sergio.martin@artica.es>
* include/functions_filemanager.php: added new error message
	on file manager to warn when the post size limit is
	exceded by the uploaded file



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8623 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-02 12:38:38 +00:00
mdtrooper c72879741b 2013-08-02 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/functions_gd.php, include/graphs/fgraph.php,
	include/functions.php, include/functions_graph.php,
	include/functions_visual_map.php,
	include/ajax/visual_console_builder.ajax.php,
	operation/visual_console/render_view.php: a lot of fixes in the
	visualmap.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8622 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-02 10:53:50 +00:00
zarzuelo aa1bc58e0d 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