-
Notifications
You must be signed in to change notification settings - Fork 309
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
建议自动获取本机IP,批量更新config.josn及其他建议 #20
Comments
1AgentIPip是没有获取固定127.0.0.1,主要是这边有一些多IP机器不好判断选用哪个,AgentName取得是机器名称,不是固定的 |
同意 cell3 的将 agent Name, agent ip 写到配置文件,不然批量部署重复工作太多了, |
可以通过判断用户在 aggen list (targets)中的输入IP与本机所有IP对比,决定选用哪个agen ip |
原来这个文件里已经支持可以手工写了,这样可以做成一个模板批量更新了 |
可以直接编辑配置文件的,默认程序启动的时候加载conf/config.json,如果不存在则加载conf/config-base.json,只要按照规则配置config.json文件即可 |
1、reverse ping
默认本机IP是127.0.0.1,Agent Name是localhost.localdomain,如果有大量机器需要部署实现反向ping,就需要一台台修改 IP为机器IP,这样部署起来不是很方便。
2、config.josn配置文件更新
如果有新机器添加到机器列表,如果想要实现其他机器对这个新加机器的互ping,其他机器的配置也需要进行修改,如果是一台台去修改,非常耗费时间。
3、配置加载不能热加载
手动替换配置文件之后不支持热加载,必须要重启配置可以生效。
4、windows启动命令不能后台运行
在windows命令窗口启动之后,如果关闭窗口,程序便会停止,希望支持后台运行。这个是比较容易实现的。
The text was updated successfully, but these errors were encountered: