summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMarcel Haerry <haerry@puzzle.ch>2009-05-11 12:44:17 +0200
committermh <mh@immerda.ch>2009-06-02 11:49:37 +0200
commit3b784f08508a2fdfa6fbb988c5cb4891bff5df10 (patch)
tree6e27bf4a2ac2347dc1b6547b927cf778b2ee16d0 /templates
parente90b0da899492b8f7c1d60c568cecc3dbdb88cf6 (diff)
updated munin-node config to latest version
Diffstat (limited to 'templates')
-rw-r--r--templates/munin-node.conf.default13
1 files changed, 10 insertions, 3 deletions
diff --git a/templates/munin-node.conf.default b/templates/munin-node.conf.default
index c848f3d..befcae4 100644
--- a/templates/munin-node.conf.default
+++ b/templates/munin-node.conf.default
@@ -5,12 +5,10 @@
log_level 4
log_file /var/log/munin/munin-node.log
pid_file /var/run/munin/munin-node.pid
+
background 1
setseid 1
-# Which host/port to bind to;
-host <%= munin_host_real %>
-port <%= munin_port_real %>
user root
group 0
setsid yes
@@ -34,6 +32,15 @@ host_name <%= fqdn %>
# 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
+
<% real_munin_allow.split(':').each do |val| -%>
allow <%= '^'+val.gsub(/\./, '\.')+'$' %>
<% end -%>
+
+# Which address to bind to;
+host <%= munin_host_real %>
+# host 127.0.0.1
+
+# And which port
+port <%= munin_port_real %>
+