Commit Graph

2347 Commits

Author SHA1 Message Date
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
Ramon Novoa 08c15a1c25 2008-06-11 Ramon Novoa <rnovoa@artica.es>
* win32/bin/pandora_agent.conf: Added remote_config option.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@851 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-11 08:27:12 +00:00
Ramon Novoa 5744c0ad8a 2008-06-10 Ramon Novoa <rnovoa@artica.es>
* win32/bin/PandoraAgent.exe: Updated to r849.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@850 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-10 11:22:12 +00:00
Ramon Novoa 342e2cc8da 2008-06-10 Ramon Novoa <rnovoa@artica.es>
* win32/pandora.cc: Updated version information.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@849 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-10 11:18:11 +00:00
Ramon Novoa f2e445a6f1 2008-06-10 Ramon Novoa <rnovoa@artica.es>
* win32/PandoraAgent.dev: Updated.
        * win32/misc/md5.c, win32/misc/md5.h: Added to repository.
          Implementation of MD5 (RFC 1321).
        * win32/misc/pandora_file.cc, win32/misc/pandora_file.h: Added remote
          configuration checking related functions.
        * win32/pandora_windows_service.cc, win32/pandora_windows_service.h:
          Added support for remote configuration checking.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@848 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-10 09:50:29 +00:00
slerena 1d58280bf3 2008-06-09 Sancho Lerena <slerena@gmail.com>
macOS agent update.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@845 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-09 16:18:53 +00:00
Ramon Novoa c364df7b1d 2008-06-09 Ramon Novoa <rnovoa@artica.es>
* linux/plugins/grep_log: Fixed command line parameter check.
        * linux/pandora_agent: Added support for remote configuration.
        * linux/pandora_agent.conf: Added remote_config option




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@843 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-09 11:27:30 +00:00
slerena 7267b41682 2008-05-29 Sancho Lerena <slerena@gmail.com>
* openWRT/README.openwrt: Some additional information about wput command  
        replacing old SSH transfer method.

        * openWRT/pandora_agent: Updated to use ftp(wput) instead of buggy ssh.

        * openWRT/pandora_agent.conf: Deleted ssh method and unused stuff for
        this little agent.

        * linux/plugins/grep_log: Updated plugin to use a module name for each
        call, passed as 2th argument.

        * linux/pandora_agent.conf: Deleted checksum reference and commented
        plugin sample, and using the new syntax for plugin.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@841 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-05-29 14:33:54 +00:00
Ramon Novoa e4124a61b4 2008-05-27 Ramon Novoa <rnovoa@artica.es>
* linux/pandora_agent.conf: Added a plugin declaration example.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@840 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-05-27 08:25:39 +00:00
slerena 9c4a93e9f2 2008-05-25 Sancho Lerena <slerena@artica.es>
* linux/pandora_agent: New cron mode, new ftp mode that do not use
        .netrc anymore, uses password embedded into .conf. Also a few fixes
        and removed checksum mode (deprecated!).

        * linux/pandora_agent.conf: Updated .conf



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@838 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-05-26 20:45:11 +00:00
Ramon Novoa 6edea31c50 2008-05-19 Ramon Novoa <rnovoa@artica.es>
* linux/pandora_agent_installer: Added plugin installation.
        * linux/plugins: Added to repository. Plugins directory.
        * linux/plugins/grep_log: Added to repository. Plugin to search log
          files for a matching pattern.
        * linux/pandora_agent: Added support for plugin execution. Removed
          support for pandora_user.conf.
        * linux/pandora_user.conf: Deleted from repository. Not used anymore.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@836 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-05-19 15:34:32 +00:00
raulmateos 5a8150e944 2008-04-29 Raul Mateos <raulofpandora@gmail.com>
* win32/bin/pandora_agent.conf: Added comment about password

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@833 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-29 11:27:25 +00:00
raulmateos 8a2c6af4e7 2008-04-29 Raul Mateos <raulofpandora@gmail.com>
* installer/pandora_1.3.1.mpi: New file (renamed)

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@830 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-29 11:13:54 +00:00
raulmateos be32a69842 2008-04-29 Raul Mateos <raulofpandora@gmail.com>
* installer/How_to_create_installer.txt: Updated File
	* installer/pandora_1.3.1.mpi: New file (renamed)

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@829 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-29 11:12:17 +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
slerena d53fac3040 2008-04-09 Sancho lerena <slerena@gmail.com>
* README, AUTHORS, COPYING: Updated on all agents.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@801 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-09 14:48:37 +00:00
slerena 1835a26da9 2008-04-09 Sancho Lerena <slerena@gmail.com>
* openWRT/pandora_arduino.c: Code for arduino, able to manage
        pandora agent signals using serial interface.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@795 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-06 22:13:04 +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
marostegui e48c3c7658 008-03-19 Manuel Arostegui <marostegui@artica.es>
* linux/pandora_agent.spec: Adapted to the new 1.3.X version
          of the Pandora Agents.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@756 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-03-19 10:22:54 +00:00
Ramon Novoa 5ad6a67164 2008-03-14 Ramon Novoa <rnovoa@artica.es>
* win32/pandora_windows_service.cc: Added support for Tentacle file transfers.
	* win32/pandora_windows_service.h: Added support for Tentacle file transfers.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@750 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-03-14 13:41:31 +00:00
Ramon Novoa dddc80bee2 2008-03-11 Ramon Novoa <rnovoa@artica.es>
* linux/pandora_agent: Added support for Tentacle file transfers.
	* linux/pandora_agent.conf: Added Tentacle specific options.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@743 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-03-11 15:27:21 +00:00
marostegui db0b167116 2008-03-11 Manuel Arostegui <marostegui@artica.es>
* linux/pandora_agent_daemon: Added pidof checking to
        check the PID of the process.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@742 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-03-11 14:20:54 +00:00
slerena 49f0f46caf 2008-02-02 Sancho lerena <slerena@gmail.com>
* pandora_arduino.c: Added microcode for arduino.

        * AUTHORS: Added Jorge to autors, was missing.

        * pandora_serialread: Added sleep to improve serial read.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@710 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-02-03 19:33:24 +00:00
