diff --git a/roles/prometheus/templates/prometheus.yml.j2 b/roles/prometheus/templates/prometheus.yml.j2 index ee9c9cb..74aa03f 100644 --- a/roles/prometheus/templates/prometheus.yml.j2 +++ b/roles/prometheus/templates/prometheus.yml.j2 @@ -60,6 +60,17 @@ scrape_configs: - target_label: __address__ replacement: nms.home.foo.sh:9116 + - job_name: unbound + scheme: https + tls_config: + ca_file: "{{ tls_certs }}/ca.crt" + key_file: "{{ tls_private }}/{{ inventory_hostname }}.key" + cert_file: "{{ tls_certs }}/{{ inventory_hostname }}.crt" + static_configs: + - targets: + - dna-gw01.home.foo.sh:9167 + - dna-gw02.home.foo.sh:9167 + - job_name: node scheme: https tls_config: