Commit Graph

89 Commits

Author SHA1 Message Date
Ramon Novoa 39b530b340 2009-02-09 Ramon Novoa <rnovoa@artica.es>
* windows/pandora_wmi.cc,
          windows/pandora_wmi.h: Allow custom process creation flags.

        * pandora_windows_service.cc: Hide console window when calling
          tentacle client.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1434 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-09 17:47:24 +00:00
Esteban Sanchez 1c59619df7 2009-02-09 Esteban Sanchez <estebans@artica.es>
* main.cc: Added a new parameter --process to run the agent as a
        single process instead of a service.

        * pandora_windows_service.h: Interval property is now public so it can
        be readed if it's running as a single process.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1432 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-09 10:26:07 +00:00
Esteban Sanchez 01c8005cd0 2008-12-03 Esteban Sanchez <estebans@artica.es>
* bin/PandoraAgent.exe: Updated to last commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1281 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-12-03 13:06:51 +00:00
Esteban Sanchez ea81620820 2008-12-03 Esteban Sanchez <estebans@artica.es>
* pandora.[cc,h]: Function is_enabled() was moved here to be
	accesible.

	* pandora_windows_service.cc: Removed is_enabled() private function.

	* windows_service.cc: Service is now interactive, so it can open
	interactive processes in the watchdog mode of proc modules.

	* modules/pandora_module_factory.cc: Added "module_watchdog" and
	"module_start_command" tokens to service and process modules. Style
	correction.

	* modules/pandora_module_proc.[cc,h]: Added watchdog mode to run
	proccess when they die. It's done by setting a start command to
	recover it.

	* modules/pandora_module_service.[cc,h]: Added watchdog mode to start
	a service when it's stopped.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1277 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-12-03 12:04:48 +00:00
Ramon Novoa 65ab67b296 2008-12-01 Ramon Novoa <rnovoa@artica.es>
* windows/pandora_wmi.cc,
          windows/pandora_wmi.h,
          modules/pandora_module_logevent.cc,
          modules/pandora_module_logevent.h,
          modules/pandora_module_factory.cc: Added event code filtering
          support to logevent module.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1271 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-12-01 17:49:16 +00:00
Esteban Sanchez 0059aad758 2008-12-01 Esteban Sanchez <estebans@artica.es>
* pandora_windows_service.cc: Removed debug output. Release mutex on
        sendXml()

        * modules/pandora_module.[cc,h]: Save latest output in a new property.
        It's used on generic_proc modules to check the value better.

        * modules/pandora_module_proc.[cc,h]: Added support for asynchronous
        mode. It checks process in a separeted thread and report the status
        quicker. Added getProcessName()

        * modules/pandora_module_service.cc: Style correction. Removed an
        indentation level.

        * windows/pandora_windows_info.[cc,h]: Added getProcessHandles() to
        get a list of handles of a running process, giving the process name.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1270 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-12-01 13:40:19 +00:00
Esteban Sanchez 5a63e70b7b 2008-11-28 Esteban Sanchez <estebans@artica.es>
* modules/pandora_module.[cc,h]: Added an async property. Added
	getLatestOutput() to get the latest output of a module.

	* modules/pandora_module_factory.cc: Parse async token in modules.

	* modules/pandora_module_list.[cc,h]: It can create empty lists now
	and add modules using new addModule() function.

	* modules/pandora_module_service.[cc,h]: Added an async thread to
	watch services events and track services status changes quickly and
	asynchronously.

	* windows/pandora_wmi.cc: Style correction.

	* pandora_windows_service.[cc,h]: Pandora Windows service object is
	now single instance, so the instance to the running service can be
	accessed anywhere (useful in async threads). The XML generation and
	sending process has been moved to a new function called sendXml()
	which is thread-safe.

	* windows_service.h: Some properties are now protected instead of
	public to make it easier the singleton pattern in child classes.

	* main.cc: Adopted to singleton pattern in Pandora windows service.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1268 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-28 10:51:03 +00:00
