Switch Prometheus/collectd to pull
Transitioning from push-based to pull-based monitoring with Prometheus/collectd. The *write_prometheus* plugin will be installed on all hosts, and Prometheus will be configured to scrape them directly.ntfy
parent
b78af05fd8
commit
881c8de625
|
@ -4,7 +4,7 @@
|
||||||
tags:
|
tags:
|
||||||
- collectd
|
- collectd
|
||||||
|
|
||||||
- hosts: prometheus
|
- hosts: collectd-prometheus
|
||||||
roles:
|
roles:
|
||||||
- role: collectd-prometheus
|
- role: collectd-prometheus
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
collectd_prometheus_allow_outside: true
|
|
@ -1,5 +0,0 @@
|
||||||
collectd_network_servers: []
|
|
||||||
collectd_network_listen:
|
|
||||||
- '::'
|
|
||||||
- ff18::efc0:4a42
|
|
||||||
collectd_prometheus_host: '::1'
|
|
|
@ -45,6 +45,3 @@ networkd_networks:
|
||||||
|
|
||||||
samba_interfaces:
|
samba_interfaces:
|
||||||
- enp5s0
|
- enp5s0
|
||||||
collectd_network_servers:
|
|
||||||
- host: ff18::efc0:4a42
|
|
||||||
interface: enp5s0
|
|
||||||
|
|
|
@ -10,6 +10,3 @@ dhcpcd_interfaces:
|
||||||
storage_iface: bond1
|
storage_iface: bond1
|
||||||
samba_interfaces:
|
samba_interfaces:
|
||||||
- enp5s0
|
- enp5s0
|
||||||
collectd_network_servers:
|
|
||||||
- host: ff18::efc0:4a42
|
|
||||||
interface: enp5s0
|
|
||||||
|
|
Loading…
Reference in New Issue