Commit Graph

147 Commits

Author SHA1 Message Date
Ramon Novoa cafe7ef8e5 2010-11-12 Ramon Novoa <rnovoa@artica.es>
* windows/pandora_wmi.cc: isServiceRunning returns -1 for module
	  states other than "Running" and "Stopped".

	* modules/pandora_module_logevent.cc,
	  modules/pandora_module_logevent.h: Return a non empty string if
	  the event description can not be read. Save the event id as an
	  unsigned long int to avoid overflows.

	* modules/pandora_module_service.cc,
	  modules/pandora_module_service.h: Aesthetic fix. Removed carriage
	  returns.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3580 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-12 13:41:24 +00:00
Ramon Novoa fdf6e21673 2010-11-08 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_logevent.cc,
	  modules/pandora_module_logevent.h: Re-wrote the module to avoid
	  using EVENTLOG_SEEK_READ, which seems to cause a lot of trouble.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3561 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-08 19:26:17 +00:00
Ramon Novoa 486749d686 2010-11-05 Ramon Novoa <rnovoa@artica.es>
* installer/pandora.mpi: Updated installation messages.

	* pandora_windows_service.cc: startup_delay after the service is
	  started, not before. Read all secondary server parameters.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3543 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-05 14:07:42 +00:00
Ramon Novoa d88ececb74 2010-11-03 Ramon Novoa <rnovoa@artica.es>
* bin/util/tentacle_client.exe: Updated the tentacle client.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3507 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-03 17:27:04 +00:00
Ramon Novoa 76d230a1e6 2010-10-27 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_logevent.cc: We need more information on error
	  997, ignore it for now.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3469 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-27 11:52:07 +00:00
Ramon Novoa e1685c7b77 2010-10-04 Ramon Novoa <rnovoa@artica.es>
* windows/pandora_wmi.cc: Fixed inventory NIC information.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3339 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-04 17:24:10 +00:00
Ramon Novoa d8640d3b50 2010-10-04 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_inventory.cc: Fixed XML generation for
	  inventory modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3335 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-04 14:02:27 +00:00
Ramon Novoa 53c2257fca 2010-08-04 Ramon Novoa <rnovoa@artica.es>
* Makefile.am: Use -static-libstdc++ to remove the dependency on
          libstdc++-6.dll.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3103 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-04 18:26:43 +00:00
Ramon Novoa 8855493ec9 2010-08-04 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module.cc: Free the collection if it can not
          be added to the list.

        * Makefile.am: Use -static-libgcc to remove the dependency on
          libgcc_s_sjlj-1.dll.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3101 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-04 17:47:44 +00:00
Ramon Novoa 6edb348195 2010-08-04 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module.cc: Run action commands through cmd.exe.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3096 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-04 16:28:25 +00:00
slerena 48d137cd7f 2010-08-04 Sancho Lerena <slerena@artica.es>
* win32/bin/util/df_percent.vbs: New VBS plugin to detect all 
        hardrives and return free disk on %.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3093 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-04 14:57:56 +00:00
Ramon Novoa 1df39b4c9d 2010-08-04 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module.cc: Changed sscanf format strings. They did
          not seem to work well in native Windows.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3092 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-04 12:38:42 +00:00
darode e78abe09af 2010-07-16 Dario Rodriguez <dario.rodriguez@artica.es>
* misc/pandora_file.cc: fixed unclosed directory with function closedir.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3017 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-16 12:10:49 +00:00
darode 1ab8d24ba5 2010-07-16 Dario Rodriguez <dario.rodriguez@artica.es>
* misc/pandora_file.cc, pandora_file.h: Added function to remove directories
	recursively

        * win32/pandora_windows_service.cc, pandora_windows_service.h: Added
        support for unzip collections and improved functionality to manage
	collections.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3015 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-16 11:43:07 +00:00
darode 76e22972cf 2010-07-13 Dario Rodriguez <dario.rodriguez@artica.es>
* pandora_agent_conf.cc: Added support to parse collections
	* pandora_agent_conf.h: Added support to parse collections



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3002 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-13 17:24:00 +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
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
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
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 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
slerena b59ccc26ee 2010-06-13 Sancho Lerena <slerena@artica.es>
* bin/util/logevent_log4x.vbs: Fixed a small undefinition who
        makes script not working on summer time.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2903 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-13 13:43:27 +00:00
Ramon Novoa 4413cceabd 2010-06-08 Ramon Novoa <rnovoa@artica.es>
* windows/pandora_wmi.cc, modules/pandora_module_logevent.cc: Removed
          unnecessary log information.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2876 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-08 16:49:40 +00:00
