Reduce munin-node log level to warning (#1330)

This commit is contained in:
barrybingo authored and Joshua Tauberer committed 2018-01-19 12:00:44 -05:00
1 parent b5c0736d27
commit a6a1cc7ae0
2 files changed
+9 -1

No files matched your search

+6
View File
@@ -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)
------------------------
+3 -1
View File
@@ -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