Commit Graph

40 Commits

Author SHA1 Message Date
Ramon Novoa 83a669b1bc Update copies of the Tentacle Server. Small fixes. 2022-10-11 11:48:02 +02:00
fermin831 b6bc835e41 Tentacle config file is readable to all users in all packages 2018-04-30 16:22:52 +02:00
fermin831 4bc10e503b Modified launch daemon Tentacle script to use configuration file 2018-04-30 15:53:09 +02:00
Arturo Gonzalez 55795a7bdb Fixed default path to tentacle log file. Ticket #4245 2016-11-25 10:32:05 +01:00
Ramón Novoa 89230e5332 Merge pull request #49 from cosmedd/native-support-for-systemd
Native systemd support
2016-10-31 16:31:59 +01:00
fermin831 1cfe7d9578 Added log to file on tentacle Server 2016-09-05 12:20:13 +02:00
fbsanchez 5b7559d0ec Minor fix in tentacle_serverd
filter for lock files
2016-06-24 16:35:30 +02:00
fbsanchez 26b994767d tentacle modifications for Transactional Server 2016-06-13 14:34:30 +02:00
Cosme Domínguez Díaz e508261d8d Native systemd support for pandora agent, pandora server
and tentacle server.
2016-04-24 00:37:24 +02:00
m-lopez-f e376341e16 Re-Fixed warning at tentacle_serverd script 2016-04-07 11:34:24 +02:00
fbsanchez fc72052b86 Fixed warning at tentacle_serverd script 2016-04-07 11:28:31 +02:00
m-lopez-f d9600bb10e Fixed problems with kill procesess with tentacle. Tiquet: #3487 2016-04-01 09:59:06 +02:00
m-lopez-f 8dbca91c6d Fixed problems with stop tentacle server, doen't stop all procesess. Tiquet: #3488
(cherry picked from commit 0210afa536)
2016-03-30 09:22:36 +02:00
Akihiro Uchida 03e40817b0 Keep Linux Standard Base compatibility on non-SuSE platform 2015-03-05 11:43:31 +09:00
Akihiro Uchida 84485d8f85 Keep Linux Standard Base Compatibility on SuSE Linux 2015-03-05 11:43:21 +09:00
hkosaka d4f1c91483 2013-04-08 Hirofumi Kosaka <kosaka@rworks.jp>
* util/tentacle_serverd: Tiny improvement. Changed to use
	target process id to check if the process has been stopped.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7942 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-08 08:43:44 +00:00
darode 73a4684d7d 2011-04-14 Dario Rodriguez <dario.rodriguez@artica.es>
* util/tentacle_serverd: Changed get_pid function now also checks
	tentacle_port when searchs for running tentacle server. This feature	
	allow you to run 2 tentacle server in different ports 1 for Pandora and
	1 for Babel.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4225 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-14 16:34:03 +00:00
jsatoh b23a74cd33 2010-10-20 Junichi Satoh <junichi@rworks.jp>
* util/pandora_server: Added support for chkconfig.

	* util/tentacle_serverd: Divided comments into chkconfig and LSB init.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3428 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-20 06:52:07 +00:00
jsatoh 6ada0cdafd 2010-10-20 Junichi Satoh <junichi@rworks.jp>
* util/tentacle_serverd: Added support for chkconfig.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3427 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-20 05:52:53 +00:00
raulmateos 5a21d5b2e3 2010-08-29 Raul Mateos <raulofpandora@gmail.com>
* util/tentacle_serverd: Use same message texts format as Pandora Server.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3187 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-29 21:41:22 +00:00
darode 81242a1b9a 2010-07-19 Dario Rodriguez <dario.rodriguez@artica.es>
* util/tentacle_serverd: Fixed error in filter pattern, changed pattern
	.*\zip to .*\.zip


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3024 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-19 09:49:00 +00:00
raulmateos 7c5f8f5336 2010-03-02 Raul Mateos <raulofpandora@gmail.com>
* util/tentacle_serverd, util/pandora_server: Updated year. Changed
	spaces to tabs.

	* bin/tentacle_server: Updated year. Updated URL for documentation.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2447 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-02 15:33:43 +00:00
