From: Ludovic CHEVALIER Date: Mon, 17 Feb 2014 13:52:39 +0000 (+0100) Subject: Modifications : local/check-mk-agent-configure X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=commitdiff_plain;h=e59523ab35d1930e6593349d71f751d2d065a531;hp=f20eac77687a8cb82a28c35ac8cfdd57bb9b972e Modifications : local/check-mk-agent-configure --- diff --git a/etc/shorewall/rules b/etc/shorewall/rules index 487e577..adcc174 100644 --- a/etc/shorewall/rules +++ b/etc/shorewall/rules @@ -42,3 +42,4 @@ Limit(SSH,10,60):info net $FW tcp ssh SSH(ACCEPT) net $FW Limit(Submission,10,60):info net $FW tcp submission Submission(ACCEPT) net $FW +ACCEPT net $FW tcp 6556 diff --git a/local/check-mk-agent-configure b/local/check-mk-agent-configure index 35b333f..9d5b4ac 100755 --- a/local/check-mk-agent-configure +++ b/local/check-mk-agent-configure @@ -2,7 +2,7 @@ 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 { @@ -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