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: improve sensor proxy install script reliability
rcourtman5886b920bac9
diff --git a/internal/api/config_handlers.go b/internal/api/config_handlers.goindex 9131eb8f5b..a1ec8c06b7 100644--- a/internal/api/config_handlers.go+++ b/internal/api/config_handlers.go@@ -3732,10 +3732,6 @@ if [ "$PULSE_IS_CONTAINERIZED" = true ] && [ -n "$PULSE_CTID" ]; thenecho "$INSTALL_OUTPUT" | grep -E "✓|⚠️|ERROR" || truefi- if [ -n "$INSTALL_OUTPUT" ]; then- echo "$INSTALL_OUTPUT" | grep -E "✓|⚠️|ERROR" || true- fi-if [ $INSTALL_STATUS -eq 0 ]; then# Verify proxy healthPROXY_HEALTHY=falsediff --git a/scripts/install-sensor-proxy.sh b/scripts/install-sensor-proxy.shindex 8716d65919..ed8cb04de1 100755--- a/scripts/install-sensor-proxy.sh+++ b/scripts/install-sensor-proxy.sh@@ -351,9 +351,13 @@ if command -v pvecm >/dev/null 2>&1; thenprint_info "Authorizing proxy key on node $node_ip..."IS_LOCAL=false- if [[ " $LOCAL_IPS " == *" $node_ip "* ]]; then- IS_LOCAL=true- fi+ # Check if node_ip matches any of the local IPs (exact match with word boundaries)+ for local_ip in $LOCAL_IPS; do+ if [[ "$node_ip" == "$local_ip" ]]; then+ IS_LOCAL=true+ break+ fi+ doneif [[ " $LOCAL_HOSTNAMES " == *" $node_ip "* ]]; thenIS_LOCAL=truefi