Monitoring¶
Prometheus, Alertmanager, Grafana and prometheus-pve-exporter are the existing community-scripts LXCs on home-cluster; Ansible only manages their configuration.
| LXC | VMID | Node | IP | Role |
|---|---|---|---|---|
| prometheus | 124 | node05 | 10.0.3.236 | Prometheus 3.16 + blackbox_exporter :9115, adguard-exporter :9618, exportarr :9707+ |
| prometheus-alertmanager | 138 | node05 | 10.0.3.122 | Alertmanager |
| grafana | 118 | node05 | 10.0.3.116 | Grafana 13.3 |
| prometheus-pve-exporter | 140 | node05 | 10.0.3.61 | one module per Proxmox endpoint |
Scrape jobs¶
| Job | Source | Targets |
|---|---|---|
node |
node_exporter on every PVE node + running LXC | :9100 |
nvidia_gpu |
auto-installed when nvidia-smi works (ollama-nvidia-20gb) |
:9835 |
| AMD GPUs | rocm-smi textfile collector → amdgpu_* via node job (ollama-amd-64gb) |
|
| Ollama | textfile collector → ollama_* (loaded models, VRAM, version) |
|
chrony |
chrony_exporter on both chrony LXCs (GPS stratum 1) | :9123 |
pve_cluster / pve_node |
prometheus-pve-exporter, module=<endpoint> |
all nodes + guests |
probe_http / probe_tcp |
blackbox, direct to the guest | every app with a port |
probe_https_public |
blackbox through Traefik, checks TLS | every *.home.janwiebe.eu route |
app_metrics |
native /metrics (Grafana, Prometheus, Alertmanager, NetBox, Traefik …) |
catalog metrics: |
homeassistant |
/api/prometheus (needs vault_homeassistant_token) |
|
adguard |
adguard-exporter for both AdGuards | |
exportarr_* |
sonarr, radarr, prowlarr, bazarr (needs API keys in vault_arr_api_keys) |
Targets are file_sd files under /etc/prometheus/file_sd/ — regenerated every night, so a
new LXC is monitored the next morning without touching Prometheus.
Dashboards¶
Homelab / Homelab overview (from this repo) plus imported grafana.com dashboards in the
Community folder: Node Exporter Full (1860), Proxmox via Prometheus (10347), Blackbox (7587),
Alertmanager (9578), NVIDIA GPU (14574), Traefik (17346). Add more per app with
dashboards: [id] in the catalog.
Alerts¶
Rules live in roles/prometheus_server/files/rules/ — see Alerts runbook.
Receivers: Telegram and/or e-mail, configured from the vault; empty = disabled.