Install node-exporter on pi-hole

This commit is contained in:
Jake Howard 2023-01-31 23:08:07 +00:00
parent e4fba8208e
commit f2f9e194c5
Signed by: jake
GPG key ID: 57AFB45680EDD477
3 changed files with 4 additions and 0 deletions

View file

@ -1 +1,2 @@
ssh_extra_allowed_users: jake
private_ip: "{{ ansible_default_ipv4.address }}"

View file

@ -139,3 +139,5 @@
- hosts: tang
roles:
- pihole
- role: prometheus.prometheus.node_exporter
become: true

View file

@ -130,6 +130,7 @@ scrape_configs:
static_configs:
- targets:
- "{{ pve_hosts.pve.ip }}:9100"
- pi.hole:9100
metric_relabel_configs:
- source_labels: [__name__]
regex: go_.+