tool=$(readlink -e "${0%/*}/..")
. "$tool"/local/lib.sh
-"$tool"/local/apt-get-install check-mk-agent
+"$tool"/local/apt-get-install check-mk-agent xinetd
sudo install -m 664 -o root -g root /dev/stdin /etc/xinetd.d/check_mk <<-EOF
service check_mk
{
#disable = yes
#server = /usr/bin/check_mk_caching_agent
log_on_success =
- only_from = 127.0.0.1 91.216.110.7
+ only_from = 127.0.0.1 91.216.110.7 91.224.149.11
port = 6556
protocol = tcp
server = /usr/bin/check_mk_agent
type = UNLISTED
user = root
wait = no
+ }
EOF