unbound_exporter: Only listen to primary interface
This commit is contained in:
parent
d5d6176b13
commit
f64c9cac17
1 changed files with 1 additions and 3 deletions
|
@ -14,9 +14,7 @@ CAfile = {{ tls_certs }}/ca.crt
|
|||
syslog = yes
|
||||
|
||||
[unbound_exporter]
|
||||
{% for ip in ansible_all_ipv4_addresses %}
|
||||
accept = {{ ip }}:9167
|
||||
{% endfor %}
|
||||
accept = {{ network_interfaces[0].ipaddr }}:9167
|
||||
connect = 127.0.0.1:9167
|
||||
{% for host in groups['prometheus'] %}
|
||||
checkHost = {{ host }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue