feat: add Go-based HarborForge monitor client

- collect CPU, memory, disk, swap, load, and uptime telemetry
- detect nginx and list /etc/nginx/sites-enabled entries
- send heartbeat-v2 payload with API key auth
- provide install script, config example, and systemd unit
This commit is contained in:
zhi
2026-03-20 11:00:42 +00:00
commit 0000356e5d
9 changed files with 460 additions and 0 deletions

7
config.example.json Normal file
View File

@@ -0,0 +1,7 @@
{
"backendUrl": "https://monitor.hangman-lab.top",
"identifier": "vps-01",
"apiKey": "replace-with-server-api-key",
"reportIntervalSec": 30,
"logLevel": "info"
}