|
feat: stage 2 — hard-monitor agent with install.sh and systemd unit
- hard_monitor.py: stateless collector (psutil + requests) — identity (hostname/os/kernel/ips with virtual interfaces filtered), cpu/load, memory, disks, net counters, top processes by cpu, docker containers, temps into extra; --once and --dry-run modes, .env parser - install.sh: root install into /opt/hard-monitor (venv, .env 600, systemd unit enable --now, idempotent) - tested end-to-end: real agent -> panel ingest -> dashboard summary with net rates computed from counter deltas Co-Authored-By: Claude Code <noreply@anthropic.com> |
|---|
|
|
| monitor/.env.example 0 → 100644 |
|---|
| monitor/README.md |
|---|
| monitor/hard-monitor.service 0 → 100644 |
|---|
| monitor/hard_monitor.py 0 → 100755 |
|---|
| monitor/install.sh 0 → 100755 |
|---|
| monitor/requirements.txt 0 → 100644 |
|---|