From 1b624716192fd9c1865c362bb49f495c182a510d Mon Sep 17 00:00:00 2001 From: Ludovic CHEVALIER Date: Thu, 20 Oct 2016 10:50:50 +0200 Subject: [PATCH] =?utf8?q?Modifications=C2=A0:=20=20=20=20=20=20=20=20=20l?= =?utf8?q?ocal/check-mk-agent-configure?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- TODO | 2 +- local/check-mk-agent-configure | 15 +++++++-------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/TODO b/TODO index a2307b8..aa6b322 100644 --- a/TODO +++ b/TODO @@ -7,7 +7,7 @@ - gitolite : rationalisation des adresses de notification dans hooks.mailinglist - ansible ? - varnish ? -- munin, monit, check_mk +- munin, monit - duplicity/backupninja ? - mediawiki - etherpad 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 -- 2.20.1