Commit Graph

2735 Commits

Author SHA1 Message Date
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
zarzuelo 2ff45e4dc8 2010-06-30 Sergio Martin <sergio.martin@artica.es>
* operation/events/events.php: Fixed the agent filter. Now the
	pagination keep the agent and shows the name of the agent in the 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2940 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-30 16:49:07 +00:00
Ramon Novoa cd7c09796e 2010-06-30 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Call df with -P from the Linux abstraction layer
          to avoid split lines.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2936 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-30 15:51:45 +00:00
Ramon Novoa cdd4f87774 2010-06-30 Ramon Novoa <rnovoa@artica.es>
* windows/pandora_wmi.cc: getDiskFreeSpacePercent should not return
          any value if the drive does not exist. Fixed.

        * modules/pandora_module.h, modules/pandora_module_factory.cc,
          modules/pandora_module.cc, pandora_windows_service.cc: Added support
          for saving the value of a module as an environment variable.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2935 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-30 15:40:25 +00:00
zarzuelo cf4de8461c 2010-06-30 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/visual_console_builder.editor.js: Fixed 
	the storing of width and height of item in visual maps



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2934 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-30 15:01:41 +00:00
zarzuelo 7414748d73 2010-06-29 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/visual_console_builder.editor.js
	godmode/reporting/visual_console_builder.editor.php: Fixed
	storing of width and height of the background of the visual map



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2933 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-29 12:58:54 +00:00
zarzuelo 45038412ab 2010-06-29 Sergio Martin <sergio.martin@artica.es>
* include/Image/image_functions.php: Reverted an 
	undesired last commit change



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2932 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-29 11:06:16 +00:00
zarzuelo 55682bc536 2010-06-29 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/visual_console_builder.php
	godmode/reporting/visual_console_builder.editor.js: 
	Fixed the setting of original size by javascript when you 
	choose 0 x 0 in the visual map background for Bug: 3020721



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2931 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-29 10:52:58 +00:00
jsatoh fb9731bd76 2010-06-29 Junichi Satoh <junichi@rworks.jp>
* pandora_console_install: Added support for FreeBSD and RHEL/CentOS.

	* install.php: Added support for FreeBSD.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2930 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-29 01:19:44 +00:00
zarzuelo 38a66e7cfc 2010-06-28 Sergio Martin <sergio.martin@artica.es>
* include/functions_db.php: Fixed the get_agent_modules 
	function to avoid return the pending delete modules



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2929 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-28 11:49:07 +00:00
Ramon Novoa 17649b8c77 2010-06-25 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Added the module_cron feature to schedule modules
          using a cron-like syntax.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2928 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-25 12:38:32 +00:00
zarzuelo 7ddc24b32c 2010-06-25 Sergio Martin <sergio.martin@artica.es>
* include/functions_ui.php: Adding a parameter to
	printTruncateText to personalize the suffix string
	of a truncate string



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2927 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-25 08:12:25 +00:00
zarzuelo e625bc73a4 2010-06-25 Sergio Martin <sergio.martin@artica.es>
* include/functions_ui.php: Changed substr() to
        mb_strimwidth() into printTruncateText function



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2926 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-25 07:58:39 +00:00
jsatoh 15b82505a0 2010-06-25 Junichi Satoh <junichi@rworks.jp>
* operation/agentes/status_monitor.php: Changed substr() to
	mb_strimwidth(). Module name should be truncated with displayed length,
	not number of characters.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2925 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-25 05:52:33 +00:00
Ramon Novoa 849dcd1178 2010-06-23 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Added the module_save and module_condition features.
          See http://www.openideas.info/wiki/ for more information.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2924 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-23 18:01:38 +00:00
Ramon Novoa 725f167878 2010-06-23 Ramon Novoa <rnovoa@artica.es>
* include/fgraph.php: Continue drawing combined charts if modules
          without data are found.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2922 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-23 13:16:36 +00:00
zarzuelo 31b6f7045d 2010-06-23 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php: Added a parameter into
	print_select function to set style a selective 
	options into the select form control



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2921 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-23 11:31:44 +00:00