Commit Graph

310 Commits

Author SHA1 Message Date
slerena 7186d4da27 2009-09-24 Sancho Lerena zslerena@artica.es>
* linux/agent_installer: Fixed a typo in old setup backup cmd. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1970 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-24 16:38:54 +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
slerena 3d24bcc743 2009-09-18 sancho Lerena <slerena@artica.es>
* unix: Added subdir with local daemon script and sample conf
        file for each supported system: Linux, AIX, Solaris and HPUX.

        * Installer now detects OS and install startup scripts and
        conf depending on OS.

        * Updated RPM spec for Linux agent.

        * Plugins: Let here (at this time) only "common" plugins,
        in the future will be common plugins and OS dependendant 
        plugins.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1959 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-18 18:45:44 +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 2b2bf344ce 2009-09-14 Ramon Novoa <rnovoa@artica.es>
* unix, unix/pandora_agent_installer,
          unix/plugins, unix/pandora_agent,
          unix/pandora_agent_daemon, unix/AUTHORS,
          unix/pandora_agent.conf, unix/COPYING,
          unix/pandora_agent.spec, unix/tentacle_client,
          unix/README: Added to repository. Generic Pandora FMS Unix agent
          written in PERL. The skeleton files where copied from the linux
          subdirectory.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1940 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-14 15:57:00 +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
slerena b3b63955d0 2009-09-01 Sancho Lerena <slerena@artica.es>
* linux/pandora_agent.spec: Using chkconfig to manage service
        instalation/deinstallation.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1901 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-01 16:31:14 +00:00
slerena e8506e8c81 2009-08-22 Sancho Lerena <slerena@artica.es>
* linux/pandora_agent.spec: Update uninstall process.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1873 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-08-23 21:52:53 +00:00
slerena 0d7da618f6 2009-08-20 Sancho Lerena <slerena@artica.es>
* bsd-ipso/pandora_agent.sh
	aix/pandora_agent
	mac_osx/pandora_agent
	openWRT/pandora_agent
	hp-ux/pandora_agent
	win32/udp_server/udp_server.cc
	win32/udp_server/udp_server.h
	meta_agent/pandora_agent_sim.sh
	solaris/pandora_agent: Header updates.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1870 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-08-21 12:13:36 +00:00
marostegui 6a53dd04c8 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1865 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f 2009-08-19 07:12:56 +00:00
slerena 5971f0ac67 2009-08-18 Sancho Lerena <slerena@artica.es>
* linux/pandora_agent.spec: Fixed some permissions.

	* pandora_agent.conf, pandora_agent: Support for description and group
	passed to the server. Also implemented AUTOTIME, where timestamp used
	is the server localtime instead agent datetime. Also placed new token for
	module_postprocess data to be passed to server.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1863 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-08-19 02:28:44 +00:00
slerena eca7e0e887 2009-08-14 Sancho Lerena <slerena@artica.es>
* linux/plugins/arp_attack: New agent plugin to detect ARP attacks.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1851 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-08-14 18:31:10 +00:00
slerena 2b047cda94 2009-08-14 Sancho Lerena <slerena@artica.es>
* linux/pandora_agent_installer: Fixed problems with .conf backup

        * linux/plugins/iptables_plugin: New agent plugin for Netfilter.

        * linux/plugins/apache_status: new agent plugin (apache status).

        * linux/plugins/inventory: Added users and process. Fixed weird
        problem with inexistant XML attribute VALUE ¿?. Now works fine.

        * linux/plugins/pandora_df: New agent plugin (disk space).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1850 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-08-14 18:14:37 +00:00
slerena 4114adefa0 2009-08-12 sancho Lerena <slerena@artica.es>
* linux/pandora_agent: Added LSB tags to startup daemon for SUSE



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1846 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-08-12 15:04:16 +00:00
slerena c345808b70 2009-08-11 Sancho Lerena <slerena@artica.es>
* linux/pandora_agent_installer: Some fixes and support for Ubuntu/SUSE
	specific installer.
	
	* linux/plugins/grep_log: Support for more than module over the same file.
	
	* linux/pandora_agent_daemon: Fixed problems with PID control, rewrite
	function, now should works on any linux distro. 
	
	* linux/pandora_agent.conf: Added new inventory plugin and minor changes in
	default modules.

	* linux/pandora_agent: Updated version and build 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1841 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-08-11 16:58:01 +00:00
