diff options
Diffstat (limited to 'inventory/host_vars')
-rw-r--r-- | inventory/host_vars/ch-mimas.yml | 9 | ||||
-rw-r--r-- | inventory/host_vars/ch-mon.yml | 2 | ||||
-rw-r--r-- | inventory/host_vars/ch-pan.yml | 11 |
3 files changed, 21 insertions, 1 deletions
diff --git a/inventory/host_vars/ch-mimas.yml b/inventory/host_vars/ch-mimas.yml index 7994ed2d..b5de8e27 100644 --- a/inventory/host_vars/ch-mimas.yml +++ b/inventory/host_vars/ch-mimas.yml @@ -21,6 +21,12 @@ bind_option_allow_recursion: - localhost bind_option_notify: 'no' +bind_stats_channels: + - addr: 127.0.0.1 + port: 8053 + allow: + - 127.0.0.1 + bind_empty_onion_zone: yes bind_slave_zones: pan: @@ -72,6 +78,9 @@ bind_slave_zones: prometheus_scrape_endpoint: "116.203.212.131:9999" +prometheus_exporters_extra: + - bind + prometheus_job_multitarget_blackbox__probe: ch-mon: - instance: "ssh-{{ inventory_hostname }}" diff --git a/inventory/host_vars/ch-mon.yml b/inventory/host_vars/ch-mon.yml index 4e324830..17fc2024 100644 --- a/inventory/host_vars/ch-mon.yml +++ b/inventory/host_vars/ch-mon.yml @@ -194,3 +194,5 @@ grafana_dashboards: datasource: "Prometheus" - file: smokeping datasource: "Prometheus" + - file: bind + datasource: "Prometheus" diff --git a/inventory/host_vars/ch-pan.yml b/inventory/host_vars/ch-pan.yml index 4198d252..0f370fb9 100644 --- a/inventory/host_vars/ch-pan.yml +++ b/inventory/host_vars/ch-pan.yml @@ -50,6 +50,12 @@ bind_option_allow_update: bind_option_allow_recursion: - localhost +bind_stats_channels: + - addr: 127.0.0.1 + port: 8053 + allow: + - 127.0.0.1 + bind_empty_onion_zone: yes bind_master_zones: @@ -99,10 +105,13 @@ bind_slave_zones: - 151.33.193.in-addr.arpa +prometheus_exporters_extra: + - bind + prometheus_job_multitarget_blackbox__probe: ch-mon: - instance: "ssh-{{ inventory_hostname }}" - target: "{{ network.primary.address | ipaddr('address') }}:{{ ansible_port | default(22) }}" + target: "{{ network.primary.address | ansible.utils.ipaddr('address') }}:{{ ansible_port | default(22) }}" module: ssh_banner - instance: "https-pan.chaos-at-home.org" target: "https://pan.chaos-at-home.org" |