Without -w option, the centos 2.x version of ps (procps-2.0.7)
truncates long lines to 80 characters when output isn't a tty
and thus init script fails to get pid of pandora_agent..
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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