mdtrooper 99734514e3 2009-08-11 Miguel de Dios <miguel.dedios@artica.es>
* ChangeLog: sorry, I had got a mistake with copy&paste.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1838 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-08-11 15:41:39 +00:00
mdtrooper 1466cb0bd2 2009-08-03 Ramon Novoa <rnovoa@artica.es>
* linux/plugins/inventory: Added the capacity for search services in init,
	details file system, and modify the software scanner to extract the
	description.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1836 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-08-11 15:19:30 +00:00
Ramon Novoa e2d27b8131 2009-08-03 Ramon Novoa <rnovoa@artica.es>
* linux/plugins/inventory: Added to repository. Inventory plugin.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1827 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-08-03 15:21:20 +00:00
Ramon Novoa ab7b5b12a5 2009-07-22 Ramon Novoa <rnovoa@artica.es>
* linux/plugins/pandora_df: Properly close the <module> XML tag.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1816 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-07-22 16:14:33 +00:00
Ramon Novoa e0e2c0c9a7 2009-07-16 Ramon Novoa <rnovoa@artica.es>
* linux/plugins/pandora_ps, linux/plugins/pandora_df: Added to
          repository. New ps and df plugins.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1808 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-07-16 16:21:37 +00:00
marostegui efe5f1d308 2009-07-02 Manuel Arostegui <marostegui@artica.es>
* linux/pandora_agent.spec: Fixed a typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1788 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-07-02 18:05:04 +00:00
marostegui 1421e0700e 2009-07-02 Manuel Arostegui <marostegui@artica.es>
* linux/pandora_agent.spec: RPM spec file for 3.0 version.
	This spec file builds packages for: Centos5,Fedora11,RHEL5,
	SLE9, SLE10, OpenSuse 10.3, OpenSuse 11.0.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1787 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-07-02 17:49:29 +00:00
marostegui c588de94dc 2009-06-11 Manuel Arostegui <marostegui@artica.es>
* linux/pandora_agent_installer: Changed the uninstall options
        cause if you had the agent in the same machine as the server and the
        agent is deleted, it would delete /etc/pandora/ (which includes
        pandora_server.conf) instead of just pandora_agent.conf.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1750 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-12 07:09:33 +00:00
Ramon Novoa 3a8797cd29 2009-05-28 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_logevent.cc: Fixed the calculation of the
          newest event offset. Removed module output when no log events are
          found.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1721 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-28 14:05:17 +00:00
Ramon Novoa d24bee9758 2009-05-25 Ramon Novoa <rnovoa@artica.es>
* windows/pandora_wmi.cc, windows/pandora_wmi.h: Added functions for the
          new modules. Removed old logevent functions.

        * pandora_windows_service.h, pandora_windows_service.cc: Added support
          for data file buffering and startup delay.

        * modules/pandora_module_logevent.cc, modules/pandora_module_logevent.h:
          Rewritten to retrieve event log data using the PDH interface instead
          of WMI (was too slow).

        * modules/pandora_module_tcpcheck.cc, modules/pandora_module_tcpcheck.h,
          modules/pandora_module_regexp.cc, modules/pandora_module_regexp.h,
          modules/pandora_module_perfcounter.cc,
          modules/pandora_module_perfcounter.h,
          modules/pandora_module_freedisk_percent.cc,
          modules/pandora_module_freedisk_percent.h,
          modules/pandora_module_freememory_percent.cc,
          modules/pandora_module_freememory_percent.h: Added to repository.
          New modules, see http://openideas.info/wiki/.

        * modules/pandora_module.h, modules/pandora_module.cc,
          modules/pandora_module_factory.cc, modules/pandora_module_list.cc:
          Added support for the new modules.

        * bin/pandora_agent.conf: Included configuration examples for the new
          modules.

        * PandoraAgent.dev: Updated to compile the new modules.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1707 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-25 17:50:27 +00:00