Esteban Sanchez 80cf5e1a13 2008-11-26 Esteban Sanchez <estebans@artica.es>
* pandora_strutils.cc, pandora_strutils.h, ftp/pandora_ftp_client.cc,
	ftp/pandora_ftp_test.cc, ftp/pandora_ftp_client.h,
	ftp/pandora_ftp_test.h, windows/pandora_windows_info.h,
	windows/pandora_wmi.cc, windows/pandora_windows_info.cc,
	misc/pandora_file.cc, misc/pandora_file.h, pandora_agent_conf.cc,
	ssh/pandora_ssh_client.cc, ssh/pandora_ssh_test.cc,
	ssh/pandora_ssh_client.h, ssh/pandora_ssh_test.h,
	pandora_agent_conf.h, windows_service.cc, windows_service.h,
	modules/pandora_module.h, modules/pandora_module_logevent.cc,
	modules/pandora_module_exec.cc, modules/pandora_module_logevent.h,
	modules/pandora_module_exec.h, modules/pandora_module_freedisk.cc,
	modules/pandora_module_freedisk.h, modules/pandora_module_service.cc,
	modules/pandora_module_service.h, modules/pandora_module_proc.cc,
	modules/pandora_data.cc, modules/pandora_module_proc.h,
	modules/pandora_data.h, modules/pandora_module_factory.cc,
	modules/pandora_module_odbc.cc, modules/pandora_module_odbc.h,
	modules/pandora_module_factory.h,
	modules/pandora_module_freememory.cc, modules/pandora_module_list.cc,
	modules/pandora_module_freememory.h,
	modules/pandora_module_cpuusage.cc, modules/pandora_module_cpuusage.h,
	modules/pandora_module.cc, pandora.h: Tab style correction.
	Indentation blankspaces moved to tab characters.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1262 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-26 10:08:19 +00:00
