mirror of
https://github.com//cppla/ServerStatus
synced 2025-06-02 13:49:49 +08:00
Update README.md
callback说明
This commit is contained in:
parent
c5eed8e4fa
commit
a0fe8ee33c
11
README.md
11
README.md
@ -55,7 +55,16 @@ cd ServerStatus/server && make
|
||||
如果没错误提示,OK,ctrl+c关闭;如果有错误提示,检查35601端口是否被占用
|
||||
|
||||
#### 二、修改配置文件
|
||||
修改config.json文件,注意username, password的值需要和客户端对应一致。watchdog规则可以为任何已知字段的表达式
|
||||
```diff
|
||||
! 修改config.json文件,注意username, password的值需要和客户端对应一致。
|
||||
! watchdog rule 可以为任何已知字段的表达式。
|
||||
! watchdog interval 最小通知间隔。
|
||||
! watchdog callback Telegram:https://api.telegram.org/bot你自己的密钥/sendMessage?parse_mode=HTML&disable_web_page_preview=true&chat_id=你自己的标识&text=
|
||||
! watchdog callback Server酱: https://sctapi.ftqq.com/你自己的密钥.send?title=ServerStatus&desp=
|
||||
! watchdog callback PushDeer: https://api2.pushdeer.com/message/push?pushkey=你自己的密钥&text=
|
||||
! watchdog callback Email: todo
|
||||
```
|
||||
|
||||
```
|
||||
{
|
||||
"servers":
|
||||
|
Loading…
x
Reference in New Issue
Block a user