slerena 7bbe80e387 2008-01-10 Sancho Lerena <slerena@gmail.com>
* Win32: Deleted old installer exes. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@698 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-01-10 12:42:05 +00:00
slerena b16edfa6b9 2008-01-08 Sancho Lerena <slerena@gmail.com>
* mac_osx/*: Added code for Mac OsX Agent contributed by Evi Vanoost.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@689 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-01-08 18:51:38 +00:00
slerena 2e7b1a91d0 2008-01-02 Sancho lerena <slerena@gmail.com>
* openWRT/*: Added code for new ASYNC agent for OpenWRT/Arduino
        agent, this would be the new SYNC/ASYNC agent for Pandora FMS 2.0.
        This is first development version, DO NOT TEST YET. It has several
        code specific for OpenWRT enviroment.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@686 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-01-02 17:28:09 +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 29e133ce64 2007-09-14 Sancho Lerena <slerena@gmail.com>
* Deleted a lot of old stuff (licenses, readmes, etc). Put on agent root dir




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@654 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-09-14 14:07:10 +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 bf1ce42e9b 2007-09-03 Raul Mateos <raulofpandora@gmail.com>
* bin/pandora_agent.conf: Revert change due to last commit.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@640 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-09-03 16:12:02 +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
raulmateos 0199d542d9 2007-08-29 Raul Mateos <raulofpandora@gmail.com>
* win32/bin/pandora_agent.conf: Added comments about usage and samples.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@632 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-29 16:20:54 +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
raulmateos 118f33c49d 2007-08-28 Raul Mateos <raulofpandora@gmail.com>
* branches/*/win32_old, tags/*/win32_old/, trunk/*/win32_old:
	Deleted old win32 agent directory in any branch.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@626 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-28 13:50:44 +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
raulmateos bb83995f5a 2007-08-27 Raul Mateos <raulofpandora@gmail.com>
* win32/installer/How_to_create_installer.txt: Changed mpi name.
	Added libcurl.dll and more info.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@622 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-27 15:35:59 +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
slerena 9ddb5101be 2007-08-23 Sancho Lerena <slerena@artica.es>
* linux/pandora_agent_intaller: Fixed problem with /var/log/pandora

        * linux/README: Added, replacing old INSTALL file.

        * linux/pandora_agent: Fixed problem with old path /var/log/pandora_agent.log


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@612 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-23 16:05:21 +00:00
slerena d481cfbdb0 2006-08-20 Sancho Lerena <slerena@artica.es>
* Renamed pandora1.2.1.mpi to pandora_1.3.mpi



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@603 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-20 12:24:56 +00:00
slerena 6f2b5053c8 2007-08-20 Sancho Lerena <slerena@artica.es>
New version of Pandora Agent for Windows (beta2).

        * win32/bin/key/id_dsa*: Added sample keys.

        * win32/installer/logo.png: Updated logo for installer.

        * win32/installer/Pandora_Windows_Agent-1.3.0 Beta2-Setup.exe: New installer binary.

        * win32/installer/Pandora_Windows_Agent-1.2.1-Setup.exe: Deleted old one

        * win32/installer/pandora1.2.1.mpi: Updated (and need to be renamed on next commit)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@602 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-20 12:19:10 +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
slerena fce38fa4fd 2007-08-02 Sancho Lerena <slerena@artica.es>
* bdf_ipso/pandora_agent.conf: Some modules updated.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@582 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-02 08:49:25 +00:00
slerena d05919fad5 2007-08-01 Sancho Lerena <slerena@artica.es>
* bsd_ipso/*: Some fixes. Added harm_mode to avoid be unpolite
        with IPSO in some heavy loaded systems (IMPERATIVE!). Some fixes.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@579 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-01 18:32:34 +00:00
marostegui 236dd4cb90 2007-07-05 Manuel Arostegui <marostegui@artica.es>
* linux/pandora_agent: Fixed small but important bug.
          which makes the ftp transfer mode useless.

        * aix/pandora_agent: Fixed small but important bug.
          which makes the ftp transfer mode useless.

        * solaris/pandora_agent: Fixed small but important bug.
          which makes the ftp transfer mode useless.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@556 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-07-05 08:41:26 +00:00
marostegui 8e2da0848b 2007-07-03 Manuel Arostegui <marostegui@artica.es>
* hp-ux/pandora_agent_installer: Added to repository.
          HP-UX Pandora Agent Installer.

        * hp-ux/data_out: Removed, no longer necesary in
          1.3 version and later.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@555 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-07-03 10:25:31 +00:00
marostegui 32b85e1bee 2007-07-02 Manuel Arostegui <marostegui@artica.es>
* linux/pandora_agent: Fixed bug: #1746327



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@553 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-07-02 08:14:59 +00:00
raulmateos 8e3beb755a 2007-06-29 Raul Mateos <raulofpandora@gmail.com>
Pandora Console:
	  * images/lupa.png: better image
	  * operation/reporting/reporting.php: New summary file for reportings
	  * operation/menu.php: Changed code to show new reporting file.
	Pandora Agents:
	  * linux/pandora_agent.conf: Changed log and temp paths.
	Pandora Server:
	  * conf/pandora_server.conf: Changed default incomming dir and log.
	Fixed small bug with dbuser.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@549 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-29 21:25:37 +00:00
marostegui 4e78ccd114 2007-06-25 Manuel Arostegui <marostegui@artica.es>
* aix/pandora_agent.conf: Added missing line agent_name
        option



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@543 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-25 12:16:47 +00:00
slerena 9c41ba4e52 2007-06-25 Sancho Lerena <slerena@artica.es>
* linux/pandora_agent_installer: Fixed problems with old "contrib"
        subdir.

        * */pandora_agent: Removed from/to time run functionality. Added
        renice call, fixed some default vars and fixed DEBUG mode
        behaviour.

        * */pandora_agent.conf: Default are to no renice and not debug.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@539 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-25 11:23:43 +00:00
marostegui e1993d412b 2007-06-18 Manuel Arostegui <marostegui@artica.es>
* linux/pandora_agent_installer: Fixed a bug related
          with the copy of the pandora_agent_daemon file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@528 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-21 11:43:05 +00:00
marostegui e08767eb24 2007-06-18 Manuel Arostegui <marostegui@artica.es>
* linux/pandora_agents.spec: Renamed to pandora_agent.spec

        * linux/pandora_agent.spec: Ready to 1.3 version packagement.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@521 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-18 08:59:39 +00:00
marostegui bb45ea3e6b 2007-06-14 Manuel Arostegui <marostegui@artica.es>
* linux/pandora_agent.conf: Changed to disable
          by default the delayed start up.

        * aix/pandora_agent.conf: Changed to disable
          by default the delayed start up.

        * solaris/pandora_agent.conf: Changed to disable
          by default the delayed start up.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@512 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-14 15:27:04 +00:00
marostegui 10d840e2f8 2007-06-14 Manuel Arostegui <marostegui@artica.es>
* linux/INSTALL: Added how to use the new installer.

        * aix/pandora_agent_installer: Changed few things
         to make it works with the new name of the agent.

        * aix/pandora_agent: This is the old pandora_agent.sh
         which has been renamed to pandora_agent

        * aix/pandora_agent_daemon: Changed few thing to make it
         works with the new name of the agent.

        * aix/INSTALL: Added how to use the new installer.

        * aix/pandora_agent.sh: Renamed to pandora_agent.

        * hp-ux/pandora_agent: This is the old pandora_agent.sh
         which has been renamed to pandora_agent

        * hp-ux/pandora_agent_daemon: Changed few thing to make it
         works with the new name of the agent.

        * hp-ux/INSTALL: Added how to use the new installer.

        * hp-ux/pandora_agent.sh: Renamed to pandora_agent.

        * solaris/pandora_agent_installer: Changed few thing to make it
         works with the new name of the agent.

        * solaris/pandora_agent: This is the old pandora_agent.sh
         which has been renamed to pandora_agent

        * solaris/pandora_agent_daemon: Changed few thing to make it
         works with the new name of the agent.

        * solaris/INSTALL: Added how to use the new installer.

        * solaris/pandora_agent.sh: Renamed to pandora_agent.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@511 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-14 14:26:26 +00:00
marostegui 536caf6933 2007-06-14 Manuel Arostegui <marostegui@artica.es>
* linux/pandora_agent_installer, pandora_agent_daemon:
          moved to root directory of the agent directory.

        * linux/contrib: Deleted directory from the agent main
          directory:

        * linux/contrib/pandora_agent_daemon, pandora_agent_installer:
          Deleted from the contrib dir.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@510 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-14 13:45:11 +00:00
marostegui 0d2da504d1 2007-06-12 Manuel Arostegui <marostegui@artica.es>
* linux/contrib/pandora_agent_installer: Changed a PATH
          to adapt the script to the 1.3 version.

        * linux/contrib/pandora_agent_daemon: Added nohup.

        * linux/pandora_agent: Added features like:
          Maximum and Minimum hours where the agent can run between.
          Delayed startup for the agent.
          Added NICE option to protect CPU.
          Added "local" as a new transfer mode.

        * linux/pandora_agent.conf: Changed in order to adapt it
          to the new features of the agent.

        * aix/pandora_agent_installer: Added to repository:
          Pandora Agent Installer for AIX Systems.

        * aix/pandora_agent_daemon: Added nohup and fixed a small
          bug related with an "exit" in the beggining of the script.

        * aix/pandora_agent.conf: Changed in order to adapt it
          to the new features of the agent.

        * aix/pandora_agent.sh: Added features like:
          Maximum and Minimum hours where the agent can run between.
          Delayed startup for the agent.
          Added NICE option to protect CPU.
          Added "ftp" and "local" as a new transfer mode.
          Added the chance of choosing the remote ssh port to use.

        * win32/bin/pandora_agent.conf: Changed version number.

        * solaris/pandora_agent_installer: Added to repository:
          Pandora Agent Installer for Solaris Systems.

        * solaris/pandora_agent_daemon: Added nohup.

        * solaris/pandora_agent.conf: Changed in order to adapt it
          to the new features of the agent.

        * solaris/pandora_agent.sh: Added the banner in the start
          up.
          Added features like:
          Maximum and Minimum hours where the agent can run between.
          Delayed startup for the agent.
          Added NICE option to protect CPU.
          Added "ftp" and "local" as a new transfer mode.
          Added the chance of choosing the remote ssh port to use.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@503 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-12 09:32:54 +00:00
raulmateos 9251fcb038 2007-05-30 Raul Mateos <raulofpandora@gmail.com>
* bin/PandoraAgent.exe: Updated binary for 1.2.1 not updated last commit.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@480 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-05-30 15:39:36 +00:00
raulmateos e6859c5725 2007-05-30 Raul Mateos <raulofpandora@gmail.com>
* installer/Pandora_Windows_Agent-1.2.1-Setup.exe: New file not updated last commit.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@479 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-05-30 15:29:22 +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
marostegui bbfb0d0956 2007-04-23 Manuel Arostegui <marostegui@artica.es>
* linux/contrib/pandora_agent_installer: Removed an unnecessary
          directory.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@442 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-23 15:55:49 +00:00
