Files
Henry_Du d1b49503aa feat(uptime_kuma_puller): 初始化Uptime Kuma状态监控AstrBot插件
包含依赖配置、gitignore规则、配置Schema与使用文档,支持通过/list、/uptime、/状态、/健康指令查询监控状态,可配置多个监控项目,展示监控项在线状态、延迟及维护和事件公告。
2026-07-17 05:28:08 +08:00

49 lines
1.1 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# astrbot_plugin_uptime_kuma_puller
Uptime Kuma 状态监控查询插件,适用于 AstrBot。
## 说明
- 插件通过 AstrBot 指令 `list` 触发。
- 会从 Uptime Kuma 状态页接口拉取监控项、维护公告和事件公告。
- 支持查询单个项目,也支持一次性输出所有已配置项目。
## 安装
- 可通过 AstrBot 插件市场安装。
- 或直接下载整个仓库后放入 AstrBot 插件目录。
## 配置
请在 AstrBot 插件管理面板配置以下字段:
- `query_url`:Uptime Kuma 站点地址,例如 `https://status.example.com`
- `proj_name_list`:状态页项目名称列表
项目名称请填写状态页链接 `/status/<项目名>` 中的 `<项目名>` 部分。
例如:
- 状态页地址是 `https://status.example.com/status/game`
- 则项目名填写 `game`
## 使用方法
- `/list`
- 查询 `proj_name_list` 中的全部项目状态
- `/list <项目名>`
- 查询指定项目状态
也保留了别名:
- `/uptime`
- `/状态`
- `/健康`
## 返回内容
- 监控项在线/离线状态
- 最近一次延迟
- 维护公告
- 事件公告