V2.7 增加agent执行器

This commit is contained in:
georgehao
2019-07-03 22:31:27 +08:00
parent c3a89e9243
commit 37fb659c4e
48 changed files with 2832 additions and 513 deletions

24
agent/config/conf.ini Normal file
View File

@@ -0,0 +1,24 @@
# GOLBAL
# dev prod
AppMode = dev
Version = 1.0.0
# ALL,DEBUG,INFO,NOTICE,WARN,ERROR,FATAL
LogLevel = ALL
# 执行器配置
# auto-自动起名,或者自己起名
ServerName = agent-10.32.40.165-1564
# 启动后回写
ServerId = 7
# 端口,必须配置!!
TcpPort = 1564
# auto-自动获取
TcpIp = 10.32.40.165
# Ip地址是外网还是内网1-外网0-内网若填写TcpIp则本项配置无意义
IpType = 0
# 添加的执行器属于分组Id默认为1
GroupId = 1
# 以下配置必填地址格式http://yourdomain/server/apisave
RegisterUrl = http://localhost:8081/server/apisave
UpdateStatusUrl = http://localhost:8081/server/apistatus