Files
Dash/infra/monitoring/pve.yml.example
T
Tomas DvorakandDevin f2aa9ceba8 feat(infra): external monitoring stack (Beszel + Prometheus/Grafana)
Homelab monitoring design (docs/specs/2026-10-03-external-monitoring.md):
Beszel agents own the two physical hosts, prometheus-pve-exporter covers
every LXC/VM via the PVE API with no guest agents, and Grafana supplies
graphs. Dash needs zero code changes — JSON-path widgets already carry an
Authorization header and can walk Prometheus/Beszel JSON, embed widgets
iframe Grafana panels, and monitors + notification transports provide
the alerting layer for unmanaged hardware like the CM834 switch.

infra/monitoring/ ships compose.yaml, prometheus.yml, pve.yml.example
(gitignored real file), and Grafana datasource provisioning.
docs/monitoring.md documents deployment and widget recipes.

Authored By: TDvorak <[email protected]>

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-03 10:36:27 +02:00

14 lines
610 B
Plaintext

# prometheus-pve-exporter config — copy to pve.yml and fill in.
# pve.yml contains a credential: keep it out of git.
#
# Recommended setup on the Proxmox host:
# pveum user add dashmon@pve --comment "read-only monitoring"
# pveum aclmod / -user dashmon@pve -role PVEAuditor
# Datacenter -> Permissions -> API Tokens -> add token "dash" for dashmon@pve,
# uncheck "Privilege Separation" (the token inherits the user's PVEAuditor role)
default:
user: dashmon@pve
token_name: dash
token_value: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
verify_ssl: false # PVE ships self-signed certs on LAN