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

获取docker数据返回空 #7

Open
yaoyu26 opened this issue Nov 22, 2016 · 6 comments
Open

获取docker数据返回空 #7

yaoyu26 opened this issue Nov 22, 2016 · 6 comments

Comments

@yaoyu26
Copy link

yaoyu26 commented Nov 22, 2016

curl http://localhost:18080/api/v1.2/docker
返回为空,这个需要修改哪里

@zqWu
Copy link

zqWu commented May 5, 2017

同样这个问题,而且open-falcon的dashboard中,并没有上送的数据

@jojohappy
Copy link

可以下载一个 cAdvisor version 0.23.2
然后修改 run.go 里面的执行命令

cmd := exec.Command("/home/work/uploadCadviosrData/cadvisor", "-port=18080")

@leeronggui
Copy link

同问。应该怎么改。。。

@trockxi
Copy link

trockxi commented Jun 12, 2018

jojohappy 的意思是下载个新版本替换项目的文件,然后在修改22行为他提供的样子,对吗?给的逗号是中文的。

@jojohappy
Copy link

@trockxi 当时的情况就是 cAdvisor 版本太低,导致获取 docker 信息失败,可以尝试下一个最新版本的 cAdvisor 尝试看看

@songjave
Copy link

songjave commented Oct 8, 2018

@jojohappy

可以下载一个 cAdvisor version 0.23.2
然后修改 run.go 里面的执行命令

cmd := exec.Command("/home/work/uploadCadviosrData/cadvisor", "-port=18080")

最新的cadvisor是0.31.0的版本 已经无法使用你给出的方法获取数据了。micadvisor不停地自动重启

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

6 participants