Skip to content
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

endpoint的别名怎么在客户端设置 #29

Closed
crazylsq opened this issue Mar 26, 2020 · 1 comment
Closed

endpoint的别名怎么在客户端设置 #29

crazylsq opened this issue Mar 26, 2020 · 1 comment

Comments

@crazylsq
Copy link

默认collector上报的endpoint是IP

一般我会在web上别名设置为主机名,将IP和主机名关联起来

如何在collector设置别名,自动上报上来

@UlricQin
Copy link
Member

这个不支持哈,如果是手工在collector的配置文件配置alias的话,跟在web上配置没有区别了。如果是自动获取机器名的话,就要考虑是以web为准还是以collector的配置为准,比较麻烦,而且各公司可能需求不同。

推荐做法是,如果自己有cmdb,就把cmdb的数据灌进来,如果没有,可以批量调api修改一把。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants