diff --git a/CHANGELOG.md b/CHANGELOG.md index 87498c9..6df79d4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ CHANGELOG ========= +In Development +-------------- + +* Reduce munin-node.conf log_level to warning(1) as default ubuntu package uses log_level debug(4) which over time creates big log files. + + v0.26 (January 18, 2018) ------------------------ diff --git a/setup/munin.sh b/setup/munin.sh index b1c5c8b..c812dab 100755 --- a/setup/munin.sh +++ b/setup/munin.sh @@ -38,8 +38,10 @@ chown munin. /var/log/munin/munin-cgi-html.log chown munin. /var/log/munin/munin-cgi-graph.log # ensure munin-node knows the name of this machine +# and reduce logging level to warning tools/editconf.py /etc/munin/munin-node.conf -s \ - host_name=$PRIMARY_HOSTNAME + host_name=$PRIMARY_HOSTNAME \ + log_level=1 # Update the activated plugins through munin's autoconfiguration. munin-node-configure --shell --remove-also 2>/dev/null | sh