pez-infra/ansible/roles/node_exporter/defaults/main.yml
Rasmus Wejlgaard a33ef8efb5 fix: remove custom node_exporter, standardise on package version
london-b had both a custom node_exporter.service and the
package-managed prometheus-node-exporter.service installed.
Both tried to bind port 9100, causing the package version to fail.

- Add cleanup tasks to remove custom /etc/systemd/system/node_exporter.service
  and /usr/local/bin/node_exporter if present
- Add node_exporter_extra_collectors variable for configurable collectors
- Configure london-b with systemd/processes/sysctl/ethtool/zfs collectors
  matching its previous custom setup

Resolves PESO-109
2026-04-03 00:48:28 +00:00

8 lines
330 B
YAML

---
# When true, bind node_exporter to the Tailscale IP (ansible_host) only.
# Use on public-facing hosts to avoid exposing metrics on 0.0.0.0.
node_exporter_bind_tailscale: false
# Extra collectors to enable beyond the defaults.
# Each entry is a collector name (e.g. "systemd", "processes").
node_exporter_extra_collectors: []