feat(monitoring): add smartctl, fail2ban, wireguard exporters and dashboards
- smartctl_exporter (disks), fail2ban exporter, wireguard exporter - grafana dashboards for each exporter - prometheus: firewall source rules, honor_labels/params scrape config - node_exporter: zfs collector - wireguard: nftables dep, resolvconf wrapper, reload fix - remove superseded monitoring role
This commit is contained in:
@@ -19,3 +19,12 @@ wireguard_tunnels: []
|
||||
# OS-dependent package name
|
||||
wireguard_package_name: >-
|
||||
{{ (ansible_facts['os_family'] == 'Archlinux') | ternary('wireguard-tools', 'wireguard') }}
|
||||
|
||||
# Prometheus exporter (optional, gated by wireguard_exporter_enabled).
|
||||
# Exposes `wg show all dump` as Prometheus metrics (bytes per peer, last
|
||||
# handshake). Arch Linux only: prometheus-wireguard-exporter is packaged in
|
||||
# [extra]; no Debian/Ubuntu equivalent exists. Bind stays loopback-only:
|
||||
# the host's local Prometheus scrapes it and is federated by the central one.
|
||||
wireguard_exporter_enabled: false
|
||||
wireguard_exporter_listen_address: "127.0.0.1"
|
||||
wireguard_exporter_port: 9586
|
||||
|
||||
Reference in New Issue
Block a user