Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.49 KB

README.md

File metadata and controls

29 lines (22 loc) · 1.49 KB

Mount

MCDReforged license build status Release total download

简体中文 | English

一个向UptimeKuma上报服务器运行状况的插件。

使用说明

  1. 在 UptimeKuma 的控制台, 添加一个类型为 Push 的监控项,并拷贝其推送 URL。
  2. 将此插件放置在插件目录下 (通常是 plugins)。
  3. config/uptime_kuma_reporter/config.json 写入配置文件。
  4. 加载此插件。

配置文件

{
  // 监控项的推送地址,记得删掉 `?` 之后的参数
  // 例如  https://example-uptimekuma.site/api/push/abcdefg?status=up&msg=OK&ping=
  // ---> https://example-uptimekuma.site/api/push/abcdefg
  "url": "https://example.com",
  // 推送的间隔, 默认是 60 秒
  "interval": 60,
  // 是否在推送时输出日志, 默认为 False
  "log_push": false
}