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

cpu plugin doesn't work on osx #1484

Closed
TeosVerdi opened this issue Jul 12, 2016 · 2 comments
Closed

cpu plugin doesn't work on osx #1484

TeosVerdi opened this issue Jul 12, 2016 · 2 comments

Comments

@TeosVerdi
Copy link

TeosVerdi commented Jul 12, 2016

Telegraf version: 1.0.0-beta2
OS: OSX 10.11 and OSX 10.9
Issue: CPU plugin fails to capture cpu metrics, returning:

$ ./telegraf -config telegraf.conf
2016/07/12 15:04:37 Starting Telegraf (version 1.0.0-beta2)
2016/07/12 15:04:37 Loaded outputs: influxdb
2016/07/12 15:04:37 Loaded inputs: swap system procstat procstat exec cpu disk kernel mem processes
2016/07/12 15:04:37 Tags enabled: host=myHost
2016/07/12 15:04:37 Agent Config: Interval:30s, Debug:false, Quiet:false, Hostname:"myHost", Flush Interval:30s
2016/07/12 15:05:00 ERROR in input [cpu]: error getting CPU info: not implemented yet
^C2016/07/12 15:05:05 Hang on, flushing any cached metrics before shutdown
2016/07/12 15:05:05 Output [influxdb] buffer fullness: 6 / 10000 metrics. Total gathered metrics: 6. Total dropped metrics: 0.
2016/07/12 15:05:05 Output [influxdb] wrote batch of 6 metrics in 3.123368ms

v0.13 has no such problem. Is it just me, or is it the issue at hand?

@sparrc
Copy link
Contributor

sparrc commented Jul 12, 2016

strange, it works for me, did you install via homebrew?

@TeosVerdi
Copy link
Author

@sparrc No, i've used "OSX binaries" build from influxdata website.
Just installed the brew (devel) version and it works just fine, thank you. Issue is closed.

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