slerena c72447ba9a 2007-04-22 Sancho Lerena <slerena@artica.es>
* linux/contrib/pandora_agent_installer: Fixed small bugs.

	* linux/pandora_agent.conf: Fixed small bug.

	This version of installer works fine in a Ubuntu 6.10 Server



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@439 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-22 00:59:44 +00:00
slerena ce241da569 2007-04-21 Sancho Lerena <slerena@artica.es>
* pandora_agent_daemon moved to contrib dir.

	* deleted Doc dir.

	* moved pandora_agent_installer to contrib dir.

	* Added LICENCE with GPL data.

	* Deleted README with old text stuff.

	* Moved pandora_agent.sh to pandora_agent

	* pandora_agent:  Added feature: TRANSFER_MODE.

	* pandora_agent.conf: Added feature token.
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@438 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-21 20:05:35 +00:00
slerena 83081af427 2007-04-21 Sancho Lerena <slerena@artica.es>
* deleted Doc dir.

	* Deleted README with old text stuff.

	* Deleted Data_out directory
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@437 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-21 20:02:28 +00:00
slerena 2724fe1f7a 2007-04-19 Sancho Lerena <slerena@artica.es>
At the moment, only linux agent changes, need to be propagated to
	other Unix agents:
		
	* Local development changes for pandora_agent.sh, and for
	pandora_agent.conf. Will be changed for production release.

	* Added contrib dir.

	* Added installer: pandora_agent_installer



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@431 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-19 18:37:57 +00:00
marostegui 2dfaa8b6e3 2007-04-19 Manuel Arostegui <marostegui@artica.es>
* pandora_server/specs/fedoracore5/pandora_server: Added files of the
          new 1.3 version.

        * pandora_agents/linux/pandora_agents.spec: Added links from
          init.d to rc0.d, rc6.d, rc3.d and rc5.d



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@430 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-19 14:20:15 +00:00
marostegui 675964ade9 2007-04-11 Manuel Arostegui <marostegui@artica.es>
* linux/pandora_agent.conf: Changed PATHS to
           adapt them to the upcoming 1.3 release.

        * bsd-ipso/pandora_agent.conf: Changed PATHS to
           adapt them to the upcoming 1.3 release

        * aix/pandora_agent.conf: Changed PATHS to
           adapt them to the upcoming 1.3 release

        * hp-ux/pandora_agent.conf: Changed PATHS to
           adapt them to the upcoming 1.3 release

        * win32/bin/pandora_agent.conf: Changed PATHS to
           adapt them to the upcoming 1.3 release

        * meta_agent/pandora_agent_1.conf, pandora_agent_2.conf,
          pandora_agent_3.conf, pandora_agent_4.conf,
          pandora_agent_5.conf: Changed PATHS to
           adapt them to the upcoming 1.3 release

        * solaris/pandora_agent.conf: Changed PATHS to
           adapt them to the upcoming 1.3 release

        * pandora_server/conf/pandora_server.conf: Changed PATHS
          to adapt them to the upcoming 1.3 release

        * pandora_server/INSTALL: Changed PATHS to adapt them to
          the upcoming 1.3 release



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@420 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-11 14:14:32 +00:00
marostegui af0395f3c7 2007-04-11 Manuel Arostegui <marostegui@artica.es>
* pandora_agents/linux/pandora_agent.conf, pandora_agents.spec: Changed
          PATHS to adapt them to the upcoming 1.3 release.

        * pandora_agents/bsd-ipso/pandora_agent_daemon, pandora_agent.conf,
          pandora_agent.sh: Changed PATHS to adapt them to
          the upcoming 1.3 release.

        * pandora_agents/aix/pandora_agent_daemon, pandora_agent.conf,
          pandora_agent.sh: Changed PATHS to adapt them
          to the upcoming 1.3 release.

        * pandora_agents/hp-ux/pandora_agent_daemon, pandora_agent.conf,
          pandora_agent.sh: Changed PATHS to adapt them
          to the upcoming 1.3 release.

        * pandora_agents/win32/bin/pandora_agent.conf: Changed PATHS to
          adapt them to the upcoming 1.3 release.

        * pandora_agents/meta_agent/pandora_agent_sim.sh, pandora_agent_daemon,
          pandora_agent_1.conf, pandora_agent_2.conf, pandora_agent_3.conf,
          pandora_agent_4.conf, pandora_agent_5.conf: Changed PATHS
          to adapt them to the upcoming 1.3 release.

        * pandora_agents/solaris/pandora_agent_daemon, pandora_agent.conf,
          pandora_agent.sh: Changed PATHS to adapt them to the upcoming
          1.3 release.

        * pandora_server/pandora_network, pandora_snmpconsole, pandora_server
          pandora_recon: Changed PATHS to adapt them to the
          upcoming 1.3 release.

        * pandora_server/specs/fedoracore5/pandora_server.spec: Changed
          PATHS to adapt them to the upcoming 1.3 release.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@418 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-11 12:52:04 +00:00
marostegui 8f23abf6f7 2007-02-02 Manuel Arostegui <marostegui@artica.es>
linux/pandora_agents.spec: More polished spec file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@371 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-02-02 12:37:08 +00:00
marostegui 4c06c2dd1b 2007-01-08 Manuel Arostegui <marostegui@artica.es>
* pandora_agents/linux/pandora_agents.spec: Changed group.
	
	* pandora_console/pandora_console.spec: Changed group.
	
	* pandora_server/specs/fedoracore5/pandora_server.spec:
	  Changed group.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@355 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-01-08 09:05:32 +00:00
slerena 1b9700c65f 2007-01-05 Sancho Lerena <slerena@artica.es>
* linux/pandora_agent_daemon: Some adjustements for a generic
	daemon launcher. Need to be improved with some code from Dagget
	and Manu.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@354 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-01-05 18:16:31 +00:00
slerena d38510b67c 2007-01-04 Sancho Lerena <slerena@artica.es>
* Linux/pandora_agent.sh: Solved problem with encoding. Now XML
        its parsed before sending it, replacing all & characters.

NOTE: This changes needs to be copied to AIX, Solaris, HPUX and BSD agents.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@350 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-01-04 07:56:34 +00:00
slerena 75aeafb574 2007-01-03 Sancho Lerena <slerena@artica.es>
* Linux/pandora_agent.conf: Added more tokens to config
	file. Added logfile, temporal and encoding issues.

        * Linux/pandora_agent.sh: Many changes on agent. Solved problems
	with encoding, changed all paths, fixed minor bugs, and some work
	with XML.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@349 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-01-03 18:47:54 +00:00
marostegui 47b6569a1e 2007-01-03 Manuel Arostegui <marostegui@artica.es>
* trunk/pandora_agents/linux/pandora_agents.spec: Added
	  dependencies.

	* trunk/pandora_server/specs/fedoracore5/pandora_server.spec:
	  Added dependencies.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@348 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-01-03 10:15:14 +00:00
marostegui 3fdb78761d 2007-01-02 Manuel Arostegui <marostegui@artica.es>
* pandora_agents/linux/pandora_agents.spec: 
	  Added new PATHS for config files and binary
          ones. Fixed perms. Change Summary due to a typo bug.
       
        * pandora_console/pandora_console.spec: Added man pages.
 
        * pandora_server/specs/fedoracore5/pandora_server.spec: Added to reposistory.
          Completly re-write pandora server spec file, now it package everything.
 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@346 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-01-02 11:32:02 +00:00
marostegui 8247ae7533 2007-01-01 Manuel Arostegui <marostegui@artica.es>
* linux/pandora_agents.spec: Added to repository. Spec file for pandora
          agents RPM package. Launch scripts are installed under /usr/local/bin/
          and configuration files are in /usr/local/etc/pandora




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@344 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-01-01 18:25:25 +00:00
slerena 1ac50ce67f 2006-12-05 Sancho Lerena <slerena@artica.es>
* linux/pandora_agent.sh: Added support for SSH port (contrib from
	Dagget).

	* linux/pandora_agent.conf: Added server_port feature.
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@310 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-12-05 17:02:26 +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
raulmateos 5eac14e1bc 2006-12-05 Raul Mateos <raulofpandora@gmail.com>
* installer/Pandora_Windows_Agent-1.2.0-Setup.exe: Updated installer.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@308 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-12-05 10:59:04 +00:00
Esteban Sanchez 809fbf9066 2006-12-04 Esteban Sanchez <estebans@artica.es>
* misc/pandora_file.cc: Removed unuser variables.

        * bin/PandoraAgent.exe: Really updated to last commit.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@307 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-12-05 10:30:34 +00:00
