2 ## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
3 ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
7 # Example config-file for munin-node
11 log_file /var/log/munin/munin-node.log
13 pid_file /var/run/munin/munin-node.pid
17 # Which port to bind to;
23 # Regexps for files to ignore
28 ignore_file \.dpkg-(tmp|new|old|dist)$
29 ignore_file \.rpm(save|new)$
31 # Set this if the client doesn't report the correct hostname when
32 # telnetting to localhost, port 4949
34 #host_name localhost.localdomain
36 # A list of addresses that are allowed to connect. This must be a
37 # regular expression, due to brain damage in Net::Server, which
38 # doesn't understand CIDR-style network notation. You may repeat
39 # the allow line as many times as you'd like
43 localinfo.keys.sort.each do |node|
44 if localinfo[node]['muninmaster']
45 allnodeinfo[node]['ipHostNumber'].each do |ip|
46 str += "allow ^" + ip.split('.').join('\.') + "$\n"