docs: sync harbor-forge plugin planning notes

This commit is contained in:
zhi
2026-03-21 19:52:09 +00:00
parent f0a267b6f2
commit 3d9ddfad00
3 changed files with 34 additions and 28 deletions

View File

@@ -279,7 +279,7 @@ POST /monitor/server/heartbeat-v2
Body:
identifier: string
openclaw_version: string # 远程主机上的 OpenClaw 版本
plugin_version: string # harborforge-monitor 插件版本
plugin_version: string # harbor-forge 插件版本
cpu_pct: float
mem_pct: float
disk_pct: float
@@ -602,16 +602,22 @@ services:
### 9.2 监控插件部署
```bash
# 1. 在 Monitor 注册服务器,获取 challenge_uuid
# 1. 在 Monitor 注册服务器并生成 API Key
# 2. 在服务器安装插件
node scripts/install.mjs
# 3. 配置 ~/.openclaw/openclaw.json
{
"plugins": {
"harborforge-monitor": {
"enabled": true,
"challengeUuid": "YOUR_CHALLENGE_UUID"
"entries": {
"harbor-forge": {
"enabled": true,
"config": {
"enabled": true,
"apiKey": "YOUR_API_KEY",
"monitor_port": 9100
}
}
}
}
}