LinuxAwesomeBot: OneBot 11 Linux monitoring bot (power/CPU/temp/alerts)

This commit is contained in:
snowy-yang committed 2026-09-12 14:20:47 +08:00
commit b1ffd86bd9
12 files changed
+1468

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
# 复制为 config.toml 后修改
[server]
# 反向 WebSocket 服务端监听地址
host = "0.0.0.0"
port = 8765
# 与 OneBot 实现端(NapCat/Lagrange等)中配置的 access_token 一致,留空则不校验
access_token = ""
[alert]
# CPU 告警阈值(%)
cpu_threshold = 85.0
# 需要连续超过阈值多少个采样周期才告警
consecutive = 2
# 采样间隔(秒)
interval = 10
# 同一轮高负载期间告警冷却(秒)
cooldown = 600
# TOP N 进程
top_n = 5
# 提醒目标
groups = [123456789]
friends = []