Fix duplicate alerts, telemetry UI state, and deploy_agent local URL

This commit is contained in:
2026-06-08 15:36:59 +05:30
parent 647c6ae7f0
commit 6e05180e7c
3 changed files with 42 additions and 39 deletions

View File

@@ -16,13 +16,13 @@ CLIENT_ID=""
# For Production deployment, use: "http://rmm-backend.seekright.com"
# For Local WSL testing on your laptop, use: "http://172.18.16.1:8000"
CENTRAL_URL="http://rmm-backend.seekright.com"
# Check if Client ID is set; if not, check command line arguments, otherwise default to hostname
if [ -z "$CLIENT_ID" ]; then
CLIENT_ID="${1:-$(hostname)}"
fi
CENTRAL_URL="${2:-http://rmm-backend.seekright.com}"
echo "🚀 Preparing SeekRight RMM Agent installation..."
echo "📍 Target Client ID: $CLIENT_ID"
echo "🌐 Central Server URL: $CENTRAL_URL"