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(agent): use specific distro name instead of family for osName
rcourtman81718fcdaa4c
diff --git a/internal/hostagent/agent.go b/internal/hostagent/agent.goindex aec4ee0dc0..bd99ed4dc8 100644--- a/internal/hostagent/agent.go+++ b/internal/hostagent/agent.go@@ -156,9 +156,11 @@ func New(cfg Config) (*Agent, error) {}platform := normalisePlatform(info.Platform)- osName := strings.TrimSpace(info.PlatformFamily)+ // Use Platform (specific distro like "ubuntu") over PlatformFamily (distro family like "debian")+ // This ensures Ubuntu shows as "ubuntu 24.04" not "debian 24.04" (refs #927)+ osName := strings.TrimSpace(info.Platform)if osName == "" {- osName = strings.TrimSpace(info.Platform)+ osName = strings.TrimSpace(info.PlatformFamily)}osVersion := strings.TrimSpace(info.PlatformVersion)kernelVersion := strings.TrimSpace(info.KernelVersion)