Commit Graph

42 Commits

Author SHA1 Message Date
koichirok 0eecbd3edd 2014-08-14 Koichiro Kikuchi <koichiro@rworks.jp>
* pandora_agent_installer: Fixed symlink source path.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10420 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-14 04:28:27 +00:00
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
slerena 3bd49b8e63 2014-05-26 Sancho Lerena <slerena@artica.es>
* pandora_agent_installer: Fixed installed for Darwin/macOS agent. Tested
        on 10.9.2.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10009 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-26 14:59:54 +00:00
Ramon Novoa e87c3d5007 2013-09-19 Ramon Novoa <rnovoa@artica.es>
* pandora_agent_installer: Changed the bash style == to =.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8785 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-09-19 13:23:05 +00:00
Ramon Novoa ae177b41bb 2013-09-19 Ramon Novoa <rnovoa@artica.es>
* 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
2013-09-19 12:07:31 +00:00
darode d9cb5abea0 2013-08-22 Dario Rodriguez <dario@artica.es>
* 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
2013-08-22 17:04:00 +00:00
jsatoh cad2924f25 2013-04-21 Junichi Satoh <junichi@rworks.jp>
* 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
2013-04-21 00:36:33 +00:00
Ramon Novoa 7cacb2a64b 2013-03-12 Ramon Novoa <rnovoa@artica.es>
* pandora_revent: Added to repository. Pandora remote event generation
	  script.

	* pandora_agent_installer: Added the pandora_revent script.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7840 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-12 17:53:25 +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 064f322e3d 2013-02-19 Koichiro Kikuchi <koichiro@rworks.jp>
* pandora_agent_installer: Removed duplicated chown line.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7674 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-19 10:28:33 +00:00
Ramon Novoa 1d919c3edb 2012-04-20 Ramon Novoa <rnovoa@artica.es>
* pandora_agent_installer: Removed an unused variable.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6073 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-20 13:32:10 +00:00
Ramon Novoa 96348826d3 2012-04-20 Ramon Novoa <rnovoa@artica.es>
* 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
2012-04-20 13:29:22 +00:00
Ramon Novoa 23be21f92f 2012-03-28 Ramon Novoa <rnovoa@artica.es>
* pandora_agent_installer: Moved the code that sets PANDORA_USER to
	  the right place.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5848 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-28 17:39:07 +00:00
koichirok 14097d7180 2011-12-07 KIKUCHI Koichiro <koichiro@rworks.jp>
* 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
2011-12-07 10:07:43 +00:00
slerena 8cea9bdb25 2011-09-26 Sancho Lerena <slerena@artica.es>
* unix/pandora_agent_installer, 
        unix/README,
        unix/pandora_agent: More version strings fixed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5003 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-26 11:22:46 +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
darode 8cacaf1cc2 2011-04-04 Dario Rodriguez <dario.rodriguez@artica.es>
* pandora_agent_installer: Fixed an error with chown in AIX OS.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4168 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-04 18:19:11 +00:00
darode a6dc81916c 2011-04-04 Dario Rodriguez <dario.rodriguez@artica.es>
* pandora_agent_installer: Added correct user to tentacle_client binary.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4166 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-04 15:47:44 +00:00
darode 416a4da4d7 2011-04-04 Dario Rodriguez <dario.rodriguez@artica.es>
* pandora_agent_installer: Modified agent isntaller to deal with 
	specified user installation. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4163 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-04 10:42:57 +00:00
Ramon Novoa 7426589233 2010-12-27 Ramon Novoa <rnovoa@artica.es>
* 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
2010-12-27 10:18:20 +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 aa2356b40c 2010-11-29 Ramon Novoa <rnovoa@artica.es>
* 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
2010-11-29 12:50:14 +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
jsatoh d0aec09389 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
Ramon Novoa ece05e4fda 2010-07-20 Ramon Novoa <rnovoa@artica.es>
* pandora_agent_installer: Fixed some directories and permissions.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3037 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-20 11:37:29 +00:00
Ramon Novoa 5b49240177 2010-07-20 Ramon Novoa <rnovoa@artica.es>
* 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
2010-07-20 10:45:55 +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
Ramon Novoa 90b8eb58e5 2010-06-09 Ramon Novoa <rnovoa@artica.es>
* pandora_agent_installer, pandora_agent.spec: Copy the man pages.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2892 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-09 11:29:23 +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
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
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 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
slerena 0b8ccd8c7c 2010-04-29 Sancho Lerena <slerena@artica.es>
* 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
2010-04-30 12:14:46 +00:00
mdtrooper 5ce5a79d6c 2010-02-10 Miguel de Dios <miguel.dedios@artica.es>
* 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
2010-02-11 17:21:42 +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
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
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