guruevi dd1249e832 2009-05-05 Evi Vanoost <vanooste@rcbi.rochester.edu>
* mac_osx/plugins/ipmi2xml/impi2xml.php, 
	linux/plugins/ipmi2xml/impi2xml.php: Updated for latest ipmitool
	and works with Apple XServe "Nehalem". See blog post for adapting it
	
	* mac_osx/plugins/ipmi2xml/README.txt, 
	linux/plugins/ipmi2xml/README.txt: Updated documentation for dependencies

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1677 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-05 15:55:24 +00:00
jorgonzalez 58c2522516 2009-04-29 Jorge Gonzalez <jorgegonz@artica.es>
* win32/bin/pandora_agent.conf: fixed typos.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1661 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-29 07:57:36 +00:00
Esteban Sanchez 4a24502829 2009-04-13 Esteban Sanchez <estebans@artica.es>
* modules/pandora_module_odbc.cc: Fixed log message when no username
        was found.

        * modules/pandora_module_factory.cc: Removed duplicated assignment.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1610 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-13 10:49:08 +00:00
slerena 74ea22afb0 2009-04-02 Sancho Lerena <slerena@artica.es>
*  pandora_agent_installer: Some corrections for new tentacle install.
	
	* pandora_agent_daemon: Some corrections for startup script.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1595 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-02 19:22:05 +00:00
Ramon Novoa 4f89b62d41 2009-04-02 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_proc.cc,
          modules/pandora_module_proc.h: Fixed module_startdelay and
          module_retrydelay behavior.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1592 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-02 17:38:14 +00:00
marostegui 95b8be381f 2009-04-02 Manuel Arostegui <marostegui@artica.es>
* linux/pandora_agent_installer: Added tentacle_client installation

	* linux/tentacle_client: Added to repository. Tentacle_client is now
	installed along with the Agent.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1588 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-02 09:04:21 +00:00
Esteban Sanchez 2d53592452 2009-03-24 Esteban Sanchez <estebans@artica.es>
* udp_server/udp_server.cc, udp_server/udp_server.h: Replaced
        blankspaces with tabs.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1556 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-24 14:06:23 +00:00
marostegui 460812d613 2009-03-16 Manuel Arostegui <marostegui@artica.es>
* win32/bin/pandora_agent.conf: Added example of a UDP server
        to allow start/stop process.

        * win32/Changelog: Updated.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1535 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-16 08:03:49 +00:00
marostegui 170da6184f 2009-03-13 Manuel Arostegui <marostegui@artica.es>
* linux/pandora_agent.conf: Commented SNMPGET example module
        it is not useful in a default installation since it will always
        fail.

        * win32/bin/pandora_agent.conf: Added example for the new features
        such as watchdog and asynchronous mode.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1533 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-13 09:23:41 +00:00
Ramon Novoa d579ec4ea3 2009-02-24 Ramon Novoa <rnovoa@artica.es>
* win32/modules/pandora_module_proc.cc,
          win32/modules/pandora_module_proc.h,
          win32/modules/pandora_module_factory.cc,
          win32/pandora_windows_service.cc: Fixed some 'work in progress'
          code from previous commit.

        * win32/pandora.cc: Updated version string.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1482 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-24 18:50:16 +00:00
jorgonzalez 876864faeb 2009-02-24 Jorge Gonzalez <jorgegonz@svn.gnome.org>
* linux/pandora_agent.conf: fixed typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1478 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-24 11:26:01 +00:00
Ramon Novoa 54ede8e593 2009-02-13 Ramon Novoa <rnovoa@artica.es>
* windows/pandora_wmi.cc
          windows/pandora_wmi.h
          modules/pandora_module_exec.cc: Hide console window when executing
          exec modules.

        * modules/pandora_module_proc.cc,
          modules/pandora_module_proc.h,
          modules/pandora_module_factory.cc: Added module_retries,
          module_startdelay and module_retrydelay options to proc
          modules.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1454 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-13 14:34:10 +00:00
Esteban Sanchez 1c2b3c35ad 2009-02-12 Esteban Sanchez <estebans@artica.es>
* main.cc: Added new parameter to help text.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1449 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-12 11:08:26 +00:00
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
Ramon Novoa 293e46854a 2009-01-26 Ramon Novoa <rnovoa@artica.es>
* win32/modules/pandora_module.h,
          win32/modules/pandora_module_factory.cc,
          win32/modules/pandora_module.cc: Added support for async data types.

        * win32/modules/pandora_module_proc.cc: Removed unnecessary call
          to Pandora_Wmi::runProgram.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1398 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-26 11:48:35 +00:00
