diff options
| author | Matthew Fennell <matthew@fennell.dev> | 2026-09-11 20:50:01 +0100 |
|---|---|---|
| committer | Matthew Fennell <matthew@fennell.dev> | 2026-09-11 20:50:01 +0100 |
| commit | 56d72f72db65d02ab2c731f8aa39c0bd5f1d0562 (patch) | |
| tree | be1729283c35eed9ba13b6f29266e32af8162c2b /munin-node/templates/munin-node.conf.j2 | |
| parent | e70966c0b66111dfecc697a3c8c3d0c1d91fc2a8 (diff) | |
Add is_controller configurationmain
This is needed for nodes which run on the same box that runs the collector.
Diffstat (limited to 'munin-node/templates/munin-node.conf.j2')
| -rw-r--r-- | munin-node/templates/munin-node.conf.j2 | 2 |
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 |
