* 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
* Linux/pandora_agent.conf: The default user should not be pandora.
* pandora_agent_installer: Removed some calls to chown that had the
potential to damage a Linux system.
* pandora_agent: Delay the parsing of include files to make sure
that all variables that may affect a module's configuration
have already been read.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8783 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_agent_installer: Merged improvements from 4.1 branch
to fix several bugs related to custom installation.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8688 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_agent_installer: Added support for NetBSD.
* NetBSD/pandora_agent, NetBSD/pandora_agent.conf: Added launcher
script and configuration file for NetBSD.
Contributed by Hiroki SHIMIZU. Thanks!
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8021 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: Backup and restore conf file and daemon
launcher. Moved the code that sets PANDORA_USER back to its original
place and set the variable properly instead.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6071 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_agent_installer: Removed duplicated lines and spaces to
tabs. Also removed lines that set group to wheel (gid of wheel is 0).
* plugins/files_indir: Added support for FreeBSD.
* plugins/pandora_update: Fixed $conf_path for FreeBSD and spaces
to tabs.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5237 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
* pandora_agent_installer, DEBIAN/postinst, DEBIAN/prerm,
DEBIAN/make_deb_package.sh, pandora_agent.spec,
pandora_agent, SunOS/make_solaris_package/prototype,
SunOS/make_solaris_package/make_solaris_package.sh,
pandora_agent_exec: Renamed pandora_exec to
pandora_agent_exec to avoid conflicts with the pandora_exec
script installed by the server.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3708 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_installer: Remove all init symbolic links.
* plugins/pandora_update: Give the agent daemon some time to stop.
Necessary on Windows.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3640 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
* pandora_agent_installer,
DEBIAN/make_deb_package.sh,
pandora_agent.spec: Updated to take the collections directory into
account.
* collections: Added to repository. Collections directory.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3036 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
* 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
* pandora_agent_installer: Added darwin (snow leopard), and BSD to
installer OS detection.
* AIX/pandora_agent.conf: Fixed version & date.
* HP-UX/pandora_agent.conf: Replaced some default modules by
better ones.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2650 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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
* 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
* 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