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
Use the memory availability presence API in the status regression
pulse-triage[bot]0bb004d0e228
diff --git a/pkg/proxmox/guest_status_response_test.go b/pkg/proxmox/guest_status_response_test.goindex 77612431d3..e2fda19bee 100644--- a/pkg/proxmox/guest_status_response_test.go+++ b/pkg/proxmox/guest_status_response_test.go@@ -126,7 +126,7 @@ func TestGuestStatusAcceptedCompatibility(t *testing.T) {if err != nil {t.Fatal(err)}- if got.CPU != .25 || got.CPUs != 2 || got.Mem != 512 || got.MaxMem != 1024 || got.Balloon != 768 || got.BalloonMin != 256 || got.FreeMem != 128 || got.MemInfo == nil || !got.MemInfo.AvailabilityKnown || got.MemInfo.Available != 0 || got.BalloonInfo == nil || got.BalloonInfo.TotalMem != 1024 || got.Disk != 50 || got.MaxDisk != 100 || got.NetIn != 32 || got.Uptime != 12 || !got.Agent.IsEnabled() || got.Lock != "backup" {+ if got.CPU != .25 || got.CPUs != 2 || got.Mem != 512 || got.MaxMem != 1024 || got.Balloon != 768 || got.BalloonMin != 256 || got.FreeMem != 128 || got.MemInfo == nil || !got.MemInfo.HasAvailable() || got.MemInfo.Available != 0 || got.BalloonInfo == nil || got.BalloonInfo.TotalMem != 1024 || got.Disk != 50 || got.MaxDisk != 100 || got.NetIn != 32 || got.Uptime != 12 || !got.Agent.IsEnabled() || got.Lock != "backup" {t.Fatalf("QEMU fields changed: %+v", got)}if got.IOCounters != (IOCounterPresence{Explicit: true, DiskRead: true, NetworkIn: true}) {