raulmateos f7d418031e 2010-05-27 Raul Mateos <raulofpandora@gmail.com>
* bin/pandora_agent.conf: Added some example. Changed
        description for Disk Free (added %). Updated build.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2807 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-27 06:59:39 +00:00
Ramon Novoa 6eb81e4838 2010-05-19 Ramon Novoa <rnovoa@artica.es>
* pandora_strutils.h, modules/pandora_module_odbc.h,
          modules/pandora_data.h, build.sh, pandora.h,
          udp_server/udp_server.h, Makefile.am: Small fixes so the agent
          builds under newer versions of MinGW.

        * installer/pandora.mpi: Updated build.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2752 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-19 15:21:10 +00:00
Ramon Novoa d4611dc1cd 2010-05-13 Ramon Novoa <rnovoa@artica.es>
* pandora_windows_service.cc: Check the return codee of the tentacle
          client. Fixes bug #2972399.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2722 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-13 15:39:52 +00:00
Ramon Novoa 85dd1e7513 2010-05-12 Ramon Novoa <rnovoa@artica.es>
* build.sh: Added to repository. Pandora Agent installer build script.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2703 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-12 08:40:48 +00:00
slerena 2219ed336e 2010-04-23 Sancho Lerena <slerena@artica.es>
* bin/pandora_agent.conf: Updated sample conf with some examples of
        inventory usage, and agent plugins (commented).

        * bin/util/df.vbs, bin/util/ps.vbs: Added flush in the end of each module

        * bin/util/logevent_log4x.vbs: New agent plugin to parse eventlog and
        generate a Log4x format.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2604 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-23 16:47:28 +00:00
Ramon Novoa a7b159323c 2010-04-23 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_inventory.cc: Fixed a couple of XML tags.

        * installer/pandora.mpi: Added the vbs scripts to the installer.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2603 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-23 14:31:10 +00:00
Ramon Novoa b363210cba 2010-04-21 Ramon Novoa <rnovoa@artica.es>
* main.cc: Updated headers after tinyxml removal.

        * modules/pandora_module_list.cc,
          modules/pandora_module_factory.cc: Added support for plugin modules.

        * modules/pandora_module_exec.cc, modules/pandora_module.h,
          modules/pandora_module.cc: Added the module_timeout configuration
          token and replaced tinyxml related code.

        * bin/pandora_agent.conf: Added a sample plugin module. Added the
          group configuration token (was missing).

        * modules/pandora_module_plugin.cc,
          modules/pandora_module_plugin.h: Added to repository. Plugin module.

        * bin/util/df.vbs, bin/util/ps.vbs: Added to repository. Sample
          VBScript plugins.

        * pandora_windows_service.cc, pandora_windows_service.h,
          modules/pandora_module_inventory.cc, ssh/pandora_ssh_test.cc,
          ftp/pandora_ftp_test.cc, modules/pandora_module_inventory.h: Replaced
          tinyxml related code.

        * tinyxml, tinyxml/tinyxmlerror.cpp, tinyxml/tinystr.h,
          tinyxml/tinyxmlparser.cpp, tinyxml/tinyxml.cpp,
          tinyxml/tinyxml.h, tinyxml/tinystr.cpp: Removed from repository. No
          longer used.

        * installer/pandora.mpi, pandora.cc: Updated build to RC1.

        * Makefile.am: Updated sources. Removed tinyxml and added the plugin
          module.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2584 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-21 20:00:31 +00:00
Ramon Novoa f5a64d8e9d 2010-04-16 Ramon Novoa <rnovoa@artica.es>
* windows/pandora_wmi.cc: fixed getOSVersion. Crashed in Windows 2008
          and Windows 7.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2572 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-16 13:12:23 +00:00
Ramon Novoa 40febeca27 2009-12-18 Ramon Novoa <rnovoa@artica.es>
* windows/pandora_wmi.cc: Fixed bug #2907481.

        * bin/PandoraAgent.exe: Updated to current revision.
        
        * installer/pandora.mpi, pandora.cc: Updated build.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2223 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-18 20:04:42 +00:00
raulmateos 40f7f01680 2009-12-16 Raul Mateos <raulofpandora@gmail.com>
* installer/pandora.mpi, README:Preparing release
	changing version to final.

	* installer/logo.png: Updated logo

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2209 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-16 18:25:17 +00:00
Ramon Novoa 6eee94779b 2009-11-26 Ramon Novoa <rnovoa@artica.es>
* installer/pandora.mpi: Updated version and silent install mode.

        * pandora_windows_service.cc: Set the path from the agent to avoid
          having to reboot. Fixed a typo.

        * pandora.cc: Updated version.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2137 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-26 17:15:06 +00:00
