X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=local%2Fcheck-mk-agent-configure;h=57d0d45fcc7a30b3c479dc468c275f51fd1c1f20;hb=f228751dce9fd401e93420b184e2146ed9858b36;hp=35b333f8809d9e9d6c552ad8f0d7ccad0bcb9301;hpb=67a701dc951bc3a175e3a12900457db5b03a07ce;p=lhc%2Fateliers.git diff --git a/local/check-mk-agent-configure b/local/check-mk-agent-configure index 35b333f..57d0d45 100755 --- a/local/check-mk-agent-configure +++ b/local/check-mk-agent-configure @@ -2,14 +2,14 @@ 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 @@ -17,4 +17,5 @@ sudo install -m 664 -o root -g root /dev/stdin /etc/xinetd.d/check_mk <<-EOF type = UNLISTED user = root wait = no + } EOF