Reduce munin-node log level to warning (#1330)
This commit is contained in:
parent
b5c0736d27
commit
a6a1cc7ae0
2 changed files with 9 additions and 1 deletions
|
@ -1,6 +1,12 @@
|
||||||
CHANGELOG
|
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)
|
v0.26 (January 18, 2018)
|
||||||
------------------------
|
------------------------
|
||||||
|
|
||||||
|
|
|
@ -38,8 +38,10 @@ chown munin. /var/log/munin/munin-cgi-html.log
|
||||||
chown munin. /var/log/munin/munin-cgi-graph.log
|
chown munin. /var/log/munin/munin-cgi-graph.log
|
||||||
|
|
||||||
# ensure munin-node knows the name of this machine
|
# ensure munin-node knows the name of this machine
|
||||||
|
# and reduce logging level to warning
|
||||||
tools/editconf.py /etc/munin/munin-node.conf -s \
|
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.
|
# Update the activated plugins through munin's autoconfiguration.
|
||||||
munin-node-configure --shell --remove-also 2>/dev/null | sh
|
munin-node-configure --shell --remove-also 2>/dev/null | sh
|
||||||
|
|
Loading…
Reference in a new issue