munin: Minor update to munin-node.conf based on the example config
This commit is contained in:
parent
9b45392d9f
commit
e98f6f028c
1 changed files with 6 additions and 4 deletions
|
@ -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 -%>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue