mirror of
https://github.com/yshtcn/heartbeat.git
synced 2025-12-13 17:50:25 +08:00
Update config.Exsample.ini
- 增加了ping命令,读取配置文件中的heartbeat_ping项,并替换heartbeat_url中{ping}的部分。
- 增加了日志内容回显功能,除了写入日志外,使用py直接执行,会进行回显。
- 日志增加了ping状态和url的实际访问地址。
This commit is contained in:
parent
6cc525953d
commit
f85944abf8
@ -3,7 +3,11 @@
|
||||
interval = 60
|
||||
|
||||
# 心跳URL
|
||||
heartbeat_url = http://example.com/heartbeat
|
||||
heartbeat_url = http://example.com/heartbeat?ping={ping}
|
||||
|
||||
# 心跳ping
|
||||
#心跳地址错误或者为空或者url中没有{ping}将不执行
|
||||
heartbeat_ping = example.com
|
||||
|
||||
# 是否启用代理,0为不启用,1为启用
|
||||
proxy_enabled = 0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user