Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
fix: cache daemon ID at init to prevent Podman token binding conflicts
rcourtman9daf1d539888
diff --git a/internal/dockeragent/agent.go b/internal/dockeragent/agent.goindex cd0249bf77..64ae03ee7a 100644--- a/internal/dockeragent/agent.go+++ b/internal/dockeragent/agent.go@@ -87,6 +87,7 @@ type Agent struct {cfg Configdocker *client.ClientdaemonHost string+ daemonID string // Cached at init; Podman can return unstable IDs across callsruntime RuntimeKindruntimeVer stringagentVersion string@@ -238,6 +239,7 @@ func New(cfg Config) (*Agent, error) {cfg: cfg,docker: dockerClient,daemonHost: dockerClient.DaemonHost(),+ daemonID: info.ID, // Cache at init for stable agent IDruntime: runtimeKind,runtimeVer: info.ServerVersion,agentVersion: agentVersion,@@ -622,7 +624,10 @@ func (a *Agent) buildReport(ctx context.Context) (agentsdocker.Report, error) {agentID := a.cfg.AgentIDif agentID == "" {- agentID = info.ID+ // Use cached daemon ID from init rather than info.ID from current call.+ // Podman can return different/empty IDs across calls, causing token+ // binding conflicts on the server.+ agentID = a.daemonID}if agentID == "" {agentID = a.machineID