slerena 2bb079857f 2010-02-27 Sancho Lerena <slerena@artica.es>
* util/tentacle_serverd,
        util/pandora_server: Fixed "stop" problem in debian/ubuntu, which was
        due a problem in redefinition of several LSB functions, stop function
        was not working fine and exit condition was ignored.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2432 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-26 23:01:18 +00:00
slerena 400db17068 2009-12-21 Sancho Lerena <slerena@artica.es>
* util/tentacle_served: Fixed call to get_pid, using a width of
        * 300 cols.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2225 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-21 12:03:36 +00:00
slerena 72653518fc 2009-12-18 Sancho Lerena <slerena@artica.es>
* pandora_server.spec: Added xprobe2 dep (we made the xprobe2 rpm package
	so now it's possible to satisfy dependency). Alter all paths to binary from
	/usr/local/bin to /usr/bin. Other minor issues in RPM fixed.

	* pandora_server_installer: Added description to get deps from zypper and yum.
	Installing services in debian/ubunty systems with update-rc.d. 
	Make check to link from /usr/local/bin to /usr/bin if install
	deploy binary at /usr/local. /usr/bin is the new default.

	* pandora_server_upgrade: /usr/bin as new default. Link issue fixed.

	* DEBIAN/make_deb_package.sh: Fixed Makefile replace regexp to replace all 
	target binary to put then in the jail under /usr/bin path.

	* DEBIAN/postinst: Fixed path for tentacle_server at /usr/bin

	* DEBIAN/prerm: Using native debian commands to remove services.

	* Tools.pm: If there is a problem loading something in the enterprise, show it
	to log.

	* util/pandora_server,
	util/tentacle_serverd: new path to /usr/bin/
	
	* pandora_server.conf: new path for pandora_exec to /usr/bin/

	* util/plugin/udp_nmap_plugin.sh: Check parameters before calling to namp.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2220 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-18 18:22:33 +00:00
slerena 8e5fd3281a 2009-09-25 Sancho Lerena <slerena@artica.es>
* pandora_server.spec: Some fixes to SUSE RPM.

        * conf/pandora_server.conf: Added some missing default values

        * lib/PandoraFMS/Config.pm: Added some missing default values.

        * util/tentacle_serverd, util/pandora_server: SUSE rc.status 
        addon. Need working, SUSE continues giving erratic problems inn
        startup :(




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1972 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-25 00:09:15 +00:00
slerena d9dfbd1a29 2009-09-22 Sancho Lerena <slerena@artica.es>
* pandora_server_installer: Fixes some problems detecting Linux
        (was skipping tentacle installation).

        * util/tentacle_serverd: Fixed some problems starting tentacle
        because short timeout after starting and because the unquoted grep.

        * util/pandora_server: Incresed sleep time on start.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1965 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-22 10:38:53 +00:00
guruevi 5ccd4995de 2009-09-21 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandora_server_installer: Fixed a few bugs on non-Linux platforms
	
	* util/pandora_server, util/tentacle_serverd: Didn't work on Linux 
	(Ubuntu). Fixed she-bang.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1964 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-21 20:26:23 +00:00
slerena bb27a3eece 2009-09-21 Sancho Lerena <slerena@artica.es>
* pandora_server.spec: Fixed a few details.  

        * bin/pandora_server: Error handler needs to be reviewed, Enterprise 
        errors are too nasty :(

        * util/tentacle_serverd: Fixed LSB tags problems for RPM install

        * util/pandora_server: Fixed LSB tags problems and fix a bug who make
        script inusable :(




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1960 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-21 00:34:14 +00:00
slerena 80a98e22e6 2009-09-04 Sancho Lerena zslerena@artica.es>
* pandora_server.spec: Updated dependency for sudo.

        * util/tentacle_serverd: su cannot work as expected in SLES11, so
        we fallback to sudo again.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1916 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-04 12:18:42 +00:00
Ramon Novoa 8aa96f1874 2009-08-27 Ramon Novoa <rnovoa@artica.es>
* util/tentacle_serverd: Remote config .conf and
          .md5 files are now stored in different subdirectories.

        * bin/tentacle_server: Updated to latest version.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1887 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-08-27 17:47:50 +00:00
slerena 4656b5e8b7 2009-08-23 Sancho Lerena <slerena@artica.es>
* util/tentacle_serverd: Using SU instead SUDO, idea from
        "paco", from our forums. This makes this script much more
        compatible with other systems, because sudo is not so common.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1876 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-08-24 16:16:07 +00:00
slerena 13ec6ed442 2009-08-19 Sancho lerena <slerena@artica.es>
* pandora_server.spec: Updated some dependencies. Also included the 
	install of pandora_db maintance script in cron.daily.
	
	* pandora_server, tentacle_serverd: Added short description to able
	yast visualizate correctly the description in software selection screen.
	
	* lib/PandoraFMS/Core.pm: Fixed problem with OS Detection at creation. Added
	support for AUTOTIME (time of data is given by the server instead by data
	coming from the agent) and autoimport of agent description. 

	* util/tentacle_serverd: Call to umask to let tentacle_server create
	files with mask 0007, because Enterprise version need to write files
	fetched with tentacle.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1861 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-08-19 01:41:25 +00:00
slerena 4ea27cae57 2009-08-15 Sancho lerena <slerena@artica.es>
* util/tentacle_serverd: Call to umask to let tentacle_server create
        files with mask 0007, because Enterprise version need to write files
        fetched with tentacle.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1852 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-08-15 03:00:21 +00:00
slerena 332cf086b8 2009-08-12 sancho Lerena <slerena@artica.es>
* tentacle_serverd, 
        pandora_server: Added LSB tags to startup daemon for SUSE



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1845 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-08-12 15:01:55 +00:00
slerena c1ca842e3e 2009-08-11 Sancho Lerena <slerena@artica.es>
* pandora_server: Using new method to get PID of process, compatible with
	any distro (SUSE problems reported). Removed old stuff and updated headers.
	
	* pandora_server_installer: A lot of improvementes and added separated code
	for Ubuntu/Debian and SUSE targets. Fixed some minor bugs reported.
	
	* bin/pandora_server: Added a new die handled for manage crashes and report
	more information into logs and console on startup. This helps to determine
	some common problems.
	
	* Config.pm: Updated version number.
	
	* util/tentacle_serverd: Fixed startup script to work also in SUSE. New
	code for getpid compatible with all distros.

	* Makefile.PL,  NetworkServer.pm: Removed Net::Ping dependency, 
	not used anymore. Pending to remove Date::Manip from pandora_db script.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1840 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-08-11 16:26:09 +00:00
slerena e75d58adec 2009-06-08 Sancho Leren <slerena@artica.es>
* Header updates.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1732 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-08 15:12:32 +00:00
Ramon Novoa 338b89a59f 2008-05-21 Ramon Novoa <rnovoa@artica.es>
* util/tentacle_serverd: Removed unused code.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@837 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-05-21 08:27:02 +00:00
Ramon Novoa eecdd67e4d 2008-04-01 Ramon Novoa <rnovoa@artica.es>
* util/tentacle_serverd: Changed default port and address (now
          listens on all local interfaces by default).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@781 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-01 10:01:29 +00:00
Ramon Novoa 29f072662b 2008-03-25 Ramon Novoa <rnovoa@artica.es>
*  util/tentacle_serverd: Added to repository. Tentacle server
           simple startup script.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@762 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-03-25 16:39:21 +00:00