Host agents
The monitoring-agent binary pushes host telemetry to the server about every 30 seconds.
What it reports
- Host identity, uptime, virtualization
- CPU (cores, load, usage %), memory/swap, disks, network (IPs, bps)
- Docker containers when the socket is available
- Proxmox VE QEMU/LXC guests when
/etc/pveexists - Auth log delta (SSH/sudo), top processes
- Listening TCP/UDP ports (bind IP, port, process, service)
Server UI
Admin → Servers → Create yields AGENT_KEY_HASH. Edit page shows live charts, listening ports, Proxmox guests, auth events, key rotate, desired agent version / update now.
Install with Docker
docker run -d --name monitoring-agent --restart unless-stopped \
--net host \
-v /var/run/docker.sock:/var/run/docker.sock:ro \
-e SERVER_HOST=https://monitoring.example.com/ \
-e AGENT_KEY_HASH=... \
akeb/monitoring-agent:latestInstall without Docker — download binary from GitHub
No Go on the host. Assets: monitoring-agent-linux-amd64 / linux-arm64 (+ .sha256) from AKEB/monitoring-agent releases. Works on Proxmox, Debian, Raspberry Pi, LXC.
# Pick the latest tag on https://github.com/AKEB/monitoring-agent/releases
VER=v1.3.0
ARCH=amd64 # or arm64
sudo mkdir -p /opt/monitoring-agent
sudo curl -fsSL -o /opt/monitoring-agent/monitoring-agent \
"https://github.com/AKEB/monitoring-agent/releases/download/${VER}/monitoring-agent-linux-${ARCH}"
sudo chmod 755 /opt/monitoring-agent/monitoring-agent
# Optional checksum check:
# curl -fsSL -o /tmp/monitoring-agent.sha256 \
# "https://github.com/AKEB/monitoring-agent/releases/download/${VER}/monitoring-agent-linux-${ARCH}.sha256"
# echo "$(cat /tmp/monitoring-agent.sha256) /opt/monitoring-agent/monitoring-agent" | sha256sum -c -
sudo tee /opt/monitoring-agent/.env >/dev/null <<'EOF'
TZ=Europe/Moscow
SERVER_HOST=https://monitoring.example.com/
AGENT_KEY_HASH=paste_agent_key_here
REPORT_INTERVAL_SEC=30
AUTO_UPDATE=true
EOF
sudo tee /etc/systemd/system/monitoring-agent.service >/dev/null <<'EOF'
[Unit]
Description=Monitoring host agent
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=root
WorkingDirectory=/opt/monitoring-agent
ExecStart=/opt/monitoring-agent/monitoring-agent
Restart=always
RestartSec=5
EnvironmentFile=-/opt/monitoring-agent/.env
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable --now monitoring-agent
journalctl -u monitoring-agent -fFull variables: Environment → Agent.
Optional: build from source
Only for custom builds — not needed on production servers.
# Only if you need a custom build — prefer GitHub Releases on servers.
go build -buildvcs=false -o monitoring-agent ./cmd/agent/
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -buildvcs=false -o monitoring-agent-linux-amd64 ./cmd/agent/
GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -buildvcs=false -o monitoring-agent-linux-arm64 ./cmd/agent/Derived monitors
Create Server-* monitor types bound to a registered server for offline/CPU/RAM/disk/container/net/listening-port alerts.