raulmateos 0d8ae7f9db 2008-11-26 Raul Mateos <raulofpandora@gmail.com>
* installer/pandora.mpi: Updated installer build to RC3.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2136 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-26 14:46:36 +00:00
Ramon Novoa 6e4c5c4be1 2009-11-24 Ramon Novoa <rnovoa@artica.es>
* installer/pandora_silent.mpi: Removed from repository. Merged changes
          into pandora.mpi.

        * installer/pandora.mpi: Merged with pandora_silent.mpi.

        * pandora.cc: Updated version string.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2126 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-24 17:31:53 +00:00
Ramon Novoa 609e56c865 2009-11-19 Ramon Novoa <rnovoa@artica.es>
* windows/pandora_wmi.cc: Fixed bug #2895307.

        * modules/pandora_module.cc: Fixed bug #2835450.

        * bin/pandora_agent.conf: Added xml_buffer configuration token.

        * ssh/libssh2/libssh2_config.h, ssh/libssh2/packet.c: Renamed usleep to
          u_sleep to avoid conflicts.

        * pandora_windows_service.cc: Fixed bug #2899257.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2115 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-19 00:40:26 +00:00
slerena b6ffbbda11 ancho Lerena <slerena@artica.es>
* Installer/Pandora_silent.mpi: Installer in silent mode. Should
        replace pandora.mpi in the future, includes both, using a
        command line to choose standard or un-attended install.


M    win32/ChangeLog
A    win32/installer/pandora_silent.mpi
M    win32/installer/pandora.mpi


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2111 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-17 00:51:22 +00:00
slerena bad70447f8 2009-10-17 Sancho Lerena <slerena@artica.es>
* configure.in: Modified path to libregex.a instead original boost
        library name (very large and complex). This should be fix with the 
        library package uploaded in sourceforge and compile nicely (works
        for me :-)




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2029 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-16 15:02:22 +00:00
Ramon Novoa 39cb7f8736 2009-10-15 Ramon Novoa <rnovoa@artica.es>
* windows_service.cc: Enable service recovery by default.

        * pandora_windows_service.cc: Added autotime, group and description
          configuration options.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2024 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-15 14:30:38 +00:00
slerena c1832c34e9 2009-10-13 Sancho Lerena <slerena@artica.es>
* bin/PandoraAgent.exe: Last build of agent binary.
	
	* bin/pandora_agent.conf: new default .conf for packaging.
	
	* bin/util/getreg.exe, bin/util/cmp.exe, bin/util/sort.exe: New bin tools
	for the 3.0 agent util directory.
	
	* installer/scripts/install_service_restart.bat: Install daily agent
	restart with AT command.
	
	* installer/scripts/restart_pandora_agent.bat: Make a service restart from
	command line (using net commands).
	
	* installer/pandora.mpi: Many fixes and improvements for the installer.

	* installer/README.txt: Updated readme.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2017 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-13 19:15:07 +00:00
Ramon Novoa 79376ea722 2009-10-06 Ramon Novoa <rnovoa@artica.es>
* main.cc: Fixed the agent interval when running in process mode.

        * pandora_windows_service.cc: Moved the startup delay to the right
          place.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2001 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-06 10:55:59 +00:00
Ramon Novoa 3e290f3ecd 2009-10-05 Ramon Novoa <rnovoa@artica.es>
* ftp/pandora_ftp_client.h: Fixed the path of curl.h to match
          that in the Dev-cpp libcurl devpack.

        * modules/pandora_module_tcpcheck.cc: Properly close the connection
          socket.

        * modules/pandora_module_regexp.cc: Removed debugging code.

        * modules/pandora_module_perfcounter.cc: Close the query handle even if
          no data was returned to avoid memory leaks.

        * windows/pandora_windows_info.h,
          windows/pandora_windows_info.cc,
          modules/pandora_module_proc.cc: Fixed a process handle leak.

        * configure.in: Improved library detection.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2000 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-05 17:04:17 +00:00
slerena d5b14dab3b 2009-09-24 Sancho Lerena <slerena@artica.es>
* modules/pandora_module_tcpcheck.cc: WSAStartup memory management
        was leaking memory, so we will create and destroy in each loop the WSA
        structure. Tested and leak-proof :-))

        * modules/pandora_module_inventory.cc: Fixed typo with string label of
        services inventory module.

        * bin/PandoraAgent.exe: New binary (woah, compiled from linux!).

        * pandora_windows_service.cc: Fixed problem in os XML Tag, was os_name 
        not os. Fixed problem with windows version, now is passwd full string to xml.
        Tentacle call is passwd between quotes, because tentacle could be
        in paths with blank spaces (by default \program files\pandora_agent).

        * pandora.cc: Build updated. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1969 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-24 16:29:25 +00:00
