Commit Graph

2701 Commits

Author SHA1 Message Date
zarzuelo 52c019637f 2010-07-13 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/datos_agente.php: Putted back data range
	filter into raw data of the modules for bug: 3023769



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3001 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-13 13:02:40 +00:00
darode 50b3ae8e0f 2010-07-13 Darío Rodríguez <dario.rodriguez@artica.es>
* include/help/en/help_reporting_main_tab.php: Added help for report
	creator for English.
	* include/help/es/help_reporting_main_tab.php: Added help for report
	creator for Spanish.
	Fixes: #3013763



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3000 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-13 10:36:38 +00:00
darode 346ed80344 2010-07-13 Darío Rodríguez <dario.rodriguez@artica.es>
* godmode/reporting/graph_builder.php: Fixed problem when creating or
	updating a graph with empty name.
	Fixes: #3026943



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2999 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-13 09:31:30 +00:00
zarzuelo 766b3073f3 2010-07-13 Sergio Martin <sergio.martin@artica.es>
* include/functions_visual_map.php
	godmode/reporting/visual_console_builder.editor.php: Fixed the
	visualmaps for ignore the disabled and delete pending modules
	for bug: 3022892



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2998 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-13 09:25:21 +00:00
darode 6c137ca8f0 2010-07-13 Darío Rodríguez <dario.rodriguez@artica.es>
* general/pandora_help.php: Delete interrogation picture to get a 
	better style.
	Fixes: #3028524



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2997 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-13 08:42:17 +00:00
raulmateos 790229b764 2010-07-12 Raúl Mateos <raulofpandora@gmail.com>
* Changelog: Forgotten File.
Changes are:
	* godmode/setup/setup.php: Updated year. Cleaned code.
	* godmode/alerts/alert_list.builder.php: Added link to create action.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2996 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-12 21:09:22 +00:00
raulmateos 5913d3ea42 2010-06-19 Raul Mateos <raulofpandora@gmail.com>
* operation/agentes/networkmap.php: Added text if twopi binary not
	found.
	* include/functions/functions_networkmap.php: Fixed url to group_view.
	Solves bug 3013775.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2995 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-12 21:06:32 +00:00
Ramon Novoa 43bdb6d8d3 2010-07-12 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: changed the module cron configuration token to
          module_crontab.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2994 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-12 16:35:26 +00:00
Ramon Novoa 9aed18321e 2010-07-12 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module.h, modules/pandora_module_factory.cc,
          modules/pandora_module.cc, pandora_windows_service.cc: Added the
          module_cron feature to schedule modules using a cron-like syntax and
          some small fixes.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2993 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-12 16:31:07 +00:00
mdtrooper 2fc280c375 2010-07-12 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/configure_alert_compound.php: fixed the page to request
	ajax, now it's new ajax page.
	Fixes: #3020713



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2992 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-12 15:00:34 +00:00
mdtrooper 77d831ae9e 2010-07-12 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora_visual_console.js: in function "draw_line"
	changed the const 15 value to dinamic value half width of image.
	Fixes: #3019645
	
	* godmode/reporting/visual_console_builder.editor.js: cleaned source code
	and deleted unused function "eventsButtonsToolbox", this function was in
	old wip version of visual editor.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2991 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-12 14:37:31 +00:00
darode d9cac2f700 2010-07-12 Dario Rodriguez <dario.rodriguez@artica.es>
* godmode/reporting/visual_console_builder.php: fixed error getting
	image size creating a map without background
	Fixes: #3014276



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2990 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-12 14:03:04 +00:00
mdtrooper 70f698cf4c 2010-07-12 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/ver_agente.php: re-ordered the tabs. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2989 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-12 13:09:01 +00:00
zarzuelo 17dc36524d 2010-07-12 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/visual_console_builder.php: fixed the
	reset of the size when change a visual map background



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2988 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-12 11:45:50 +00:00
darode 98d990a511 2010-07-12 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/search_results.php: fixed bug in search with zero matches
	and filtering by: maps, reports or graphs.
	Fixes: #3025607



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2987 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-12 11:42:15 +00:00
darode 8965dea92f 2010-07-12 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/agentes/estado_agente.php: fixed bug with pagination offset
	and search.
	Fixes: #3014703



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2986 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-12 10:55:29 +00:00
mdtrooper 50af68df72 2010-07-08 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/ver_agente.php: added hook to collection enterprise.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2985 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-12 10:09:24 +00:00
darode b439d5053c 2010-07-09 Dario Rodriguez <dario.rodriguez@artica.es>
* win32/configure.in, Makefile.am: Modified to compile executable with
	version information embedded

	* win32/versioninfo.rc: Added version information file for win32 
	executable
	Fixes: #3007874



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2984 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-09 12:58:15 +00:00
mdtrooper 62282c2b2e 2010-07-08 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_filemanager.php: added hash2 parameter for to use in
	directory navigation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2983 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-08 17:47:31 +00:00
