From fc1cd37d341fe48d4c5f09a29242d43270d18c10 Mon Sep 17 00:00:00 2001 From: barrybingo Date: Fri, 19 Jan 2018 16:36:14 +0000 Subject: [PATCH] Reduce munin-node log level to warning --- setup/munin.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup/munin.sh b/setup/munin.sh index b1c5c8ba..c812dab2 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