Ramon Novoa 7358747348 2009-09-23 Ramon Novoa <rnovoa@artica.es>
* windows/pandora_wmi.h, modules/pandora_module_inventory.cc: Changed
          the format of the inventory XML.

        * main.cc: Execute the agent and exit when compiled with debugging
          enabled.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1968 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-23 07:04:04 +00:00
Ramon Novoa f8e8bffe90 2009-09-22 Ramon Novoa <rnovoa@artica.es>
* debug_new.h, fast_mutex.h,
	  debug_new.cpp, static_assert.h: Added to repository. Wu Yongwei's
	  memory leak detection tool (part of Nvwa). Only compiled when
	  debugging is enabled.

	* bin/util/tentacle_client.exe: Added to repository. Tentacle client
	  needed to build the installer.

	* installer/pandora_2.0.mpi: moved to installer/pandora.mpi. Updated.
	  The installer can now be built directly from the installer
	  subdirectory.

	* configure.in, Makefile.am, autogen.sh: Created a proper
	  configure.in and Makefile.am. The agent can now be cross-compiled
	  from Linux :-D

	* bin/pandora_agent.conf: Fixed. A local configuration had been
	  uploaded.
	
	* pandora_windows_service.h,pandora_windows_service.cc,
	  udp_server/udp_server.cc, udp_server/udp_server.h: Properly shutdown
	  the UDP server.

	* modules/pandora_module_regexp.cc,
	  modules/pandora_module_inventory.cc,
	  modules/pandora_module_factory.cc,
	  modules/pandora_module.cc, pandora_strutils.cc,
	  pandora.h, pandora.cc: Fixed a couple of memory leaks. Small changes
	  to avoid compile warnings when cross-compiling from Linux.

	* windows_service.cc: Removed the interactive service flag to avoid
	  'black windows'.

	* main.cc: Include the memory leak detection tool if debugging is
	  enabled.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1966 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-22 11:48:25 +00:00
Ramon Novoa 70ce6c151f 2009-09-16 Ramon Novoa <rnovoa@artica.es>
* pandora_windows_service.cc: Fixed a memory leak.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1951 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-16 17:10:28 +00:00
Ramon Novoa 21f0962ca0 2009-09-11 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_inventory.h,
          modules/pandora_module_inventory.cc,
          modules/pandora_module_factory.cc: Fixed inventory module interval
          calculation.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1931 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-10 22:17:00 +00:00
Ramon Novoa 0e9b86cc97 2009-09-10 Ramon Novoa <rnovoa@artica.es>
* windows/pandora_wmi.cc,
          modules/pandora_module_factory.cc: Removed unnecessary code.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1928 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-10 14:25:59 +00:00
Ramon Novoa ba431b7e0a 2009-09-10 Ramon Novoa <rnovoa@artica.es>
* windows/pandora_windows_info.h,
          windows/pandora_windows_info.cc: Added a new function that searches
          the Windows registry for installed software.

        * windows/pandora_wmi.cc, windows/pandora_wmi.h: Avoid reading numeric
          values from WMI query results into strings.

        * modules/pandora_module_inventory.h,
          modules/pandora_module_inventory.cc,
          modules/pandora_module_factory.cc: Added a new inventory module that
          lists system services. Updated the software module to use the new
          function. Fixed some typos.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1927 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-10 14:15:39 +00:00
Pablo de la Concepción Sanz fe65d1b3d8 2009-09-02 Pablo de la Concepcin <pablo.concepcion@artica.es>
* windows/pandora_wmi.cc, windows/pandora_wmi.h: Added Inventory
        functions

        * modules/pandora_module_inventory.h,
        modules/pandora_module_inventory.cc,
        modules/pandora_module.h, modules/pandora_module_list.cc,
        modules/pandora_module_factory.cc, modules/pandora_module.cc: Added
        Inventory moudule files and moudule loading logic.

        * modules/pandora_data.cc, modules/pandora_data.h: Added data_origin
        atribute, new constructors and getters and setters for the atribute

        * bin/PandoraAgent.exe: new complide binary

        * bin/pandora_agent.conf: new configuration parameters for inventory
        module

        * PandoraAgent.dev: Updated project file



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1905 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-02 11:39:53 +00:00