raulmateos 5f2e6df2f0 2006-12-04 Raul Mateos <raulofpandora@gmail.com>
* installer/Pandora_Windows_Agent-1.2.0-Setup.exe: Added icon
	in program group to view help. This file has changed its name
	in commit 299.
	
	* installer/pandora.mpi: Update installer script file.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@305 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-12-04 21:25:22 +00:00
Esteban Sanchez 45278c0fd2 2006-12-04 Esteban Sanchez <estebans@artica.es>
* misc/pandora_file.[cc,h]: Added a function to check the existance of
        a file.

        * pandora_ssh_tesct.cc: Check if private and public key files exists
        when doing the test.

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


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@302 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-12-04 11:08:38 +00:00
slerena 6760510755 2006-12-03 Sancho Lerena <slerena@artica.es>
* win32/installer: Updated some installer items. (.conf), Readme,
	.mpi (installer sources) and replaced final .EXE installer with an
	updated one.
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@299 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-12-03 17:30:04 +00:00
raulmateos 2dec99848b 2006-12-01 Raul Mateos <raulofpandora@gmail.com>
* installer/Pandora_FMS_Windows_Agent-1.2-Setup.exe: Updated to solve small
bug with stopping service when uninstalling.
	
	* installer/babel.mpi: Update installer script file.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@295 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-12-01 21:28:34 +00:00