raulmateos 6ce0966725 2008-10-30 Raul Mateos <raulofpandora@gmail.com>
* win32/installer/pandora_2.0.mpi: Updated installer to let the user start
	the service during installation.
	* win32/installer/scripts/*.bat: Updated bat files with new service name.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1203 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-30 09:13:16 +00:00
raulmateos 73fbd94bc7 2008-09-05 Raul Mateos <raulofpandora@gmail.com>
* win32/bin/pandora_agent.conf: Changed to template used by installer.
	* win32/installer/pandora_2.0.mpi: Updated installer file with pane
	that allows configure the pandora_agent.conf file without editing it.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1086 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-05 07:52:38 +00:00
raulmateos f5ef67bac0 2008-08-28 Raul Mateos <raulofpandora@gmail.com>
* win32/bin/pandora_agent.conf: Updated.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1045 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-28 14:59:09 +00:00
slerena 7a64e67e2f 2008-07-30 Sancho Lerena <slerena@gmail.com>
* win32/installer/pandora.ico: The new official 2.0 icon.

        * win32/bin/Pandora FMS Windows Agent 2.0 (Beta1)-Setup.exe:
        Probably not final, but this seems to work for us.

        * win32/bin/PandoraAgent.exe: Latest binary for agent.

        * win32/bin/pandora_agent.conf: A more complex sample file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@986 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-30 18:13:00 +00:00
Esteban Sanchez 8373606ae6 2008-07-09 Esteban Sanchez <estebans@artica.es>
* pandora_strutils.[cc,h]: Added strUnicodeToAnsi().

        * modules/pandora_module_logevent.cc, pandora_windows_service.[cc,h],
        windows/pandora_wmi.h: Tabs and blankspace style correction.

        * windows/pandora_wmi.cc: Convert result in getEventList() to ANSI,
        which was causing some BADXML errors on server. Tabs and blankspace 
        style correction.

        * bin/PandoraAgent.exe: Updated to last commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@946 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-09 12:46:22 +00:00
Esteban Sanchez e0f43f6276 2008-06-11 Esteban Sanchez <estebans@artica.es>
* bin/PandoraAgent.exe: Updated to commit, fixed an error when 
        building that was causing to not work as a service.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@855 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-11 15:46:10 +00:00
Esteban Sanchez 6f6f087d0a 2008-06-11 Esteban Sanchez <estebans@artica.es>
* pandora_windows_service.cc, modules/pandora_module_list.cc: Deleted
        debug output.

        * modules/pandora_module_exec.cc: Reindented the code. Add blank
        output to the module if there were nothing to read (like when the
        executions return nothing).

        * bin/PandoraAgent.exe: Updated to commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@854 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-11 14:58:53 +00:00
Esteban Sanchez 201d4e91b1 2008-06-11 Esteban Sanchez <estebans@artica.es>
* bin/libodbc++.dll: Added to repository. Needed to run agent since
        ODBC support was added.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@853 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-11 13:28:29 +00:00
Ramon Novoa 14026d35fa 2008-04-29 Ramon Novoa <rnovoa@artica.es>
* pandora.cc: Updated version information.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@827 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-29 11:02:33 +00:00
marostegui 0d1fbb542f 2008-04-21 Manuel Arostegui <marostegui@artica.es>
* installer/pandora_1.3.mpi: Changed tentacle_client.exe default
        installtion directory, now it is %WINDOWS.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@811 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-21 13:51:47 +00:00
Esteban Sanchez 428e8856f7 2008-04-09 Esteban Sanchez <estebans@artica.es>
* modules/pandora_data.[cc,h]: Added to repository. Implements a
        Pandora_Data object, which holds a value and the timestamp when it
        was created.

        * modules/pandora_module.[cc,h]: It holds now a list of Pandora_Data
        objects. The XML is generated based on the size of this list. Output
        property has became obsolete and child modules must use setOutput().

        * modules/pandora_module_cpuusage.cc,
        modules/pandora_module_exec.cc,
        modules/pandora_module_freedisk.cc,
        modules/pandora_module_freememory.cc,
        modules/pandora_module_odbc.cc, modules/pandora_module_proc.cc,
        modules/pandora_module_service.cc: Updated to new Pandora_Module
        parent class.

        * modules/pandora_module_list.cc: Deleted debug output.

        * pandora.cc: Now uses SYSTEMTIME instead of old time_t.

        * pandora_windows_service.[cc,h]: Added Ramon Novoa to authors. Added
        a new configuration token transfer_interval which sets the interval
        where the data file will be sent to the server. If the current
        interval token is lower than this transfer interval, the data will be
        added into a data_list XML tag.

        * PandoraAgent.dev: Added new files.

        * bin/PandoraAgent.exe: Updated to last commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@803 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-09 15:48:06 +00:00
Esteban Sanchez c6e4026a3e 2008-04-02 Esteban Sanchez <estebans@artica.es>
* pandora_agent_conf.[cc,h]: Object adapted to be a singleton so it
        could be used in many parts of the code who can't access to it before.

        * ftp/pandora_ftp_test.cc, ssh/pandora_ssh_test.cc: Adapted to
        configuration object singleton.

        * modules/pandora_module_odbc.[cc,h]: Added to repository. Implements
        a ODBC interface to make SQL queries.

        * modules/pandora_module.[cc,h], modules/pandora_module_list.cc,
        modules/pandora_module_factory.cc: Added ODBC module support.

        * bin/pandora_agent.conf: Added a ODBC module example.

        * PandoraAgent.dev: Added new files to project.

        * bin/PandoraAgent.exe: Updated to last commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@789 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-02 16:01:35 +00:00
marostegui 538a039f15 2008-04-02 Manuel Arostegui <marostegui@artica.es>
* installer/pandora_1.3.mpi: Adapted for the 1.3.1 Windows Installer
        with the tentacle support and tentacle util included.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@788 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-02 15:52:19 +00:00
Ramon Novoa 8befa0403f 2008-04-02 Ramon Novoa <rnovoa@artica.es>
* bin/pandora_agent.conf: Changed default transfer mode
      to tentacle.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@785 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-02 13:31:21 +00:00
Ramon Novoa fd92e09c4b 2008-03-25 Ramon Novoa <rnovoa@artica.es>
*  bin/PandoraAgent.exe: Updated to r764.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@766 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-03-25 17:58:43 +00:00
Ramon Novoa 1cb9fe1910 2008-03-25 Ramon Novoa <rnovoa@artica.es>
* ftp/pandora_ftp_test.cc, installer/pandora_1.3.mpi,
          installer/README.txt, pandora_windows_service.cc,
          bin/pandora_agent.conf: Variable ftp_password removed from
          configuration file, server_pwd is used instead.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@763 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-03-25 17:00:32 +00:00
raulmateos 3b957c2c2c 2007-09-17 Raul Mateos <raulofpandora@gmail.com>
* pandora_agent.conf: Corrected some texts.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@655 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-09-17 15:52:03 +00:00
slerena f65b09a92d 2007-09-14 Sancho Lerena <slerena@gmail.com>
* pandora_agent.conf: Updated

        * pandora_1.3.mpi: Updated and fixed some minor strings.

        * Packaged lastest version of Pandora FMS Agent for windows.

        This would be beta3 for Windows Agent.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@653 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-09-14 13:58:12 +00:00
Esteban Sanchez f09e5b0cf8 2007-09-06 Esteban Sanchez <estebans@artica.es>
* windows/pandora_wmi.cc: Fixed an error when detecting running
        services. Removed unuseful output.

        * bin/PandoraAgent.exe: Updated to last commit.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@652 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-09-11 16:47:26 +00:00
raulmateos f30e594507 2007-09-07 Raul Mateos <raulofpandora@gmail.com>
* installer/Pandora_Windows_Agent-1.3.0 Beta2-Setup.exe: Updated 
	beta2 installer binary.	
	* installer/pandora_1.3.mpi: Updated, clearing some texts.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@647 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-09-07 11:39:56 +00:00
Esteban Sanchez df02ca7416 2007-09-06 Esteban Sanchez <estebans@artica.es>
* pandora_windows_service.cc: Date is now filled with zeros to the
        left and two digits.

        * bin/PandoraAgent.exe: Updated to last commmit.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@645 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-09-06 15:21:13 +00:00
raulmateos 80891a4a0e 2007-09-05 Raul Mateos <raulofpandora@gmail.com>
* installer/Pandora_Windows_Agent-1.3.0 Beta2-Setup.exe: Updated 
	beta2 installer binary.	
	* installer/pandora_1.3.mpi: Updated with new binary.
	* bin/help/how_to_keys_es.html: New help file in spanish.
	* bin/help/how_to_keys.html: Updated.
	* installer/README.txt, LICENSE.txt: Updated.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@644 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-09-05 18:02:19 +00:00
Esteban Sanchez ee800a101b 2007-09-05 Esteban Sanchez <estebans@artica.es>
* windows/pandora_wmi.cc: Fixed a bug that return 0 in some cases of
        free disk space.

        * pandora.cc: Renamed debug file to pandora_debug.log

        * pandora_windows_service.cc: Fixed a blank space.

        * bin/PandoraAgent.exe: Updated to last commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@643 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-09-05 16:22:26 +00:00
raulmateos 028eeba946 2007-09-03 Raul Mateos <raulofpandora@gmail.com>
* installer/pandora_1.3.mpi: Updated texts in several languages. Now some
	links are traslated.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@639 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-09-03 16:09:37 +00:00
raulmateos eaa8d6baca 2007-08-30 Raul Mateos <raulofpandora@gmail.com>
* installer/pandora_1.3.mpi: Updated again, remove polish.
	* installer/Pandora_Windows_Agent-1.3.0 Beta2-Setup.exe: Updated	beta2 installer binary.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@637 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-30 09:06:51 +00:00
slerena 9f3fcd000c 2007-08-30 Sancho Lerena <slerena@gmail.com>
* bin/PandoraAgent.exe: New .exe (smaller, without debug symbols)




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@636 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-30 08:50:56 +00:00
raulmateos 45c9a8bf10 2007-08-30 Raul Mateos <raulofpandora@gmail.com>
* installer/pandora_1.3.mpi: Updated deleting first question.
 	* installer/Pandora_Windows_Agent-1.3.0 Beta2-Setup.exe: Updated 
	beta2 installer binary.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@635 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-30 07:17:31 +00:00
raulmateos 3f5b2a9ccf 2007-08-30 Raul Mateos <raulofpandora@gmail.com>
* installer/Pandora_Windows_Agent-1.3.0 Beta2-Setup.exe: Updated 
	beta2 installer binary.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@634 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-30 06:56:20 +00:00
raulmateos 4f3b8afade 2007-08-29 Raul Mateos <raulofpandora@gmail.com>
* bin/help/how_to_keys.html: Added SSH string.
	* installer/pandora_1.3.mpi: Updated with small text changes.
 	* installer/Pandora_Windows_Agent-1.3.0 Beta2-Setup.exe: Updated 
	beta2 installer binary.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@633 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-29 17:36:22 +00:00
slerena 688a2b73c0 2007-08-29 Sancho Lerena <slerena@artica.es>
* bin/README.txt replaced instead README.

        * installer/Pandora_Windows_Agent-1.3.0 Beta2-Setup.exe: Added
        beta2 installer binary.

        * installer/pandora_1.3.mpi: Several changes on installer from last
        version !. Now adds to path /util directory, and open a writepad
        for default config. Also install Pandora on standard windows
        uninstaller, and also remove correctly all files. Some other minor
        changes added.

        * installer/README.txt: Updated also.

        * installer/How_to_create_installer.txt: Some small changes in file
        disposition.

	This SHOULD be the LAST commit before BETA2 official launch. 

== Version: 1.3 Beta2 ==



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@631 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-29 15:01:26 +00:00
Esteban Sanchez d38e422804 2007-08-29 Esteban Sanchez <estebans@artica.es>
* pandora_windows_service.cc: Fixed a typo. Disconnect ftp client when
        an error happened.

        * ftp/pandora_ftp_client.cc: Set network timeout and ftp timeout.
        Ignore error when executing moving operations, this is compatible
        with FTP jails

        * windows/pandora_wmi.cc: Improved WQL queries and fixed some leaks.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@630 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-29 14:30:09 +00:00
Esteban Sanchez 079acf2f6d 2007-08-28 Esteban Sanchez <estebans@artica.es>
* main.cc: Fixed an error with previous commit.

        * pandora_windows_service.cc, ftp/pandora_ftp_client.cc: Reduced log
         level.

        * bin/PandoraAgent.exe: Updated to last commit.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@624 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-28 10:47:58 +00:00
Esteban Sanchez ce162b0ea8 2007-08-27 Esteban Sanchez <estebans@artica.es>
* pandora.cc: Updated buildname.

        * main.cc: Added a missing "]" character. Added version number when 
        showing the help. Fixes #1782569.

        * bin/PandoraAgent.exe: Updated to last commit.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@623 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-27 16:55:33 +00:00
Esteban Sanchez e6c4961795 2007-08-24 Esteban Sanchez <estebans@artica.es>
* pandora.cc: Changed log and debug file to have the same name that
        other operative system agents.

        * bin/PandoraAgent.exe: Updated to last commit.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@618 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-24 11:54:39 +00:00
Esteban Sanchez 3e0ed5ba6f 2007-08-24 Esteban Sanchez <estebans@artica.es>
* win32/windows/pandora_wmi.cc: Fixed a bug when reading free space
        from a read-only device such as CD-ROM by improving the WQL query.

        * bin/PandoraAgent.exe: Updated to last commit.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@617 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-24 11:48:23 +00:00
slerena f263c28ac8 2007-08-23 Sancho Lerena <slerena@artica.es>
* bin/pandora_agent.conf: More comple sample config.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@615 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-23 17:24:56 +00:00
Esteban Sanchez 9e098ffe42 2007-08-23 Esteban Sanchez <estebans@artica.es>
* pandora_windows_service.cc: Reduced output log level in normal use.

        * main.cc: Added a new line on help output.

        * bin/PandoraAgent.exe: Updated to last commit.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@613 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-23 16:22:56 +00:00
Esteban Sanchez 2857fc9e84 2007-08-16 Esteban Sanchez <estebans@artica.es>
* ftp/pandora_ftp_test.[cc,h]: Added to repository. Implements a FTP
        test to be run on command line.

        * main.cc: Added --test-ftp option to perform a FTP test.

        * PandoraAgent.dev: Added new files.

        * bin/PandoraAgent.exe: Updated to last commit.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@599 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-16 12:37:28 +00:00
Esteban Sanchez 50af40da9f 2007-08-16 Esteban Sanchez <estebans@artica.es>
* pandora_windows_service.cc: Do not check debug flag if copying was
        not successful.

        * bin/README: Updated options.

        * bin/PandoraAgent.exe: Updated to last commit.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@598 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-16 09:26:35 +00:00
Esteban Sanchez cee0fa4897 2007-08-07 Esteban Sanchez <estebans@artica.es>
* pandora.cc: Updated agent version.

        * pandora.h, modules/pandora_module_exec.cc: Redefine WINVER, so
        CreateJobProject can be found without modifying windef.h.

        * pandora_agent_conf.cc: Rewritten a loop.

        * ftp/pandora_ftp_client.[cc,h]: Added to repository. Implemented FTP
        transfer protocol using libcurl. It adds a library dependency.

        * pandora_windows_service.cc: Added support for FTP transfers. Select
        between SSH (default) or FTP. Improved file structure to be cleaner.

        * pandora_windows_service.h: Added new private functions and removed
        unneccessary private attribute.

        * misc/pandora_file.[cc,h]: Added a function to get the filename of a
        path.

        * main.cc: Indentation fixed.

        * bin/libcurl.dll: Added to repository. New dependency.

        * bin/PandoraAgent.exe: Updated to last commit.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@594 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-07 14:28:14 +00:00
raulmateos 15ca21e72e 2007-05-23 Raul Mateos <raulofpandora@gmail.com>
* installer/Pandora_Windows_Agent-1.2.1-Setup.exe: Updated installer.
	Deleted old one.
	* installer/pandora1.2.1.mpi: Renamed installjammer file and updated
	version. To use the file, you have to copy the ./bin and ./installer folder
	to c:\pandora_installer folder. This is explained in the
	how_to_create.installer.txt new file.
	* installer/how_to_create.installer.txt: New help file.
	* installer/README.txt: Updated file with 1.2.1 version.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@465 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-05-23 11:22:08 +00:00
Esteban Sanchez c4bf5bf47b 2006-12-05 Esteban Sanchez <estebans@artica.es>
* pandora_windows_service.cc: Fixed a bug when the agent name is not
        configured and should be getted from the system.

        * bin/PandoraAgent.exe: Updated to last commit.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@309 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-12-05 12:37:36 +00:00