Meter Reading Platform

Machines

Machines the backend can SSH into to run worker containers, or that have connected themselves via the agent script.

Reconnecting…
Add machine via SSH
Connect a machine via agent
No SSH, no inbound access needed — works from any network. Run this on the target machine (needs Docker and python3). It registers itself and shows up below within a few seconds. sudo is needed so the script can talk to the Docker socket. The nohup … & disown at the end keeps it running after you close the terminal — output goes to agent.log in the same directory (tail -f agent.log to watch it live). To stop it later: ps aux | grep agent.py then sudo kill <pid> — this only stops the agent, any worker containers it already spawned keep running until you remove them from the Worker Nodes page.
1. Remove any old copy of the script first
rm -f agent.py
2. Download the current agent script
curl -O <this dashboard's URL>/api/agent/agent.py
3. Run it, detached so it survives closing the terminal
sudo nohup python3 agent.py --backend-url <this dashboard's URL> --token <loading…> --name <machine-name> > agent.log 2>&1 &
4. Detach it from this shell session
disown

No machines added yet