mdtrooper 4659849d55 2010-07-08 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_filemanager.php: cleaned source code. And added function
	"read_recursive_dir" to give a content of dir in a array.
	
	* include/functions_config.php: added $config['collection_max_size'].



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2982 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-08 16:45:34 +00:00
Ramon Novoa a675b79538 2010-07-08 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/PluginServer.pm: Quote the command passed to
          pandora_exec.

        * bin/pandora_exec: Do not verify the command to allow pipes and complex
          commands.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2981 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-08 15:10:12 +00:00
Ramon Novoa 3a234628f9 2010-07-08 Ramon Novoa <rnovoa@artica.es>
* pandora_exec: Do not verify the command to allow pipes and complex
          commands.

        * pandora_agent: Quote the command passed to pandora_exec. Fixed
          the module cron. Modules without a module cron would not run.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2980 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-08 15:04:43 +00:00
darode 4cedaaabd1 2010-07-08 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/agentes/networkmap.php: fixed order in combo box of zoom
	page of Network Map
	Fixes: #3026857



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2979 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-08 14:36:14 +00:00
darode 3d21ba2571 2010-07-08 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/agentes/networkmap.php: fixed changing map layout type when 
	you pass from full screen to normal screen or backwards
	Fixes: #3013601



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2978 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-08 14:23:03 +00:00
darode 9ef1819b52 2010-07-08 Dario Rodriguez <dario.rodriguez@artica.es>
* godmode/reporting/visual_console_builder.editor.php: fixed order in 
	Period combo box of Module Graph
	Fixes: #3014274



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2977 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-08 14:07:52 +00:00
mdtrooper 1d63ff109f 2010-07-08 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/agent_template.php: added the id_plugin column in the
	Insert query.
	Fixes: #3026805



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2976 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-08 12:41:26 +00:00
mdtrooper 065f2790ac 2010-07-08 Miguel de Dios <miguel.dedios@artica.es>
* godmode/servers/plugin.php: fixed the description text of ajax return
	when translate the &gt; or &lt; to < or > instead to keep the entity.
	Fixes: #3026785



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2975 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-08 11:12:15 +00:00
mdtrooper f87cb324c3 2010-07-08 Miguel de Dios <miguel.dedios@artica.es>
* install.php: added to check zip library for the filemanager.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2974 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-08 10:43:43 +00:00
mdtrooper b4de8b5276 2010-07-08 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_filemanager.php: added in source code lines to test
	hash of directories or files for give more security to filemanager.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2973 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-08 10:32:49 +00:00
mdtrooper a1a103534a 2010-07-07 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_filemanager.php: added var global through $config to
	return status of operation. And clean messages of filemanager.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2972 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-08 09:01:31 +00:00
darode d8e6992254 2010-07-07 Dario Rodriguez <dario.rodriguez@artica.es>
* win32/pandora_windows_service.h: Added constant for default port for
	ftp and ssh 
	
	* win32/pandora_windows_service.cc: Added support for change ssh and ftp
	port



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2971 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-07 15:14:18 +00:00
mdtrooper e4222b1cef 2010-07-07 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: changed in function "get_db_all_rows_filter" the
	parameter $filter to set empty array as default value.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2970 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-07 14:36:45 +00:00
mdtrooper 56e3d3cbc0 2010-07-07 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_filemanager.php: added const MIME_TEXT. added source
	code to handler the updload files, zips, delete files/dir and create text
	files. Added function "delete_directory" for to delete recursive and or
	not empty any dir, function "file_explorer" to show a file explorer,
	"box_upload_file_complex" to show a controls to upload file or multiple
	files in a zip, "box_upload_file_explorer" to show controls to upload
	file, "box_upload_zip_explorer" to show controls to upload multiple files
	in a zip, "box_create_text_explorer" to show controls to create text files,
	and in function "get_file_manager_file_info" use new const MIME_TEXT.
	
	* godmode/agentes/modificar_agente.php: cleaned source code, closed the <tr>
	tag.
	
	* godmode/agentes/configurar_agente.php: added hook to enterprise functions
	for collection.

	* godmode/menu.php: added hook to enterprise functions for collection.
	
	* godmode/setup/file_manager.php:changed the source code for use new modular
	functions to show and management files.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2969 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-07 12:27:37 +00:00
