Install node-exporter on pi-hole
This commit is contained in:
parent
e4fba8208e
commit
f2f9e194c5
3 changed files with 4 additions and 0 deletions
|
@ -1 +1,2 @@
|
|||
ssh_extra_allowed_users: jake
|
||||
private_ip: "{{ ansible_default_ipv4.address }}"
|
||||
|
|
|
@ -139,3 +139,5 @@
|
|||
- hosts: tang
|
||||
roles:
|
||||
- pihole
|
||||
- role: prometheus.prometheus.node_exporter
|
||||
become: true
|
||||
|
|
|
@ -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_.+
|
||||
|
|
Loading…
Reference in a new issue