munin: Minor update to munin-node.conf based on the example config

This commit is contained in:
Ossi Salmi 2014-11-19 00:20:48 +02:00
parent 9b45392d9f
commit e98f6f028c

View file

@ -21,7 +21,8 @@ group root
<% end -%> <% end -%>
# Regexps for files to ignore # Regexps for files to ignore
ignore_file ~$ ignore_file [\#~]$
ignore_file DEADJOE$
ignore_file \.bak$ ignore_file \.bak$
ignore_file %$ ignore_file %$
ignore_file \.dpkg-(tmp|new|old|dist)$ ignore_file \.dpkg-(tmp|new|old|dist)$
@ -34,9 +35,10 @@ ignore_file \.pod$
host_name <%= @homename %> host_name <%= @homename %>
# A list of addresses that are allowed to connect. This must be a # A list of addresses that are allowed to connect. This must be a
# regular expression, due to brain damage in Net::Server, which # regular expression, since Net::Server does not understand CIDR-style
# doesn't understand CIDR-style network notation. You may repeat # network notation unless the perl module Net::CIDR is installed. You
# the allow line as many times as you'd like # may repeat the allow line as many times as you'd like
<% @munin_allow.each do |allow| -%> <% @munin_allow.each do |allow| -%>
allow <%= "^%s$" % allow.gsub('.', '\.') %> allow <%= "^%s$" % allow.gsub('.', '\.') %>
<% end -%> <% end -%>