Files
AgentsMeeting/docs/QUICKSTART.md
T

2.1 KiB
Raw Blame History

AgentsMeeting — 快速操作手册

生产环境: Linux 192.168.1.246 | 所有运维操作在此执行


日常检查

# 打开 Dashboard 看全局
http://192.168.1.246:5803

# 命令行快速状态
ssh hmo@192.168.1.246 "curl -s http://127.0.0.1:5803/api/monitor | python3 -m json.tool | head -20"

Dashboard 重启

ssh hmo@192.168.1.246 "cd ~/AgentsMeeting && git pull --rebase && sudo systemctl restart agentsmeeting-dashboard"

健康管线检查

# 查定时任务状态
ssh hmo@192.168.1.246 "crontab -l | grep -E 'health|todo|auto_heal'"

# 查看最近健康报告
ssh hmo@192.168.1.246 "cat ~/AgentsMeeting/gateway/temp/last_health_check.json | python3 -m json.tool"

# 手动跑一次健康检查(无输出 = 全正常)
ssh hmo@192.168.1.246 "cd ~/AgentsMeeting/gateway/scripts && /usr/bin/python3 agents_health_check.py"

# 查看自动修复日志
ssh hmo@192.168.1.246 "tail -20 ~/AgentsMeeting/gateway/logs/auto_heal.log"

Gateway 重启

# 莫荷
ssh hmo@192.168.1.246 "sudo systemctl restart hermes-gateway@mohe"

# 知微
ssh hmo@192.168.1.246 "sudo systemctl restart hermes-gateway@zhiwei"

# 验证
ssh hmo@192.168.1.246 "curl -s http://127.0.0.1:8642/v1/health && curl -s http://127.0.0.1:8643/v1/health"

Windows 端(192.168.1.16

Windows 上的 xmpp_bot / article_processor 由 Windows 看门狗守护,通常不需要手动干预。 Dashboard 通过 HTTP 跨网监控这些服务。

# Windows 本机操作
cd D:\F\NewI\opencode\daily-workspace\projects\AgentsMeeting
powershell -File deploy\windows\check.ps1   # 查状态
powershell -File deploy\windows\start.ps1   # 启动全套

常见问题

现象 操作
F Tab 定时任务显示"未部署" ssh hmo@246 crontab -l | grep health — 确认条目存在
Dashboard 不响应 ssh hmo@246 sudo systemctl restart agentsmeeting-dashboard
auto_heal 不修复 ssh hmo@246 tail ~/AgentsMeeting/gateway/logs/auto_heal.log
TODO 堆积 ssh hmo@246 cd ~/AgentsMeeting/gateway/scripts && python3 self_todo_executor.py