更改watchdog callback说明

更改watchdog callback说明
This commit is contained in:
cppla 2022-08-25 16:13:24 +08:00 committed by GitHub
parent 78c7da7361
commit 44656e565f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -58,12 +58,13 @@ cd ServerStatus/server && make
#### 二、修改配置文件
```diff
! 修改config.json文件注意username, password的值需要和客户端对应一致。
! watchdog rule 可以为任何已知字段的表达式。
! watchdog interval 最小通知间隔。
! watchdog interval 最小通知间隔。
! watchdog callback 可自定义为Get方法的URL告警内容将拼接其后并发起回调。
! watchdog callback Telegramhttps://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 PushDeer: https://api2.pushdeer.com/message/push?pushkey=你自己的密钥&text=
```
```