Commit Graph

310 Commits

Author SHA1 Message Date
Pablo de la Concepción Sanz 535f5ac6c4 2010-02-22 Pablo de la Concepción <pablo.concepcion@artica.es>
* unix/Linux/pandora_agent.conf: Added parameters position_description
    and parent_agent_name, and updated loadaverage with a more efficient
    version.

    * unix/pandora_agent: Added POD documentation, modified to only add
    to the XML the minimum parameters (positional parameters,
    parent_agent_name,...) are not sent with default values if not
    deffined in the config file. Updated verion and build.

    * man/man1/pandora_agent.1: ManPage generated from unix/pandora_agent
    first version of the manpage.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2401 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-22 19:32:10 +00:00
slerena f848cb4711 2010-02-18 Sancho Lerena <slerena@artica.es>
* unix/Linux/pandora_agent.conf,
        linux/pandora_agent.conf: Modified way to get loadaverage, taken from
        Enriquegm from the forums.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2372 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-17 02:16:03 +00:00
Pablo de la Concepción Sanz 3ea775dd8f 2010-02-16 Pablo de la Concepción <pablo.concepcion@artica.es>
Updated tentacle from the tentacle repository and generated
    manpage. TODO:Make the installer install the manpages

    * unix/tentacle_client: Added pod documentation to generate manpages.

    *  man/man1/tentacle_client.1: First version of the manpages for
     tentacle_client



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2369 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-16 11:57:20 +00:00
mdtrooper 5ce5a79d6c 2010-02-10 Miguel de Dios <miguel.dedios@artica.es>
* pandora_agent_installer: fix bug when uninstall the agent in the same
	machine that it have a Pandora Server, that the uninstaller deleted the
	dirs share with Pandora Server (/var/spool/pandora/*)
	 


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2351 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-11 17:21:42 +00:00
slerena 28e232f30a 2010-02-09 Sancho Lerena <slerena@artica.es>
* unix/pandora_agent_daemon
        * unix/pandora_agent.spec
        * linux/pandora_agent_daemon
        * linux/pandora_agent.spec: Fixed some compatibility issues with
        CentOS LSB and RPM package.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2342 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-10 17:37:48 +00:00
slerena 88877cd126 2010-01-27 Sancho Lerena <slerena@artica,es>
* plugins/files_indir: New agent to detect if files in a 
	specified directory are less than in previous run. Return two 
	modules.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2311 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-01-27 12:52:02 +00:00
Pablo de la Concepción Sanz 52a6363555 2010-01-12 Pablo de la Concepcipón <pablo.concepcion@artica.es>
* unix/Linux/pandora_agent.conf, unix/AIX/pandora_agent.conf,
	unix/HP-UX/pandora_agent.conf, unix/pandora_agent,
	unix/SunOS/pandora_agent.conf: Updated unix agent to send 
	GIS information (altitude, latitude, longitude, and timezone_offset)

 


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2263 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-01-12 17:29:03 +00:00
slerena ce8246636e 2009-12-29 Sancho Lerena <slerena@artica.es>
* linux/pandora_agent_daemon: Some ugly warnings are fixed.

        * linux/pandora_agent.spec: /spool../data_out was not correctly 
        working, fixed.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2254 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-29 11:07:59 +00:00
slerena 727af2d68a 2009-12-28 Sancho Lerena <slerena@artica.es>
* pandora_agent.spec: Fixed missing var/spool/pandora/data_out
        directory :-/




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

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




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2223 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-18 20:04:42 +00:00
slerena ff40bdaeec 2009-12-18 Sancho Lerena <slerena@artica.es>
* unix/pandora_agent_installer,
        * linux/DEBIAN/control,
        * linux/pandora_agent.spec:  Updated versions.

        * unix/pandora_agent: Fixed bug #2887050. Updated version




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2218 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-18 15:48:18 +00:00
mdtrooper 7d74eceee6 2009-12-17 Miguel de Dios <miguel.dedios@artica.es>
* linux/DEBIAN/postinst: change the code to insert as service the agent.
	Fixes: 2911327



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

	* installer/logo.png: Updated logo

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2209 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-16 18:25:17 +00:00
raulmateos 17c644433f 2009-12-16 Raul Mateos <raulofpandora@gmail.com>
* linux/pandora_agent, linux/DEBIAN/make_deb_package.sh: Preparing 
	release changing version to final. Clean code.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2207 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-16 18:03:47 +00:00
Ramon Novoa da82520c55 2009-12-15 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Removed debugging code.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2200 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-15 17:38:42 +00:00
Ramon Novoa a26115d2f7 2009-12-15 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Make modules with a module_interval run the first time.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2199 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-15 17:32:53 +00:00
raulmateos ab23c1eb91 2009-12-09 Raul Mateos <raulofpandora@gmail.com>
* linux/pandora_agent.conf: Added comments to all modules. This will
	help in reporting (reporting get the module's descriptions) and it's
	a good habit.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2184 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-09 11:40:39 +00:00
raulmateos a9c938ea40 2009-12-07 Raul Mateos <raulofpandora@gmail.com>
* linux/pandora_agent_installer: Use tabs instead spaces. Small text
	fix.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2169 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-07 14:57:34 +00:00
slerena d60e0e9360 2009-12-07 Sancho Lerena <slerena@artica.es>
* plugins/inventory: Fixed some problems with the plugin (for
        * linux). Added inventory for RPM systems.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2166 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-07 13:20:24 +00:00
Ramon Novoa d0e93703a4 2009-12-03 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Empty modules and plugins before loading a remote
          configuration. Made the md5 function 64bit proof :-)




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2155 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-03 18:35:08 +00:00
raulmateos 64502c45ba 2009-11-29 Raul Mateos <raulofpandora@gmail.com>
* linux/pandora_agent_installer: Added Ubuntu specific stop scripts.
	Added link removing with update-rc.d. Changed temp directory (it
	added duplicated data_out directories). Use tabs instead spaces.

	* linux/pandora_agent_daemon: Use log file in /var/log/pandora/ directory.

	* linux/pandora_agent.conf: Changed temp directory to the one created
	by installer.

	* linux/DEBIAN/control, DEBIAN/make_deb_package.sh: Changed string from rc2
	to RC3.

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

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

        * pandora.cc: Updated version.




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

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

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

        * pandora.cc: Updated version string.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2126 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-24 17:31:53 +00:00
slerena 36612c6a58 2009-11-19 Sancho Lerena <slerena@artica.es>
* unix/pandora_agent_installer: Updated help to avoid confussion about force
	install mode.

	* unix/pandora_agent.spec: Create temp directory. Fixed.



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

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

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

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

        * pandora_windows_service.cc: Fixed bug #2899257.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2115 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-19 00:40:26 +00:00
Ramon Novoa 137881d72e 2009-11-19 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Fixed bug #2888991. Skip remote_config if debug is enabled.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2114 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-19 00:34:27 +00:00
slerena cadf8632b9 2009-11-18 Sancho Lerena <slerena@artica.es>
* pandora_agent: Fixed a problem sending the module type in the XML.
        This causes that all modules were "generic_data". 


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


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


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2111 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-17 00:51:22 +00:00
slerena 309b1ba5d5 2009-11-16 Sancho Lerena <slerena@artica.es>
* pandora_agent: Updated default encoding to iso-8859-1 instead
        iso-8859-15, because in some systems this encoding is not installed
        and don't work :-(. Thanks for summa_sp for report this.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2110 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-16 20:47:47 +00:00
slerena 08ab164248 2009-11-10 Sancho Lerena <slerena@artica.es>
* linux/DEBIAN/control: Updated to RC2.

        * linux/DEBIAN/make_deb_package.sh: /usr/bin/pandora_agent was not being copied
        FIXED. DEB package tested and running fine in latest Debian Stable.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2099 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-10 00:52:18 +00:00
raulmateos a8712f2f9c 2009-11-06 Raul Mateos <raulofpandora@gmail.com>
* Missing Changelog

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2094 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-06 20:25:27 +00:00
raulmateos 4204481078 2009-11-06 Raul Mateos <raulofpandora@gmail.com>
* *.conf: Updated URL and some small fixes.

	* README: Updated name :-D

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2093 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-06 20:24:52 +00:00
slerena d68a0fe3ef 2009-11-05 Sancho Lerena
* README: Updated version requisites for Perl.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2088 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-05 18:29:26 +00:00
slerena ff91183cf1 2009-11-05 Sancho Lerena <slerena@gmail.com>
* pandora_agent_installer: Added a common installer for all systems.

        * Deleted daemon script for all systems, creaded a general one.

        * Modified HPUX to HP-UX directory.

        * Updated some .conf



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2087 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-05 18:26:54 +00:00
raulmateos 2d2fd283c7 2009-11-04 Raul Mateos <raulofpandora@gmail.com>
* pandora_agent_daemon: Changed "Uso" string to "Usage" string. Unify headers
	and customized according to each UNIX/Linux versions.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2084 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-04 18:30:18 +00:00
mdtrooper 4010f73ec9 2009-11-04 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/make_deb_package.sh: move the script to make the deb package into
	the DEBIAN and change some things into the sourcecode for the directory
	change.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2077 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-04 15:39:35 +00:00
slerena 880227e280 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2076 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f 2009-11-04 10:37:42 +00:00
mdtrooper f6f47894ed 2009-10-30 Miguel de Dios <miguel.dedios@artica.es>
* Fix the mistake in SVN.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2065 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-30 12:20:00 +00:00
mdtrooper 4b47255b88 2009-10-30 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/control, DEBIAN/md5sums, DEBIAN/postinst, DEBIAN/prerm,
	DEBIAN/conffiles: debian base files for to make a .deb package.
	* make_deb_package.sh: shell script for make automatically the deb package
	for standard installation in a Debian Lenny, this script make a package
	"pandorafms.agent_3.0.0.rc1.deb".


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2060 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-30 09:09:00 +00:00
slerena 40277d7b7f 2009-10-26 Sancho Lerena <slerena@artica.es>
* Updated conf files: temporal variable to use /tmp by default.

        Updated spec revision.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2057 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-27 21:04:49 +00:00
slerena 96b39feeb0 2009-10-17 Sancho Lerena <slerena@artica.es>
* linux/pandora_agent_daemon: Fixed problems in small term with    
        PID detection.

        * unix/Linux/pandora_agent_daemon: Same as above.




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




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

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




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

	* installer/README.txt: Updated readme.



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

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




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

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

        * modules/pandora_module_regexp.cc: Removed debugging code.

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

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

        * configure.in: Improved library detection.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2000 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-05 17:04:17 +00:00
slerena 13c0e6600c 2009-09-30 Sancho Lerena <slerena@artica.es>
* win32/installer/pandora.mpi: Updated installer.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1996 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-30 17:21:57 +00:00
slerena 8b5a99335a 2009-09-30 Sancho Lerena <slerena@artica.es>
* linux/pandora_agent_installer: Fixed "accidental" deletion
        of /var/spool/pandora uninstalling the agent, now only
        delete /var/spool/pandora/data_out 
        



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1995 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-30 16:32:21 +00:00
guruevi 019f6b6e28 2009-09-25 Evi Vanoost <vanooste@rcbi.rochester.edu>
* mac_osx/pandora_fms/pandora_fms, 
        mac_osx/pandora_fms/StartupParameters.plist: Updated for 3.0

        * mac_osx/tentacle_client: Added for 3.0

        * mac_osx/pandora_agent: Copied from Linux and modified

        * mac_osx/pandora_agent.conf: Slight modifications for 3.0

        * mac_osx/pandora_agent_installer: Copied from Linux and 
        modified

        * mac_osx/Pandora FMS.pmdoc: PackageMaker definition file 
        to create Mac Packages for easy (automatic) deployment

        * mac_osx/Pandora Agent 3.0 for Mac: Package (installer) for 
        Mac. This is an easy (click-to-run) package.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1975 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-25 13:35:51 +00:00