Commit Graph

22 Commits

Author SHA1 Message Date
koichirok c9c7bc2873 2014-08-13 Koichiro Kikuchi <koichiro@rworks.jp>
* FreeBSD/pandora_agent: Small fixes: use proper rc variables,
	 remove obsolete function "set_rcvar" call and use "daemon" command
	 to start pandora_agent.

	* pandora_agent_installer: Refactored implementation and added
	 "fakeroot" installation support.

	* plugins/who.sh: Converted to bourne shell script.

	* pandora_agent_daemon: Small bug fixes and refactorings.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10414 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-13 14:53:16 +00:00
Ramon Novoa 4f5e94b450 2014-08-07 Ramon Novoa <rnovoa@artica.es>
* pandora_agent_daemon: Fixes the ps call on HP-UX.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10389 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-07 09:55:15 +00:00
Ramon Novoa 1f4b99eaa9 2013-10-21 Ramon Novoa <rnovoa@artica.es>
* pandora_agent_daemon: Changed status return codes to conform to LSB
	  specs. Fixes bug #2397.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8940 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-10-21 08:08:12 +00:00
Aldrioth b261b2dbf9 2013-02-27 Tomas Palacios <tomas.palacios@artica.es>
* pandora_agent_installer: Added compatibility for custom perl
        installation paths.

        * pandora_agent_daemon: Modified the way to find SunOS agent PID
        to make it more reliable.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7732 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-27 15:35:35 +00:00
koichirok fe648cc47f 2011-09-05 Koichiro Kikuchi <koichiro@rworks.jp>
* pandora_agent_daemon: Added support for OpenVZ/Virtuozzo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4898 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-05 09:52:18 +00:00
darode c46c0d86dd 2011-04-12 Dario Rodriguez <dario.rodriguez@artica.es>
* pandora_agent_daemon: Deleted code that kill tentacle server and
	replaced kill -9 to kill of agent stop command.
	* Linux/pandora_agent.conf, AIX/pandora_agent.conf, 
	HP-UX/pandora_agent.conf,SunOS/pandora_agent.conf : Added parameters 
	proxy_max_connection and proxy_timeout 1.
	* pandora_agent: Fixed problems launching tentacle_server and also 
	added code to handle kill signal.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4191 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-12 15:09:25 +00:00
darode 9d524f3b3f 2011-04-11 Dario Rodriguez <dario.rodriguez@artica.es>
* pandora_agent_installer: Added code to install tentacle_server with
	pandora agent.
	* AIX/pandora_agent.conf: Added two new parameters proxy_mode and 
	proxy_user.
	* tentacle_server: Added tentacle server with proxy support.
	* pandora_agent_daemon: Add feature to stop tentacle_server when
	pandora agent stops.
	* Linux/pandora_agent.conf: Added two new parameters proxy_mode and 
	proxy_user.
	* HP-UX/pandora_agent.conf: Added two new parameters proxy_mode and 
	proxy_user.
	* pandora_agent: Added support to tentacle_server and proxy_mode.
	* SunOS/pandora_agent.conf: Added two new parameters proxy_mode and 
	proxy_user.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4185 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-11 16:35:45 +00:00
jsatoh a6c7692c67 2011-01-27 Junichi Satoh <junichi@rworks.jp>
* unix/pandora_agent_daemon: Changed order of 'su' argument.
	Username should be as the 1st argument on Solaris.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3781 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-27 01:54:34 +00:00
Ramon Novoa a137da643c 2010-12-16 Ramon Novoa <rnovoa@artica.es>
* pandora_agent_installer, pandora_agent_daemon: Additional
	  changes to run the agent as a different user. Starting and
	  stopping the daemon did not work except as root.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3664 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-16 19:34:22 +00:00
Ramon Novoa 0d5c224085 2010-11-22 Ramon Novoa <rnovoa@artica.es>
* pandora_agent_daemon: Solaris specific fixes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3619 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-22 19:22:21 +00:00
Ramon Novoa e039d58020 2010-11-19 Ramon Novoa <rnovoa@artica.es>
* pandora_agent, AIX/pandora_agent.conf,
	  pandora_agent_daemon, Linux/pandora_agent.conf,
	  HP-UX/pandora_agent.conf, NT4/pandora_agent.conf,
	  SunOS/pandora_agent.conf, FreeBSD/pandora_agent.conf: Added a new
	  configuration option that lets the agent run as a different user
	  by changing the process' EUID.

	* pandora_agent_installer: Several fixes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3609 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-19 14:18:34 +00:00
raulmateos 83368c071f 2010-11-15 Raul Mateos <raulofpandora@gmail.com>
* pandora_agent*, pandora_exec, plugins/pandora_update: Small changes:
	Year, version, spaces to tabs.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3584 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-15 10:32:23 +00:00
slerena fe21083399 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 a7f9e8c5d8 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
mdtrooper d700b6664f 2010-08-04 Miguel de Dios <miguel.dedios@artica.es>
* pandora_agent_daemon: fixed user of daemon, it is root, not dario.



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

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

        * Updated RPM spec for Linux agent.

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




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




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1940 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-14 15:57:00 +00:00