Files
openclaw-monitor/docs/使用说明.md

91 lines
1.7 KiB
Markdown
Raw Permalink Normal View History

# 龙虾舰队监控中心 - 使用说明
## 🚀 快速开始
### 访问地址
- **监控面板**: http://localhost:3000
- **Gitea**: http://localhost:18003
---
## 📊 功能说明
### 1. 查看龙虾状态
1. 打开监控面板首页
2. 看到所有龙虾的状态卡片
3. 绿色 = 健康,红色 = 异常
4. 状态每 5 秒自动刷新
### 2. 查看龙虾详情
1. 点击任意龙虾卡片的"📊 详情"按钮
2. 查看该龙虾的详细信息:
- 运行状态
- 监听端口
- 容器名称
- 工作目录
- 飞书应用信息
### 3. 查看记忆
1. 点击龙虾卡片的"🧠 记忆"按钮
2. 进入记忆页面
3. 使用日历选择日期
4. 点击有标记的日期查看当日记忆
### 4. 搜索文档
1. 在龙虾详情页找到搜索框
2. 输入关键词
3. 点击"🔍 搜索"
4. 查看搜索结果
---
## 🛠️ 工具使用
### Git 版本控制
#### 访问方式
- **Web 界面**: http://localhost:18003
- **Git 协议**: `git://127.0.0.1:9418/monitor-dashboard.git`
- **HTTP 协议**: `http://localhost:18003/monitor-dashboard.git`
#### 使用方法
**克隆仓库**:
```bash
git clone http://localhost:18003/monitor-dashboard.git
```
**提交更改**:
```bash
cd monitor-dashboard
git add .
git commit -m "修改说明"
git push origin master
```
**查看历史**:
```bash
git log --oneline
```
---
## ❓ 常见问题
### Q: 状态显示异常怎么办?
A: 检查龙虾容器是否正常运行:`docker ps | grep openclaw`
### Q: 记忆加载失败?
A: 检查记忆 API 服务:`curl http://localhost:8000/api/lobsters/`
### Q: Git 推送失败?
A: 检查 Git 服务状态:`ps aux | grep gitea`
---
**最后更新**: 2026-04-01