aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ansible/host_vars/lovelace/prometheus.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/ansible/host_vars/lovelace/prometheus.yml b/ansible/host_vars/lovelace/prometheus.yml
index 6e7cb25..674a127 100644
--- a/ansible/host_vars/lovelace/prometheus.yml
+++ b/ansible/host_vars/lovelace/prometheus.yml
@@ -62,6 +62,13 @@ prometheus_configuration: |
- {{ hostvars[host]['ansible_wg0']['ipv4']['address'] }}:9154
{%- endfor %}
+ - job_name: dmarc
+ static_configs:
+ - targets:
+ {%- for host in groups['mail'] %}
+ - {{ hostvars[host]['ansible_wg0']['ipv4']['address'] }}:9797
+ {%- endfor %}
+
- job_name: blackbox-ssh
metrics_path: /probe
params: