#!/bin/sh -eu tool=$(readlink -e "${0%/*}/..") . "$tool"/local/lib.sh "$tool"/local/apt-get-install munin-common munin-node sudo install -m 664 -o root -g root /dev/stdin /etc/munin/munin-node.conf <<-EOF allow ^127\.0\.0\.1$ allow ^91\.216\.110\.21$ allow ^::1$ background 1 group root host * ignore_file %$ ignore_file DEADJOE$ ignore_file [\#~]$ ignore_file \.bak$ ignore_file \.dpkg-(tmp|new|old|dist)$ ignore_file \.pod$ ignore_file \.rpm(save|new)$ log_file /var/log/munin/munin-node.log log_level 4 pid_file /var/run/munin/munin-node.pid port 4949 setsid 1 user root EOF