Commit Graph

168 Commits

Author SHA1 Message Date
darode 12eecb341f 2010-08-04 Dario Rodriguez <dario.rodriguez@artica.es>
* win32/bin/collections: Added collections directory.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3097 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-04 16:45:59 +00:00
darode 1cd9608ae3 2010-07-30 Dario Rodriguez <dario.rodriguez@artica.es>
* win32/installer/pandora.mpi: Added collections directory in the windows 
	installer.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3095 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-04 16:17:31 +00:00
darode 2082a37ccb 2010-07-30 Dario Rodriguez <dario.rodriguez@artica.es>
* unix/pandora_agent: Added code to change the nice parameter of the 
	pandora_agent process.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3082 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-30 12:25:23 +00:00
jsatoh d5795cf73c 2010-07-28 Junichi Satoh <junichi@rworks.jp>
* unix/SunOS/pandora_agent.conf: Fixed a typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3072 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-28 02:24:55 +00:00
darode 2b18bd0ef7 2010-07-21 Dario Rodriguez <dario.rodriguez@artica.es>
* win32/pandora_agent_conf.cc, pandora_agent_conf.h: Added logic to search 
	existing collections in config file, and checking for ".." substrings in 
	path for security reasons.
	* win32/pandora_windows_service.h, pandora_windows_service.cc: Added logic
	to remove incoherences between collections directory and collection list 
	of config file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3045 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-21 10:03:20 +00:00
darode 033040b10f 2010-07-20 Dario Rodriguez <dario.rodriguez@artica.es>
* win32/pandora_agent_conf.cc, pandora_agent_conf.h: Added a variable to
	control if the collection is added to the PATH.
	* win32/pandora_windows_service.h, pandora_windows_service.cc: Added logic
	to check if the collection is added to the PATH or not.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3043 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-20 16:38:29 +00:00
darode 24f85e81ca 2010-07-16 Dario Rodriguez <dario.rodriguez@artica.es>
* misc/pandora_file.cc: fixed error that caused double free.



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



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3018 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-16 12:28:49 +00:00
darode d830a9dc36 2010-07-16 Dario Rodriguez <dario.rodriguez@artica.es>
* win32/bin/util/unzip.exe: Added to bin/utils to use it to unzip 
	collections.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3016 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-16 11:57:09 +00:00
darode 16f3d39f87 2010-07-14 Dario Rodriguez <dario.rodriguez@artica.es>
* win32/pandora_agent_conf.cc, pandora_agent_conf.h: Added functionality
	to get collection from configuration file.
        * win32/pandora_windows_service.cc, pandora_windows_service.h: Added
	support for manage collections



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3007 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-14 17:16:08 +00:00
darode b439d5053c 2010-07-09 Dario Rodriguez <dario.rodriguez@artica.es>
* win32/configure.in, Makefile.am: Modified to compile executable with
	version information embedded

	* win32/versioninfo.rc: Added version information file for win32 
	executable
	Fixes: #3007874



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2984 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-09 12:58:15 +00:00
jsatoh 3e4130c0f8 2010-07-05 Junichi Satoh <junichi@rworks.jp>
* unix/pandora_agent_installer: Fixed typo and directory permission
	for FreeBSD.
	
	* unix/FreeBSD/pandora_agent: Simplified.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2958 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-05 01:56:19 +00:00
Ramon Novoa 598be13059 2010-06-18 Ramon Novoa <rnovoa@artica.es>
* unix/pandora_exec: Added to repository. pandora_exec script.

        * unix/pandora_agent_installer, unix/DEBIAN/postinst,
          unix/DEBIAN/make_deb_package.sh, unix/pandora_agent.spec: Added the
          pandora_exec script to the installation.

        * unix/pandora_agent_daemon: Added support for running the agent as
          an unprivileged user.

        * unix/pandora_agent: Added timeout support for module_exec modules.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2915 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-18 12:36:19 +00:00
jsatoh 84649ff12f 2010-06-14 Junichi Satoh <junichi@rworks.jp>
* unix/pandora_agent_installer: Set execute bit to startup script
	for FreeBSD.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2904 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-14 02:38:10 +00:00
mdtrooper 0d71fa81f6 2010-06-09 Miguel de Dios <miguel.dedios@artica.es>
* unix/DEBIAN/make_deb_package.sh: added the code to include the man pages
	into DEB package.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2897 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-09 12:15:48 +00:00
Ramon Novoa fbf3500609 2010-06-09 Ramon Novoa <rnovoa@artica.es>
* unix/man, unix/man/man1,
          unix/man/man1/pandora_agent.1.gz,
          unix/man/man1/tentacle_client.1.gz: Added to repository.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2890 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-09 11:03:00 +00:00
Ramon Novoa 4017b1db7a 2010-06-09 Ramon Novoa <rnovoa@artica.es>
* man, man/man1,
          man/man1/pandora_agent.1.gz,
          man/man1/tentacle_client.1.gz: Removed from repository.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2888 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-09 10:30:41 +00:00
