Hi Dirk,
yes I have. here is my folder:
:/etc/xinetd.d$ ls -la
total 72
drwxr-xr-x 2 root root 4096 Jul 29 21:32 .
drwxr-xr-x 96 root root 4096 Jul 29 21:36 …
-rw-r–r-- 1 root root 640 Feb 5 2018 chargen
-rw-r–r-- 1 root root 313 Feb 5 2018 chargen-udp
-rw-r–r-- 1 root root 2237 Jul 28 19:39 check_mk
-rw-r–r-- 1 root root 322 Jul 29 21:29 check_mk_agent
-rw-r–r-- 1 root root 2256 Jun 10 08:58 check_mk.dpkg-dist
-rw-r–r-- 1 root root 502 Feb 5 2018 daytime
-rw-r–r-- 1 root root 313 Feb 5 2018 daytime-udp
-rw-r–r-- 1 root root 391 Feb 5 2018 discard
-rw-r–r-- 1 root root 312 Feb 5 2018 discard-udp
-rw-r–r-- 1 root root 422 Feb 5 2018 echo
-rw-r–r-- 1 root root 304 Feb 5 2018 echo-udp
-rw-r–r-- 1 root root 312 Feb 5 2018 servers
-rw-r–r-- 1 root root 314 Feb 5 2018 services
-rw-r–r-- 1 root root 281 Jul 28 20:58 telnet
-rw-r–r-- 1 root root 569 Feb 5 2018 time
-rw-r–r-- 1 root root 313 Feb 5 2018 time-udp
and here is the content for check_mk_agent
$ more check_mk_agent
service check_mk
{
type = UNLISTED
port = 6556
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/local/bin/check_mk_agent
only_from = 127.0.0.1
disable = no
}
and the content for check_mk
/etc/xinetd.d$ more check_mk
±-----------------------------------------------------------------+
| ____ _ _ __ __ _ __ |
| / _| | ___ ___| | __ | / | |/ / |
| | | | '_ \ / _ / __| |/ / | |/| | ’ / |
| | |___| | | | / (| < | | | | . \ |
| _|| ||_|_||___|| |||_\ |
| |
| Copyright Mathias Kettner 2014 mk@mathias-kettner.de |
±-----------------------------------------------------------------+
This file is part of Check_MK.
The official homepage is at http://mathias-kettner.de/check_mk.
check_mk is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation in version 2. check_mk is distributed
in the hope that it will be useful, but WITHOUT ANY WARRANTY; with-
out even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more de-
tails. You should have received a copy of the GNU General Public
License along with GNU Make; see the file COPYING. If not, write
to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
Boston, MA 02110-1301 USA.
service check_mk
{
type = UNLISTED
port = 6556
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/bin/check_mk_agent
# listen on IPv4 AND IPv6 when available on this host
#flags = IPv6
# If you use fully redundant monitoring and poll the client
# from more then one monitoring servers in parallel you might
# want to use the agent cache wrapper:
#server = /usr/bin/check_mk_caching_agent
# configure the IP address(es) of your Nagios server here:
only_from = 127.0.0.1
# Don't be too verbose. Don't log every check. This might be
# commented out for debugging. If this option is commented out
# the default options will be used for this service.
log_on_success =
disable = yes
}
thank you.