Ramon Novoa f154b7d0d8 2009-01-21 Ramon Novoa <rnovoa@artica.es>
* win32/bin/PandoraAgent.exe: Updated to r1371.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1372 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-20 23:12:27 +00:00
Ramon Novoa c9d82e5b6c 2009-01-20 Ramon Novoa <rnovoa@artica.es>
* win32/ftp/pandora_ftp_client.cc,
          win32/ftp/pandora_ftp_client.h,
          win32/windows/pandora_wmi.cc,
          win32/pandora_windows_service.h,
          win32/pandora.h,
          win32/udp_server/udp_server.cc,
          win32/misc/pandora_file.cc,
          win32/misc/pandora_file.h,
          win32/ssh/pandora_ssh_client.cc,
          win32/ssh/pandora_ssh_client.h,
          win32/pandora_windows_service.cc: Removed some exceptions that made
          the agent crash when the watchdog thread was running.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1371 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-20 22:21:31 +00:00
Ramon Novoa 555246536d 2008-12-24 Ramon Novoa <rnovoa@artica.es>
* win32/pandora_windows_service.h,
          win32/bin/pandora_agent.conf,
          win32/pandora_windows_service.cc: Added local transfer mode.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1309 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-12-24 13:57:45 +00:00
Ramon Novoa 3d80c361ee 2008-12-24 Ramon Novoa <rnovoa@artica.es>
* win32/pandora_windows_service.cc: Do not send XML if server address
          is not set.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1307 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-12-24 12:33:41 +00:00
Ramon Novoa c64614fda3 2008-12-16 Ramon Novoa <rnovoa@artica.es>
* win32/modules/pandora_module_wmiquery.cc,
          win32/modules/pandora_module_wmiquery.h: Added to repository. WMI
          query module.

        * win32/windows/pandora_wmi.cc,
          win32/windows/pandora_wmi.h,
          win32/modules/pandora_module.h,
          win32/modules/pandora_module_factory.cc,
          win32/modules/pandora_module_list.cc,
          win32/modules/pandora_module.cc,
          win32/PandoraAgent.dev: Added support for WMI query module.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1294 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-12-16 11:30:12 +00:00
guruevi 55fb43f39f 2008-12-11 Evi Vanoost <vanooste@rcbi.rochester.edu>
* Previous commit apparently messed up the structure

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1290 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-12-11 20:49:50 +00:00
guruevi fbf9a5eb7e 2008-12-11 Evi Vanoost <vanooste@rcbi.rochester.edu>
* linux/plugins/SGE: Added the SGE plugin
	
	* mac_osx/plugins/SGE: Renamed the SGE plugin to be consistent with Linux
	
	* mac_osx/pandora_agent, mac_osx/pandora_agent.conf, 
	mac_osx/pandora_agent_installer, mac_osx/pandora_fms/StartupParameters.list
	mac_osx/pandora_fms/pandora_fms: Updated to latest (2.0) client code. Fixed
	installer issues where it would overwrite previous config.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1289 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-12-11 20:40:09 +00:00
Ramon Novoa f8792f1fb7 2008-12-11 Ramon Novoa <rnovoa@artica.es>
* win32/pandora_windows_service.h,
          win32/pandora_windows_service.cc: Added support for a secondary server
          .




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1288 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-12-11 11:57:03 +00:00
Ramon Novoa c074316cf7 2008-12-11 Ramon Novoa <rnovoa@artica.es>
* win32/windows/pandora_wmi.cc,
          win32/pandora_windows_service.h,
          win32/PandoraAgent.dev,
          win32/pandora_windows_service.cc: Added an UDP Server. The
          agent can receive remote commands.

        * win32/udp_server,
          win32/udp_server/udp_server.cc,
          win32/udp_server/udp_server.h: Added to repository. UDP Server.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1287 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-12-11 10:20:07 +00:00
Ramon Novoa 7bcf6f642c 2008-12-10 Ramon Novoa <rnovoa@artica.es>
* linux/pandora_agent,
          linux/pandora_agent.conf: Added support for a secondary server.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1283 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-12-10 12:32:55 +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