Ramon Novoa 157bf2ec94 2010-06-08 Ramon Novoa <rnovoa@artica.es>
* unix/DEBIAN/control, unix/DEBIAN/make_deb_package.sh,
          unix/pandora_agent.spec, unix/pandora_agent,
          win32/installer/pandora.mpi, win32/pandora.cc: Updated version
          strings.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2880 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-08 17:06:14 +00:00
jsatoh c3f40dcf15 2010-06-07 Junichi Satoh <junichi@rworks.jp>
* unix/pandora_agent_installer: Added support for FreeBSD.

	* unix/FreeBSD/pandora_agent: Added startup script for FreeBSD.

	* unix/FreeBSD/pandora_agent.conf: Added configuration file for FreeBSD.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2863 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-07 01:36:45 +00:00
mdtrooper 5f962a0ce1 2010-06-01 Miguel de Dios <miguel.dedios@artica.es>
* unix/DEBIAN/prerm: disabled the erase conf file and plugin dir.
	
	* unix/DEBIAN/conffiles: added plugin directory.
	
	* unix/DEBIAN/make_deb_package.sh: cleaned source code, and now make the
	plugin empty dir for package builder.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2830 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-01 13:11:02 +00:00
Ramon Novoa 21f4bd7dbe 2010-05-20 Ramon Novoa <rnovoa@artica.es>
* unix/DEBIAN/control, unix/DEBIAN/make_deb_package.sh: Renamed
          deb package.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2781 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-20 18:12:26 +00:00
Ramon Novoa d80f3eb28a 2010-05-20 Ramon Novoa <rnovoa@artica.es>
* unix/pandora_agent: Updated agent version.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2779 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-20 16:09:55 +00:00
zarzuelo 41839d69f7 2010-05-20 Sergio Martin <sergio.martin@artica.es>
* unix/Linux/pandora_agent.conf: Improved the
	agent modules memused and proctotal



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2778 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-20 15:47:25 +00:00
Ramon Novoa 67b8d8b1d4 2010-05-20 Ramon Novoa <rnovoa@artica.es>
* unix/pandora_agent_installer, unix/DEBIAN/control,
          unix/DEBIAN/make_deb_package.sh, unix/pandora_agent.spec,
          unix/pandora_agent, linux/DEBIAN/make_deb_package.sh,
          linux/pandora_agent.spec: Updated for the release of Pandora FMS 3.1 RC1.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2772 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-20 13:09:50 +00:00
mdtrooper ea6f5efac8 2010-05-20 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/make_deb_package.sh: fixed the permissions to DEBIAN temp package. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2768 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-20 11:00:46 +00:00
slerena 2020d3a4bf 2010-05-18 Sancho Lerena <slerena@artica.es>
* unix/pandora_agent_installer: New version of installer. Now allow
        to install the agent and all its dependencies, configuration and logfiles
        inside a specific directory, for example: /opt/pandora. That directory
        will contain all data, even the logs. Default configuration file and
        launcher daemon script are modified in realtime to have that custom
        defined directory. Removed "with-links" method.

        * *.conf: Minor modification to use the new method of install in a custom
        directory.

        * unix/pandora_agent_daemon: Build update and some small modifications
        to use the custom directory.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2748 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-18 16:09:06 +00:00
zarzuelo 084a5c2352 2010-05-17 Sergio Martin <sergio.martin@artica.es>
* linux/pandora_agent.conf: Improved the default
	modules memused and proctotal for bug 3002626



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2738 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-17 09:52:36 +00:00
raulmateos d420aefedc 2010-05-16 Raul Mateos <raulofpandora@gmail.com>
* linux/pandora_agent_installer, linux/DEBIAN/make_deb_package.sh,
	linux/DEBIAN/control, linux/pandora_agent, linux/pandora_agent_daemon,
	linux/pandora_agent.conf: Updated build. Updated year.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2733 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-15 22:36:34 +00:00
zarzuelo 600900a3ae 2010-05-12 Sergio Martin <sergio.martin@artica.es>
* unix/pandora_agent_installer
	linux/pandora_agent_installer
	man/man1/tentacle_client.1.gz: Improved
	man pages installer splitting tentacle
	man page and write it on unix folder

	*  unix/man
	man/man1/pandora_agent.1
	man/man1/tentacle.1.gz: Deleted old man pages



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2710 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-12 15:03:10 +00:00
zarzuelo a6a586003e 2010-05-11 Sergio Martin <sergio.martin@artica.es>
* linux/pandora_agent_installer
	man/man1/pandora_agent.1.gz
	man/man1/tentacle.1.gz: Added the man pages of
	tentacle and pandora agent and modified the
	agent installer script to install them



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2698 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-11 16:59:20 +00:00
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
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
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
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 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
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
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
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
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
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 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