feat: client config from yaml with interval/reconnect settings
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
# Hardware Monitor Client 配置
|
||||
#
|
||||
# machine_name : 设备名称 (默认使用主机名)
|
||||
# server : 服务端地址 (ip:port)
|
||||
# interval : 采集间隔 (秒, 默认 3)
|
||||
# reconnect_delay : 断线重连间隔 (秒, 默认 3)
|
||||
#
|
||||
# 删除此文件可重新配置
|
||||
|
||||
machine_name: my-pc
|
||||
server: 192.168.1.100:8080
|
||||
interval: 3
|
||||
reconnect_delay: 3
|
||||
Reference in New Issue
Block a user