Files
sysmon/run.sh
kamaji fb79f81527 Add dashboard summary view, server detail routing, and VM listing
Rearchitect to pure aggregator dashboard (no /proc) with bare agents
on each host. Agents report VM data via sudo virsh (cached 10s).
UI rewritten with hash-based routing: summary card grid and per-server
detail view with CPU grid, memory, load, uptime, and VM table.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 19:28:07 -06:00

24 lines
597 B
Bash
Executable File

#!/bin/bash
set -e
cd ~/sysmon
echo "Building sysmon container..."
podman build -t sysmon .
echo "Stopping existing container (if any)..."
podman stop sysmon 2>/dev/null || true
podman rm sysmon 2>/dev/null || true
echo "Starting sysmon dashboard on port 8083..."
podman run -d \
--name sysmon \
-p 8083:8083 \
--security-opt label=disable \
--add-host=host.containers.internal:host-gateway \
-e SYSMON_SERVERS="compute1:http://host.containers.internal:8084,console:http://192.168.88.5:8083" \
--restart unless-stopped \
sysmon
echo "Done. Dashboard at http://$(hostname):8083"