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
test(agent): keep QNAP watchdog proof cross-platform (#1617)
[email protected]c3c6b96cbd20
diff --git a/scripts/installtests/install_sh_test.go b/scripts/installtests/install_sh_test.goindex a8abfdfce7..e655fc5eda 100644--- a/scripts/installtests/install_sh_test.go+++ b/scripts/installtests/install_sh_test.go@@ -1816,8 +1816,8 @@ write_qnap_wrapper_script "$1" "$2" "$3" "$4" "$5"}first.Process = nil- if err := syscall.Kill(agentPID, 0); !errors.Is(err, syscall.ESRCH) {- t.Fatalf("watchdog shutdown left agent pid %d alive (kill check: %v)", agentPID, err)+ if err := exec.Command("kill", "-0", strconv.Itoa(agentPID)).Run(); err == nil {+ t.Fatalf("watchdog shutdown left agent pid %d alive", agentPID)}for _, path := range []string{watchdogPIDFile, agentPIDFile, filepath.Join(stateDir, "pulse-agent.watchdog.lock")} {if _, err := os.Stat(path); !errors.Is(err, os.ErrNotExist) {