slerena 2868feded9 2008-11-25 Sancho Lerena <slerena@gmail.com>
* linux/pandora_agent: Fixed problem parsing async_string.

        * linux/pandora_agent.conf: Sample of async_string module.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1259 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-24 15:53:58 +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
guruevi 440b614844 2008-09-04 Evi Vanoost <vanooste@rcbi.rochester.edu>
* mac_osx/plugins/XServeRAID: Updated for 2.0 type agents. Added
        license information

        * mac_osx/plugins/SGE: Added SGE plugin. This is a shell script that
        will output the status of an SGE computing cluster. Best installed on
        the SGE Master

        * mac_osx/plugins/ppc_sensors: Updated for 2.0 type agents. Added
        license information

        * mac_osx/plugins/ipmi2xml: Renamed .txt to .php (what it should be).
        Updated to 2.0 type agents. Added license information


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1085 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-04 18:42:41 +00:00
slerena 07a00786c1 2008-09-03 SAncho Lerena <lserena@artica.es>
* linux/pandora_agent_installer: Added link to startup
        for linux agent.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1081 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-03 16:50:56 +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
Ramon Novoa d0e4fa7f90 2008-07-31 Ramon Novoa <rnovoa@artica.es>
* win32/bin/PandoraAgent.exe: Updated to r989.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@990 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-31 11:15:31 +00:00
Ramon Novoa 884936b82b 2008-07-31 Ramon Novoa <rnovoa@artica.es>
* win32/pandora_windows_service.cc: Small fixes.
        * win32/modules/pandora_module.cc: time() and localtime() are used
          instead of GetSystemTime().
        * win32/pandora.h: Changed all instances of "Pandora" to
          "Pandora FMS".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@989 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-31 10:31:58 +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
Ramon Novoa f57b767390 2008-07-30 Ramon Novoa <rnovoa@artica.es>
* win32/windows/pandora_wmi.cc: Fixed typo bug.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@985 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-30 15:27:14 +00:00
Ramon Novoa d75dd87315 2008-07-24 Ramon Novoa <rnovoa@artica.es>
* win32/windows/pandora_wmi.cc: Fixed WMI query timestamp limit for
          log events.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@971 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-24 07:56:14 +00:00
Ramon Novoa 18a764f6ec 2008-07-22 Ramon Novoa <rnovoa@artica.es>
* win32/modules/pandora_module.cc: Fixed a bug that made the agent
          crash when a module returned data of the wrong type.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@966 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-22 10:46:29 +00:00
marostegui 25e65ebe1b 2008-07-17 Manuel Arostegui <marostegui@artica.es>
* linux/pandora_agent.conf: Removed enabled debug by
        default. Debug set to 0.

        * ChangeLog: Minor style correction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@959 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-17 08:29:23 +00:00
guruevi 5403c96f09 2008-07-09 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandora_console/pandoradb.sql: Updated indexes

        * pandora_agents/mac_osx: Updated pieces here and there including the installer and startup scripts to make them more compatible and reliable

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@948 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-09 16:41:13 +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
guruevi 14c4d62a57 2008-07-08 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandora_agents/ChangeLog: Added my recent modifications

        * pandora_console/ChangeLog: Added my recent modifications

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@945 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-08 21:01:39 +00:00
slerena 1d7aa6a4c1 2008-07-08 Sancho Lerena <slerena@gmail.com>
* linux/plugins/grep_log: Changed default type to "async_string"
	
	* ChangeLog: Added some comments missing.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@944 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-08 20:39:13 +00:00