Ramon Novoa 018d9ffece 2010-07-07 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Verify that log4x data is available
          before trying to read it.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2968 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-07 11:38:42 +00:00
darode 2dea3b365c 2010-07-06 Dario Rodriguez <dario.rodriguez@artica.es>
* lib/PandoraFMS/Core.pm, ReconServer.pm, DataServer.pm: Delete 
	$address_id paremeter from function pandora_create_agent()

	* util/pandora_manage.pl: Delete $address_id paremeter from function 
	pandora_create_agent()
	Fixes bug #3006770



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2967 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-06 15:06:00 +00:00
Ramon Novoa 7095a1626b 2010-07-06 Ramon Novoa <rnovoa@artica.es>
* pandora_windows_service.cc: Fixed the autotime feature. Was not
          working since tinyXML was removed.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2964 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-06 11:47:43 +00:00
slerena 326999a913 2010-07-06 Sancho Lerena <slerena@artica.es>
Forget my last commit, code was OK, it must be the sun, too
        strong today :-)




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2963 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-06 10:57:26 +00:00
slerena 2964068818 2010-07-06 Sancho Lerena <slerena@artica.es>
* include/functions.php, include/functions_reporting.php: 
        Reverting last commit from Raul because it was breaking
        Summatory reporting type.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2962 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-06 10:38:55 +00:00
raulmateos 76ed670629 2010-07-05 Raul Mateos <raulofpandora@gmail.com>
* include/functions.php, include/functions_reporting.php: Cleaned code.
	Fixed "Summatory" typo.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2961 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-05 13:02:56 +00:00
raulmateos 1203784e8c 2010-07-05 Raul Mateos <raulfopandora@gmail.com>
* bin/pandora_agent.conf: Added example of D Drive. Added comments
        to some modules. Added lost module_begin. Improved command.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2960 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-05 09:12:14 +00:00
jsatoh 79cb9d5e35 2010-07-05 Junichi Satoh <junichi@rworks.jp>
* pandora_server_installer: Added support for FreeBSD.

	* FreeBSD/pandora_server, FreeBSD/tentacle_server: Added startup
	script for FreeBSD.

	* FreeBSD/pandora_server.conf: Added configuration file for FreeBSD.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2959 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-05 03:20:42 +00:00
jsatoh 3e4130c0f8 2010-07-05 Junichi Satoh <junichi@rworks.jp>
* unix/pandora_agent_installer: Fixed typo and directory permission
	for FreeBSD.
	
	* unix/FreeBSD/pandora_agent: Simplified.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2958 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-05 01:56:19 +00:00
slerena 4d53e4fb43 2010-07-04 Sancho Lerena <slerena@artica.es>
* pandora_console_upgrade: Changed permissions (was 640).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2957 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-04 00:44:56 +00:00
Ramon Novoa e693d976b0 2010-07-02 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module.h, modules/pandora_module_factory.cc,
          modules/pandora_module.cc, pandora_windows_service.cc: Added the
          module_condition feature. See http://openideas.info/wiki/ for more
          information.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2956 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-02 14:25:53 +00:00
Ramon Novoa a7b62691b3 2010-07-02 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Fixed a typo.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2955 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-02 14:21:05 +00:00
zarzuelo b4c97408a9 2010-07-02 Sergio Martin <sergio.martin@artica.es>
* operation/events/events_rss.php
	operation/events/events_marquee.php
	operation/events/events.php: Fixed several bugs into
	events viewer and events rss file. Apply Ip restriction
	to API Ip's List to rss and marquee files.
	Bugfix: 3017263



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2948 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-02 12:21:39 +00:00
zarzuelo b8e3b869ef 2010-07-01 Sergio Martin <sergio.martin@artica.es>
* include/functions_db.php: Fixed the notice when
	delete a IP adress from agent configuration for 
	bug: 3016410



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2946 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-01 10:46:08 +00:00
zarzuelo 4e8f0f1a1b 2010-07-01 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/reporting_builder.list_items.php: Fixed the
	reports items filter for bug: 3013841



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2945 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-01 10:24:14 +00:00
Ramon Novoa 9c61b60d97 2010-06-30 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Improved the module cron to allow intervals and
          multiple runs within an interval.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2944 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-30 19:13:41 +00:00
zarzuelo 29f5225990 2010-06-30 Sergio Martin <sergio.martin@artica.es>
* operation/events/events.php: Changed the Server and All text
	on the events filter to use gettext. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2942 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-30 17:04:32 +00:00