Skip to content

Commit

Permalink
Add DMARC exporter to Prometheus scrape targets
Browse files Browse the repository at this point in the history
  • Loading branch information
jb3 committed Aug 31, 2024
1 parent 51805ff commit 3da8791
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ansible/host_vars/lovelace/prometheus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3da8791

Please sign in to comment.