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

往HostGroup中添加机器的时候如果发现机器名不存在,就直接插入host表 #4

Merged
merged 2 commits into from
Oct 25, 2015

Conversation

wkshare
Copy link

@wkshare wkshare commented Oct 20, 2015

#3 自定义的Endpoint,没有自动插入到host,导致无法加入到指定的主机组用于告警配置。

UlricQin pushed a commit that referenced this pull request Oct 25, 2015
往HostGroup中添加机器的时候如果发现机器名不存在,就直接插入host表
@UlricQin UlricQin merged commit 835e554 into open-falcon-archive:master Oct 25, 2015
@onlymellb
Copy link

我觉得这个有点不妥,易加错,应该先检查是否在host表中,如果不存在在检查是否在graph库中的endpoint表中,如果存在,这时候在插入host表是比较合理的.

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

Successfully merging this pull request may close these issues.

3 participants