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:
Clément Désiles
2026-09-08 23:03:34 +02:00
parent c29042fe1d
commit 8756eb1183
28 changed files with 1546 additions and 12 deletions
+13
View File
@@ -17,6 +17,19 @@ Bans brute-force sources via UFW. Reads logs from the systemd journal (`backend
See [defaults/main.yml](defaults/main.yml).
## Prometheus exporter
Optionally exposes fail2ban metrics (`f2b_*`) for Prometheus via
[hectorjsmith/fail2ban-prometheus-exporter](https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter).
```yaml
fail2ban_exporter_enabled: true
```
Downloads the checksum-verified static binary to `/usr/local/bin` and runs it
as a hardened root systemd service (required to read the root-owned socket) on
`{{ fail2ban_exporter_listen_address }}` (default `127.0.0.1:9191`).
## Verify
```bash