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>
1 parent 1be5830 commit ee459434141c8d3be7a2d027dbe680e5f52349c8
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored 17 hours ago
Showing 6 changed files
View
monitor/.env.example 0 → 100644
View
monitor/README.md
View
monitor/hard-monitor.service 0 → 100644
View
monitor/hard_monitor.py 0 → 100755
View
monitor/install.sh 0 → 100755
View
monitor/requirements.txt 0 → 100644