summaryrefslogtreecommitdiff
path: root/munin-node/templates/munin-node.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'munin-node/templates/munin-node.conf.j2')
-rw-r--r--munin-node/templates/munin-node.conf.j22
1 files changed, 2 insertions, 0 deletions
diff --git a/munin-node/templates/munin-node.conf.j2 b/munin-node/templates/munin-node.conf.j2
index 81400a9..faba6d4 100644
--- a/munin-node/templates/munin-node.conf.j2
+++ b/munin-node/templates/munin-node.conf.j2
@@ -48,7 +48,9 @@ host_name {{ hostname }}
allow ^127\.0\.0\.1$
allow ^::1$
+{% if not is_controller %}
allow ^{{ munin_host }}$
+{% endif %}
# If you have installed the Net::CIDR perl module, you can use one or more
# cidr_allow and cidr_deny address/mask patterns. A connecting client must