guruevi e51dcb61f1 2008-07-07 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandora_agents/tools
           pandora_agents/linux/plugins
           pandora_agents/mac_osx/plugins: Moved tools into the plugin sections of compatible agents. The plugins in subdirectories have dependencies that can be found in the README file while plugins directly in the directory can be used directly when Pandora agent prerequisites are met (Perl & Bash)

        * pandora_agents/mac_osx/pandora_user.conf
           pandora_agents/mac_osx/plugins/ppc_sensors: Moved pandora_user.conf into the new plugins section

        * pandora_server/pandora_server_installer: Refined the installer so that it doesn't try installing certain parts on systems (usually non-Linux) that don't support cronjobs or /etc/init.d startup. It will just fail with a message for now. Also updated the error messages that appear so that they are more clear (eg. what Perl modules and how to use cpan).

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@940 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-08 18:52:57 +00:00
guruevi d922676835 This is a tool for monitoring the status of an XServe RAID. It can monitor every individual drive of a 14-drive XServe RAID system.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@929 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-02 20:42:31 +00:00
guruevi f0eeaa688c pandora_user.conf disappeared out of the Linux client but I find it quite useful. The Mac version reads out all types of sensory information (PowerMac, Intel's don't have it available)
Also: Added a tool for reading out IPMI-compatible chips. Requires php and ipmitool. Tested against Apple XServe's only.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@928 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-02 20:10:47 +00:00
guruevi 25591a3a35 Forgot this for the 2.0 client
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@927 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-02 19:59:18 +00:00
guruevi 6a0375f4ed Small installation instructions and warning about permissions fixes after startup
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@926 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-02 19:58:53 +00:00
guruevi cd6ac64f62 These are some artifacts from the Linux installer. Unnecessary now.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@924 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-02 19:43:32 +00:00
guruevi 8a9672dd27 Update to 2.0. Also new installer
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@922 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-02 19:32:16 +00:00
guruevi fbfac5d66d Update to 2.0. Also new installer
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@921 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-02 19:31:02 +00:00
guruevi 698973343a Update to 2.0. Also new installer
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@919 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-02 19:25:25 +00:00
slerena 1b17b84866 2008-06-30 Sancho Lerena <slerena@artica.es>
*  pandora_agents/win32/installer/pandora_2.0.mpi: New installer for 2.0

	* pandora_1.3.1.mpi: Deleted.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@905 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-30 09:26:10 +00:00
Ramon Novoa ca7961a828 2008-06-20 Ramon Novoa <rnovoa@artica.es>
* openWRT/pandora_agent, openWRT/pandora_agent.conf: Added support for
          Tentacle.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@891 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-20 11:02:41 +00:00
Ramon Novoa cc5b00dce0 2008-06-19 Ramon Novoa <rnovoa@artica.es>
* win32/bin/PandoraAgent.exe: Updated to r888.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@889 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-19 15:57:32 +00:00
Ramon Novoa 1c1c0200a5 2008-06-19 Ramon Novoa <rnovoa@artica.es>
* win32/windows/pandora_wmi.cc, win32/windows/pandora_wmi.h,
          win32/modules/pandora_module.h, 
          win32/modules/pandora_module_logevent.cc,
          win32/modules/pandora_data.cc, win32/modules/pandora_data.h,
          win32/modules/pandora_module.cc: Data timestamps are taken from
          the log file itself.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@888 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-19 15:55:44 +00:00
Ramon Novoa b30e175038 2008-06-18 Ramon Novoa <rnovoa@artica.es>
* win32/modules/pandora_module_logevent.cc: Fixed execution interval.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@878 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-18 14:26:43 +00:00
Ramon Novoa cba2e4d3a0 2008-06-18 Ramon Novoa <rnovoa@artica.es>
* win32/modules/pandora_module_logevent.cc: Now returns "empty" data
          when no data is available.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@876 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-18 11:15:07 +00:00
Ramon Novoa 3149b2e7df 2008-06-13 Ramon Novoa <rnovoa@artica.es>
* win32/bin/PandoraAgent.exe: Updated to r857.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@858 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-13 10:36:18 +00:00
Ramon Novoa 7dc855ab89 2008-06-13 Ramon Novoa <rnovoa@artica.es>
* win32/PandoraAgent.dev: Updated.
        * win32/windows/pandora_wmi.cc, win32/windows/pandora_wmi.h,
          win32/pandora_windows_service.cc, win32/modules/pandora_module.h,
          win32/modules/pandora_module_logevent.cc,
          win32/modules/pandora_module_logevent.h,
          win32/modules/pandora_module_factory.cc,
          win32/modules/pandora_module_list.cc,
          win32/modules/pandora_module.c: Added a new module that checks for
          log events using WMI queries.
        * bin/pandora_agent.conf: Added encoding option and a Logevent module
          declaration example.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@857 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-13 10:32:47 +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 de8d4afe35 2008-06-11 Ramon Novoa <rnovoa@artica.es>
* win32/pandora_strutils.cc, win32/pandora_strutils.h,
          win32/modules/pandora_module.cc: Added support for floating-point
          numbers




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@852 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-11 10:10:48 +00:00