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 installer adding invalid hostname entries to allowed_nodes
rcourtmanb90ee83ef318
diff --git a/scripts/install-sensor-proxy.sh b/scripts/install-sensor-proxy.shindex cee599da9e..7a28aaaa4a 100755--- a/scripts/install-sensor-proxy.sh+++ b/scripts/install-sensor-proxy.sh@@ -2076,9 +2076,6 @@ if command -v pvecm >/dev/null 2>&1; then# Extract node IPs from pvecm statusCLUSTER_NODES=$(pvecm status 2>/dev/null | awk '/0x[0-9a-f]+.*[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+/ {print $3}' || true)- # Extract node names from pvecm nodes (for allowlist)- CLUSTER_NODE_NAMES=$(pvecm nodes 2>/dev/null | awk 'NR>2 {print $3}' || true)-if [[ -n "$CLUSTER_NODES" ]]; thenprint_info "Discovered cluster nodes: $(echo $CLUSTER_NODES | tr '\n' ' ')"@@ -2166,14 +2163,11 @@ if command -v pvecm >/dev/null 2>&1; then# Add discovered cluster nodes to config file for allowlist validationprint_info "Updating proxy configuration with discovered cluster nodes..."- # Collect all nodes (IPs and hostnames) into array+ # Collect only IPs (hostnames are not used for SSH temperature collection)all_nodes=()for node_ip in $CLUSTER_NODES; doall_nodes+=("$node_ip")done- for node_name in $CLUSTER_NODE_NAMES; do- all_nodes+=("$node_name")- done# Use helper function to safely update allowed_nodes (prevents duplicates on re-run)update_allowed_nodes "Cluster nodes (auto-discovered during installation)" "${all_nodes[@]}"else