raulmateos 778ae432a6 2006-12-01 Raul Mateos <raulofpandora@gmail.com>
* installer/Pandora_FMS_Windows_Agent-1.2-Setup.exe: Updated with last
	binary file, also added html help to generate keys.

	* installer/scripts/*.bat: moved from installer directory.
	
	* installer/babel.mpi: Update installer script file.

	* installer/README.txt: Updated file.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@294 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-12-01 21:12:51 +00:00
Esteban Sanchez a5d9ed8fd1 2006-12-01 Esteban Sanchez <estebans@artica.es>
* pandora_windows_service.[cc,h]: Added copyDataFile() method to
        class, it will copy the data file to the remote host. Now the data
        file is not copied when the debug flag is active. Changed some debug
        output to log output and changed one log message.

        * bin/pandora_agent.conf: Updated debug flag option to new format and
        commented.

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


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@293 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-12-01 16:29:27 +00:00
Esteban Sanchez 6de3233c38 006-12-01 Esteban Sanchez <estebans@artica.es>
* pandora_windows_service.cpp: Fixed a bug when copying the data file
        to server, which it didn't include the agent name if it was not
        defined in configuration file and was taken from Windows functions.

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


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@292 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-12-01 16:06:08 +00:00
slerena 8468146563 2006-11-30 Sancho Lerena <slerena@artica.es>
* Added updated pandora_agent.LICENCE files (with link to SF
	tracking page).
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@291 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-11-30 17:45:52 +00:00
raulmateos d36204e43b 2006-11-30 Raul Mateos <raulofpandora@gmail.com>
* bin/help/*: New directory and files with help for generating keys.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@289 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-11-30 11:25:04 +00:00
raulmateos a43e26780f 2006-11-28 Raul Mateos <raulofpandora@gmail.com>
* installer/Pandora_FMS_Windows_Agent-1.2-Setup.exe: Updated with last
	binary file.
	
	* installer/pandora.mpi: Update installer script file.
	
	* installer/README.txt: Updated file.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@287 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-11-28 21:56:57 +00:00
slerena 1296318795 2006-11-28 Sancho Lerena <slerena@artica.es>
* pandora_doc: Updated styles, added ER diagram and finished
	revision. Generated "correct" PDF versions. Possibly final versions :-)

	* Other stuff: Fixed several SVN conflicts in my repository
          and updated several ChangeLogs that I dont commit.
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@286 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-11-28 14:00:38 +00:00
raulmateos 10c8253981 2006-11-27 Raúl Mateos <raulofpandora@gmail.com>
* pandora_server/data_in: Removed old directory.

	* pandora_server/config/pandora_server.conf: Changed data_in directory to
	/var/spool/pandora/data_in.

	* pandora_agents/win32/installer/Pandora_FMS_Windows_Agent-1.2-Setup.exe: 	Updated with last binary file.
	
	* pandora_agents/win32/installer/pandora.mpi: Update installer script file.
	
	* pandora_agents/win32/installer/Pandora Windows Agent-1.2 Beta3-Setup.exe: 		deleted old file.

	* pandora_agents/win32/bin/pandora_agent.conf: Changed path in server to
	/var/spool/pandora/data_in.

	* pandora_console/general/footer.php: Add variable $time to get time from server 		which PHP < 5.1. Style correction.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@285 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-11-27 21:35:13 +00:00
Esteban Sanchez 611d7e3e1e 2006-11-27 Esteban Sánchez <estebans@artica.es>
* pandora_strutils.h, pandora_strutils.cc: strtoulong() now returns an
        unsigned long long. This will finally fixes the bug with freedisk big
        amounts.

        * windows/pandora_wmi.cc: Now the space amount is a unsigned long
        long enough to amounts up to PB (billions of GB).

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


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@284 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-11-27 11:59:52 +00:00
marostegui a31b4822ea 2006-11-27 Manuel Arostegui <marostegui@artica.es>
* linux/pandora_agent.sh: Added new distro detection



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@282 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-11-27 09:08:11 +00:00
Esteban Sanchez 12ddf6dc7d 2006-11-24 Esteban Sánchez <estebans@artica.es>
* pandora_strutils.h, pandora_strutils.cc: Added strtoulong() to
        convert a string into a unsigned long integer.

        * wmi/pandora_wmi.h, pandora_wmi.cc: Modified getDisgkFreeSpace() to
        return a unsigned long integer. Used srttoulong() to transform the
        free disk into a log instead of an integer, that caused a negative
        value of free disk space when the amount was in the order of GB.

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


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@281 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-11-24 11:46:31 +00:00
raulmateos 38182de6ff 2006-11-23 Raul Mateos <raulofpandora@gmail.com>
* linux/pandora_agent.sh, linux/pandora_agent_daemon: Update license,
	translated text from spanish to english, updated build.
	
	* linux/pandora_agent.conf: Solved small bug with vmstat.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@279 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-11-23 16:40:28 +00:00
Esteban Sanchez 0986bdb2f7 2006-11-21 Esteban Sanchez <estebans@artica.es>
* pandora_windows_service.cc: Changed the debug option of the
        configuration to "debug" instead of "pandora_debug".

        * pandora.cc: Removed output to stdout when logging.

        * bin/pandora_agent.conf: Removed " from module_proc example. Fixes
        bug #1600008.

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


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@265 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-11-21 11:32:03 +00:00
raulmateos 88221a8ed3 2006-11-17 Raúl Mateos <raulofpandora@gmail.com>
* installer/Pandora_FMS_Windows_Agent-1.2-Setup.exe: New installer to 
	include last binary file. This should be the last one before release
	of Pandora FMS 1.2.
	
	* installer/start_pandora_agent.bat, installer/stop_pandora_agent.bat,
	installer/LICENSE.txt, installer/README.txt: Added new files used by
	the installer in shorcuts.
	
	* installer/pandora.mpi: Update installer script file.
	
	* ChangeLog: Changed order of date of last commit.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@262 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-11-16 23:22:12 +00:00
slerena 316acb9b8b 2006-11-15 Sancho Lerena <slerena@artica.es>
* linux/pandora_agent_daemon: Updated header for LSB
	  compatibility (thanks to patch send by Jose Angel de Bustos.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@260 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-11-15 09:46:44 +00:00
Esteban Sanchez 0ff129607b 2006-08-11 Esteban Sanchez <estebans@artica.es>
* ssh/libssh2/userauth.c: Fixed a bug when the public key file do
        not finish with '\n' or '\r'.

        * bin/PandoraAgent.exe: Updated to new changes.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@254 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-11-08 14:13:47 +00:00
raulmateos 9217723cf2 2006-10-13 Raúl Mateos <raulofpandora@gmail.com>
* installer/logo.png: New File.
	
	* installer/logo.gif: Delete file.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@233 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-10-13 10:58:51 +00:00
raulmateos 0ddcb7e5f1 2006-10-13 Raúl Mateos <raulofpandora@gmail.com>
* installer/Pandora Windows Agent-1.2 Beta3-Setup.exe: Updated
	installer to include last binary file.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@232 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-10-13 10:18:29 +00:00
Esteban Sanchez 647b3d10e2 2006-10-06 Esteban Sanchez <estebans@artica.es>
* pandora.cc, pandora.h: Added getPandoraDebug() to get the 
debug
        flag value.

        * pandora_windows_service.cc: Do not remove the data file if 
flag
        debug is active.

        * bin/PandoraAgent.exe: Updated to new changes.

        * ChangeLog: Style correction.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@218 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-10-06 11:25:36 +00:00
raulmateos 4b76cd7433 2006-10-05 Raúl Mateos <raulofpandora@gmail.com>
* Pandora Windows Agent-1.2 Beta3-Setup.exe: Updated installer to include 

	Pair Key generation.
	* pandora.mpi: New file, installjammer installer. You should change PATHS
	to include the files into the installer.
	* pandora.ico: New file, used in the installer.
	* logo.gif: New file, used in the installer (it should be changed to .png)

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@217 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-10-05 17:20:44 +00:00
raulmateos 6ea8e11812 2006-09-27 Raúl Mateos <raulofpandora@gmail.com>
* Pandora Windows Agent-1.2 Beta3-Setup.exe: Updated logo image 
	and added shortcut to edit configuration file.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@188 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-09-27 18:08:46 +00:00
raulmateos c4a849b679 2006-09-22 Raúl Mateos <raulofpandora@gmail.com>
* installer/: New directory to put the Pandora Agent for Windows installer
	* Pandora Windows Agent-1.2 Beta3-Setup.exe: New file added to repository

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@185 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-09-22 11:44:36 +00:00
slerena 2fdfe5d5b5 2006-09-21 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Altered tagente_datos field "datos" to have
	DOUBLE(18,2) instead of DOUBLE (12,2).

	* pandora_db1.1_to1.2.sql: Altered tagente_datos field "datos" to
	have DOUBLE(18,2) instead of DOUBLE (12,2).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@183 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-09-21 16:30:34 +00:00
raulmateos 4670bc14a0 2006-09-20 Raul Mateos <raulofpandora@gmail.com>
* win32\bin\pandora_agent.conf: Updated some texts to english
   * win32\bin\README: Added

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@181 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-09-20 18:00:22 +00:00
Esteban Sanchez 1245ee6006 2006-08-31 Esteban Sanchez <estebans@artica.es>
* bin/PandoraAgent.exe: Updated to the new code.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@179 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-09-20 13:45:43 +00:00
slerena d342a11425 2006-08-30 Sancho Lerena <slerena@gmail.com>
* pandora_agent/ChangeLog: Created and added to repository

	* pandora_server/ChangeLog: Created and added to repository

	* pandora_console/CHANGELOG: Renamed to ChangeLog

	* pandora_console/reporting/*.php: Replaced old code with new
	code for trunk. Deleted old_jpg_functions directory from
	repository




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@155 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-08-31 23:54:13 +00:00
Esteban Sanchez ca167a4d1b 2006-08-31 Esteban Sanchez <estebans@artica.es>
* pandora.cc, pandora_strutils.h, windows_service.h, wmi/pandora_wmi.cc, ssh/pandora_ssh_test.cc: Documentation comments updated.

        * ssh/pandora_ssh_client.[h,cc]: Documentation comments updated. Comment deleted.

        * windows_service.cc: Comment deleted.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@151 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-08-31 12:42:36 +00:00
Esteban Sanchez f0ca607e09 2006-08-15 Esteban Sanchez <estebans@artica.es>
* autogen.sh, configure.in, Makefile.am, Doxyfile.in: Added to
        repository. They are used to generate documentation, not to compile.

        * main.cc: Added some comments. Style correction.

        * pandora.[cc,h]: Added documentation comments. Changed visibility of
        some attributes.

        * pandora_agent_conf.[cc,h]: Added to Pandora namespace. Added
        documentation comments.

        * pandora_windows_service.[cc,h], pandora_strutils.[cc,h],
        windows/pandora_windows_infp.[cc,h], ssh/pandora_ssh_test.[cc,h]:
	Added documentation comments.

        * ssh/pandora_ssh_client.[cc,h]:Added documentation comments. Removed
        old method to connect with user and password. Style correction.

        * misc/pandora_file.[cc,h]: Added documentation comments. Renamed some
        parameters.

        * modules/pandora_module.[cc,h]: Added documentation comments. Put a
        name to the enumerators. Added a new class to agroupate all exceptions
        produced by Pandora_Module child class objects. Changed visibility of
        some attributes. Added some new methods and renamed others.

        * modules/pandora_module_cpuusage.[cc,h],
        modules/pandora_module_exec.[cc,h],
        modules/pandora_module_freememory.[cc,h],
        modules/pandora_module_freedisk.[cc,h], modules/pandora_module_proc.[cc,h],
        modules/pandora_module_service.[cc,h]: Added documentation comments.
        Some changes to adapt the objects to the Pandora_Module changes.

        * modules/pandora_module_list.[cc,h]: Added documentation comments.
        Some changes to adapt the objects to the Pandora_Module changes. Added
        to Pandora_Modules namespace.

        * windows/pandora_windows_wmi.[cc,h]: Added documentation comments.
        Renamed Pandora_Wmi_Error to Pandora_Wmi_Exception.

        * windows_service.[cc,h]: Added documentation comments. Changed
        visibility of some attributes. Style correction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@150 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-08-25 13:02:03 +00:00
Esteban Sanchez 8805e64e60 2006-07-17 Esteban Sanchez <estebans@artica.es>
* main.cc: Added "--help" option.

        * pandora_strutils.cpp: Renamed to pandora_strutils.cc

        * bin/PandoraAgent.exe: Updated to the new commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@139 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-17 11:18:12 +00:00
Esteban Sanchez 138bfc06a1 2006-07-14 Esteban Sanchez <estebans@artica.es>
* modules/pandora_module_factory.cc: Removed unnecessary debug.

        * windows/pandora_wmi.cc: Removed graphical exceptions to be executed when something happens with disphelper library. Get a string when retrieving the FreeSpace field on getDiskFreeSpace(), it solves a bug when the free space was a huge amount.

        * bin/PandoraAgent.exe: Updated to the new commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@138 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-17 09:13:46 +00:00
raulmateos 6c9eadf9c5 (Pandora Agents)
* Changed name of agent

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@137 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-17 08:19:35 +00:00
raulmateos f26600cc93 (Pandora Console)
* Some headers changed to show the "official" GPL Header info

* modificar_server.php. Add highlights. Add line before the submit button. Add help.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@136 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-17 08:17:58 +00:00
Esteban Sanchez 05df7536d4 2006-07-12 Esteban Sanchez <estebans@artica.es>
* modules/pandora_module_freememory.[cc,h]: Added to repository. Implements a module to the the amount of free memory.

        * modules/pandora_module.h, modules/pandora_module_factory.cc, modules/pandora_module_list.cc: Added support to Pandora_Module_Freememory.

        * modules/pandora_wmi.[cc,h]: Added getFreememory () to get the amount of free memory.

        * pandora_windows_service.h: Removed public specificator from some functions.

        * PandoraAgent.dev: Added new files.

        * bin/PandoraAgent.exe: Updated to the new commit.

        * bin/pandora_agent.conf: Added example of free memory module.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@133 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-13 10:38:32 +00:00
Esteban Sanchez 8bd863ad58 2006-07-11 Esteban Sanchez <estebans@artica.es>
* bin/pandora_agent.conf: Added examples of CPU usage and free space on disk.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@131 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-12 10:57:20 +00:00
Esteban Sanchez 207f8052b3 2006-07-11 Esteban Sanchez <estebans@artica.es>
* modules/pandora_module_cpuusage.[cc,h]: Added to repository. Implements a module to get the CPU usage percentage.

        * modules/pandora_module.h, modules/pandora_module_factory.cc, modules/pandora_module_list.cc: Added support to Pandora_Module_Cpuusage.

        * modules/pandora_module_freedisk.cc: Removed unnecessary debug output.

        * modules/pandora_module_service.h: Style correction.

        * windows/pandora_wmi.[cc,h]: Added getCpuUsagePercentage(). Removed unnecessary debug output.

        * PandoraAgent.dev: Added new files to the project.

        * bin/PandoraAgent.exe: Updated to the new commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@129 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-12 09:15:00 +00:00
raulmateos 54bd9c33fc (Pandora Agents)
* Delete, again, the hpux directory

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@126 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-11 16:41:33 +00:00
Esteban Sanchez 89bf49e977 2006-07-11 Esteban Sanchez <estebans@artica.es>
* pandora_windows_service.h: Public methods converted into private.

        * modules/pandora_module_freedisk.[cc,h]: Added to repository. Implements a module to check the free space in a disk.

        * modules/pandora_module.h, modules/pandora_module_factory.cc, pandora_module_list.cc: Added support to Pandora_Module_Freedisk modules.

        * ssh/libssh2/channel.c: Fixed a bug on libssh2_channel_wait_closed that caused to not copy the file to the remote host.

        * windows/wmi/pandora_wmi.[cc,h]: Added getDiskFreeSpace() to get support eh Pandora_Module_Freedisk modules.

        * pandora_strutils,[cc,h]: Added longtostr() to convert a long into a string.

        * PandoraAgent.dev: Added new files to the project.

        * bin/PandoraAgent.exe: Updated to the new commit.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@120 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-11 09:41:22 +00:00
Esteban Sanchez 1919501250 2006-07-10 Esteban Sanchez <estebans@artica.es>
* modules/pandora_module_list.cc: Delete modules from the list 
in the destructor.

        * ssh/libssh2/*: Updated to a new version of libssh2 (v 0.14). 
It solves a very important leak.

        * PandoraAgent.dev: Linker options modified. Libssh2 files are 
not compiled as C++.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@117 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-10 10:43:11 +00:00
dervitx 6284d0f1a8 - when a module passes string data to the server in a XML document, presence of special XML characters like '&' and '<' si not checked. A temporal workaround is implemented in this revision, consisting on encapsulating the module data within <![CDATA[ ]]> http://www.w3schools.com/xml/xml_cdata.asp
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@107 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-08 20:57:43 +00:00
slerena 8d93ca3ce9 * Fixed minor issues for finish Pandora 1.2 Beta 2.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@105 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-06 17:17:49 +00:00
raulmateos e02b250b9f - Rename hpux folder to hp-ux (Pandora Agents)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@99 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-06 14:14:09 +00:00
Esteban Sanchez de01f21580 006-07-05 Esteban Sanchez <esteban@steve-o.org>
* README: Style correction.

        * pandora.cc: Log file renamed.

        * modules/pandora_module.cc: Fixed a bug when sending a integer value
        from a module exec type.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@98 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-06 12:30:04 +00:00
slerena 59efd044c1 * GNU Tools for Win32.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@97 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-06 11:06:34 +00:00
slerena 031c8ded7f * Final fixes for Pandora Agent 1.2 for Linux
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@96 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-06 11:05:42 +00:00
slerena 0559fa3b63 * Added licence in COPYING
* Change name from install information contained in bin/README.txt to INSTALL
* Added needed libs


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@95 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-06 11:02:32 +00:00
Esteban Sanchez b5f593ca21 2006-07-05 Esteban Sanchez <esteban@steve-o.org>
* AUTHORS, README: Added to repository

        * PandoraAgent.dev: Linker options modified to not point to a static
        path.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@94 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-05 16:27:34 +00:00
Esteban Sanchez 6c16f6bc67 2006-07-05 Esteban Sanchez <esteban@steve-o.org>
* pandora.h, ssh/padora_ssh_client.h: Define renamed.

        * pandora_windows_service.cc: SSH user modified.

        * main.cc: Added Pandora_SSH_Test

        * ssh/pandora_ssh_test.h: Added define to avoid recursive inclusion.

        * ssh/pandora_ssh_test.cc: Unnecessary includes removed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@93 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-05 15:02:28 +00:00
Esteban Sanchez 9a5bea1f1f 2006-07-05 Esteban Sanchez <esteban@steve-o.org>
* pandora.[cc,h]: Program name and display name of the application.
        Added pandora_version variable and getPandoraAgentVersion()

        * pandora_windows_service.[cc,h]: Added checking of debug flag when
        reading the configuration file. Get the agent name from the machine if
        it was not defined in the configuration file. Date format on
        getXmlHeader() corrected. Style correction.

        * bin/README.txt: Fixed a error.

        * bin/PandoraAgent.tar.gz: Updated to the new commit.

        * windows/pandora_wmi.cc: The errors are now shown using pandoraLog().

        * modules/pandora_module.cc, modules/pandora_module_exec.cc,
        ChangeLog: Style correction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@91 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-05 14:02:05 +00:00
Esteban Sanchez 4e4bf6fefe 2006-07-05 Esteban Sanchez <esteban@steve-o.org>
* bin/README.txt: Added to repository.

        * pandora.h: Service name renamed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@86 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-05 10:29:36 +00:00
Esteban Sanchez e6c81809f4 2006-07-05 Esteban Sanchez <esteban@steve-o.org>
* windows/pandora_wmi.cc: Removed unnecessary debug. Check the service state on isRunningService ()

        * pandora_agent_conf.cc, modules/pandora_module_factory.cc: Removed unnecessary debug.

        * bin/PandoraAgent.tar.gz: Added to repository.

        * ssh/pandora_ssh_client.cc: Debug converted into log.

        * pandora_windows_service.cc:  Get the interval value (in minutes) and set it to the service.
        Check if the XML of the module is NULL before adding it to the file. Added log output on error.
        Delete temporal file before finishing the run.

        * pandora_windows_service.h: Macro modified.

        * modules/pandora_module.h, modules/pandora_module.cc: Added new exception, raised when the interval
        is not fulfilled. Added code to the run funtion of the Pandora_Module class, to check the execution
        interval.

        * modules/pandora_module_proc.cc, modules/pandora_module_exec.cc, modules/pandora_module_service.cc:
        Call to the run() base class function before running the specific code.

        * modules/pandora_module_list.cc: Removed use of namespace and use a explicit specification.

        * Changelog: Renamed to ChangeLog.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@85 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-05 08:46:51 +00:00
Esteban Sanchez 54a0db6509 2006-07-04 Esteban Sanchez <esteban@steve-o.org>
* windows/pandora_wmi.*, windows/pandora_windows_info.*, windows/wmi/disphelper.*,
          misc/pandora_file.*, ssh/*, ssh/libssh2/*, modules/pandora_module_service.*,
        modules/pandora_module_proc.*: Added to repository

        * pandora_windows_service.cc, pandora_windows_service.h: getXMLHeader renamed to getXmlHeader
        and modified its behavior. Updated to the Pandora XML specification. Add SSH and XML generation
        functionallity.

        * modules/pandora_module_exec.cc: Added the execution to a job to prevent zombies process. Update
        the execution command.

        * modules/pandora_module_factory.cc: Added Pandora_Module_Proc and Pandora_Module_Service. Added
        the interval parameter.

        * modules/pandora_module_list.cc: Added support to Pandora_Module_Proc and Pandora_Module_Service.

        * modules/pandora_module.h: Added new types of modules. Added execution times and module description
        to the Pandora_Module class. Added support to Pandora_Module_Proc and Pandora_Module_Service. Added
        getXml, setInterval and setDescription functions.

        * pandora.h: Commentary fixed.

        * Changelog: Renamed to ChangeLog.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@83 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-04 14:07:08 +00:00
Esteban Sanchez ace464380f 2006-06-20 Esteban Sánchez
* win32: Initial import.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@48 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-20 17:05:19 +00:00
Esteban Sanchez 3d3ce70b82 2006-06-20 Esteban Sanchez
* win32/: Renamed to win32_old



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@47 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-20 16:54:28 +00:00
slerena fbedd6ffad New version of pandora_agent script, now officially support individual
interval for each module. DEBUG mode now copy the XML data file on local
machine g "mv" command instead ssh, by default. A new example of setup
is provided.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@40 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-05 20:52:12 +00:00
raulmateos 73191dac41 - Update win32 agent vbscript
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@28 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-04-29 15:02:23 +00:00
slerena 0cd002810a Initial Pandora load from our internal SVN
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-03-27 03:37:27 +00:00