From e98f6f028c550fe0782a3162f3777b69a1a8dd09 Mon Sep 17 00:00:00 2001 From: Ossi Salmi Date: Wed, 19 Nov 2014 00:20:48 +0200 Subject: [PATCH] munin: Minor update to munin-node.conf based on the example config --- munin/templates/munin-node.conf.erb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/munin/templates/munin-node.conf.erb b/munin/templates/munin-node.conf.erb index 4ad149f..e3a012b 100644 --- a/munin/templates/munin-node.conf.erb +++ b/munin/templates/munin-node.conf.erb @@ -21,7 +21,8 @@ group root <% end -%> # Regexps for files to ignore -ignore_file ~$ +ignore_file [\#~]$ +ignore_file DEADJOE$ ignore_file \.bak$ ignore_file %$ ignore_file \.dpkg-(tmp|new|old|dist)$ @@ -34,9 +35,10 @@ ignore_file \.pod$ host_name <%= @homename %> # A list of addresses that are allowed to connect. This must be a -# regular expression, due to brain damage in Net::Server, which -# doesn't understand CIDR-style network notation. You may repeat -# the allow line as many times as you'd like +# regular expression, since Net::Server does not understand CIDR-style +# network notation unless the perl module Net::CIDR is installed. You +# may repeat the allow line as many times as you'd like + <% @munin_allow.each do |allow| -%> allow <%= "^%s$" % allow.gsub('.', '\.') %> <% end -%>