diff options
author | Christian Pointner <equinox@spreadspace.org> | 2022-11-10 19:31:09 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2022-11-10 19:31:09 +0100 |
commit | b5406d18de64f273cbebb3875a84bc31074f0f00 (patch) | |
tree | e8774b1cb9b6124d14f5ec76ca103a7427de2b52 /roles/network/bind/templates/stats.j2 | |
parent | add ch-pan and ch-mimas to prometheus monitoring (diff) |
prometheus: add exporter for bind
Diffstat (limited to 'roles/network/bind/templates/stats.j2')
-rw-r--r-- | roles/network/bind/templates/stats.j2 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/network/bind/templates/stats.j2 b/roles/network/bind/templates/stats.j2 new file mode 100644 index 00000000..06a1f514 --- /dev/null +++ b/roles/network/bind/templates/stats.j2 @@ -0,0 +1,7 @@ +// Stats + +statistics-channels { +{% for channel in bind_stats_channels %} + inet {{ channel.addr | default('*') }}{% if 'port' in channel %} port {{ channel.port }}{% endif %}{% if 'allow' in channel %} allow { {{ channel.allow | join('; ') }}; }{% endif %}; +{% endfor %} +}; |