Commit Graph

179 Commits

Author SHA1 Message Date
slerena 411bf82dbc 2010-11-01 Sancho Lerena <slerena@artica.es>
* unix/tentacle_client: Updated tentacle client to 0.30 version,
        with support for HTTP proxies.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3486 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-01 14:32:40 +00:00
slerena 716988e50f 2010-10-29 Sancho Lerena <slerena@artica.es>
* win32/bin/util/mibs: Added default mibs for the small snmpagent
    * tool.

    * win32/bin/util/getsnmp.bat,
    win32/bin/util/snmpget.exe: Added tool to get snmp info from the
    agent using tool from a module_exec.

    * win32/installer/pandora.mpi: Updated installer to have snmpget and
    mibs in the install process.

    * win32/pandora_windows_service.cc: Fixed bug 3098165.

    * win32/pandora.cc: Updated version


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3482 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-29 15:50:43 +00:00
jsatoh aac4abe240 2010-10-19 Junichi Satoh <junichi@rworks.jp>
* unix/SunOS/make_solaris_package/prototype: Added nagios_plugin_wrapper.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3419 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-19 00:57:15 +00:00
slerena fd66843829 2010-10-08 Sancho Lerena <slerena@artica.es>
* unix/pandora_agent_daemon: Kill with -9 to be sure is killed,
        because UDP server mode "captures" the INT signal to restart
        the agent when receibe REFRESH AGENT on UDP client.

        * unix/Linux/pandora_agent.conf: New config tokens to support
        UDP server options.

        * unix/pandora_agent: UDP Server mode implemented in the
        Unix/Perl agent, only for REFRESH AGENT option, no remote commands
        possible.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3370 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-08 09:58:18 +00:00
jsatoh e6b32529bd 2010-10-06 Junichi Satoh <junichi@rworks.jp>
* unix/pandora_agent: Added FreeBSD specific commands.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3346 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-06 01:49:48 +00:00
jsatoh f51c35c37d 2010-09-27 Junichi Satoh <junichi@rworks.jp>
* unix/FreeBSD/pandora_agent: Fixed a typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3297 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 02:06:34 +00:00
jsatoh 28af490e9b 2010-09-27 Junichi Satoh <junichi@rworks.jp>
* unix/FreeBSD/pandora_agent: Changed PID detection method to support
	"jail", FreeBSD virtualization.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3295 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 01:56:08 +00:00
jsatoh 41a7adfcff 2010-09-27 Junichi Satoh <junichi@rworks.jp>
* unix/pandora_agent_installer: Set PANDORA_USER="root" when it is
	not defined.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3294 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 01:51:13 +00:00
ramonn 5004283c5a 2010-09-20 Ramon Novoa <rnovoa@artica.es>
* unix/pandora_agent, win32/modules/pandora_module.cc: Added
	  module_interval information to the data XML.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3260 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-20 15:03:06 +00:00
jsatoh a26e4db80f 2010-09-17 Junichi Satoh <junichi@rworks.jp>
* unix/SunOS/make_solaris_package/README,
	unix/SunOS/make_solaris_package/copyright,
	unix/SunOS/make_solaris_package/make_solaris_package.sh,
	unix/SunOS/make_solaris_package/prototype: Added agent package builder
	for Solaris.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3249 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-17 03:36:43 +00:00
jsatoh 4cd9aff8d8 2010-08-17 Junichi Satoh <junichi@rworks.jp>
* unix/pandora_agent_daemon, unix/tentacle_client: Added support for
	Solaris	virtualization, "zone".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3144 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-17 01:58:46 +00:00
darode d1ec20036c 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 273725c7f6 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 290096baac 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 8a8c909408 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 a2fec2bb0f 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 fdd9062bb5 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 c4a4da83f4 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 b164f8800e 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 2043eb3c52 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 27891544d9 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 78d411c78f 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 1a7aac011c 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
ramonn ee3c3a6992 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 943f14a2a3 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 65ad7ae396 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
ramonn e2d06f237a 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
ramonn e7d6a8c171 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
ramonn 8f2259ea41 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 13eb80112a 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 b51be37c15 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
ramonn 856ead18d0 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
ramonn 6719717eab 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 32d2e337ba 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
ramonn c637d5e73b 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 38fa5603a3 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 549b2f45c7 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 d4bc94443a 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 a15281dcde 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 3cace0f86e 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 e8f2f4ca73 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
pabloconcepcion beb85ab9f0 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 8984a28aa9 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
pabloconcepcion e1bb00f659 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 672e84c984 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
pabloconcepcion e636b5c887 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 6c9a01cb59 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 01a511ec58 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 9c8c2f94eb 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 fea271930b 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