summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Haerry <haerry@puzzle.ch>2009-05-11 12:44:17 +0200
committerMarcel Haerry <haerry@puzzle.ch>2009-05-11 12:44:17 +0200
commit8442cf9262887764cfd8d66323d79953d3176cdc (patch)
treedaabb5f63d7cd3c1033a525ff700790aaa07dee4
parent1a65e541db574c549afccf44796be7489c37d22b (diff)
updated munin-node config to latest version
-rw-r--r--templates/munin-node.conf.default14
1 files changed, 11 insertions, 3 deletions
diff --git a/templates/munin-node.conf.default b/templates/munin-node.conf.default
index 5eed749..bebe038 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 root
setsid yes
@@ -22,6 +20,7 @@ ignore_file \.bak$
ignore_file %$
ignore_file \.dpkg-(tmp|new|old|dist)$
ignore_file \.rpm(save|new)$
+ignore_file \.pod$
# Set this if the client doesn't report the correct hostname when
# telnetting to localhost, port 4949
@@ -33,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 %>
+