X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=local%2Fcheck-mk-agent-configure;fp=local%2Fcheck-mk-agent-configure;h=f7638b38a7bc3e07c66ec7d66870a22cef9fa6af;hp=a92a2bf5f24b4bf95b14189fdc6617628a688b4c;hb=1b624716192fd9c1865c362bb49f495c182a510d;hpb=1449de4424baa65f0450420e36d5fc1e3397b326 diff --git a/local/check-mk-agent-configure b/local/check-mk-agent-configure index a92a2bf..f7638b3 100755 --- a/local/check-mk-agent-configure +++ b/local/check-mk-agent-configure @@ -6,17 +6,16 @@ tool=$(readlink -e "${0%/*}/..") 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_agent - log_on_success = - only_from = 127.0.0.1 91.216.110.7 91.224.149.11 + type = UNLISTED port = 6556 - protocol = tcp - server = /usr/bin/check_mk_agent socket_type = stream - type = UNLISTED - user = root + protocol = tcp wait = no + user = root + server = /usr/bin/check_mk_agent + only_from = 127.0.0.1 91.216.110.7 91.224.149.11 + #log_on_success = + disable = yes } EOF