* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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