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

System input and Atoi problem for kernel_vmstat #3259

Closed
joakimberglund opened this issue Sep 22, 2017 · 5 comments · Fixed by #3266
Closed

System input and Atoi problem for kernel_vmstat #3259

joakimberglund opened this issue Sep 22, 2017 · 5 comments · Fixed by #3266
Labels
bug unexpected problem or unintended behavior
Milestone

Comments

@joakimberglund
Copy link

joakimberglund commented Sep 22, 2017

1.4.0

tail -1 telegraf.log
2017-09-22T13:16:50Z E! Error in plugin [inputs.kernel_vmstat]: strconv.Atoi: parsing "6690743595": value out of range
cat /proc/vmstat | grep 66907
numa_hit 6690746819
numa_local 6690746819

@danielnelson
Copy link
Contributor

What platform and arch is this on?

@danielnelson danielnelson added the bug unexpected problem or unintended behavior label Sep 22, 2017
@joakimberglund
Copy link
Author

CentOS 6.7 64bit

@danielnelson danielnelson added this to the 1.4.2 milestone Sep 25, 2017
@danielnelson
Copy link
Contributor

Interesting, I was pretty sure you were going to say 32-bit. What is the output of the file command?

file /usr/bin/telegraf 

@joakimberglund
Copy link
Author

wtf...

Okie, my bad!

file /usr/bin/telegraf
/usr/bin/telegraf: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, stripped

Looks like I installed the wrong version when I tried 1.4.0 on my test machine.
Real sorry for that.

@danielnelson
Copy link
Contributor

No problem, this is a bug for the 32-bit builds so I appreciate the report. I will include the fix in 1.4.2 and in the meantime you can grab the 64-bit version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug unexpected problem or unintended behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants