We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When running on a system with default locale de_DE (e.g. one, where numbers are formatted differently), the sysstat plugin output can not be parsed:
2016/10/17 15:10:49 ERROR in input [sysstat]: strconv.ParseFloat: parsing "13,11": invalid syntax strconv.ParseFloat: parsing "139,00": invalid syntax strconv.ParseFloat: parsing "0,00": invalid syntax
(...)
Putting LANG=C in /etc/default/telegraf fixes the problem.
Debian GNU/Linux 8 (jessie) Linux banana 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-1 (2016-03-06) x86_64 GNU/Linux telegraf 0.1-1 amd64
No errors appear
ParseFloat is not able to parse the sysstat output
Document this behaviour or better set a default compatible locale. I am not sure if this is the proper solution.
The text was updated successfully, but these errors were encountered:
Use C locale when running sadf
98eaf10
fixes #1911
72efd9f
Use C locale when running sadf (#2690)
da07731
Use C locale when running sadf (influxdata#2690)
02b22b1
fixes influxdata#1911
8a1b070
danielnelson
Successfully merging a pull request may close this issue.
Bug report
When running on a system with default locale de_DE (e.g. one, where numbers are formatted differently), the sysstat plugin output can not be parsed:
(...)
Putting LANG=C in /etc/default/telegraf fixes the problem.
System info:
Debian GNU/Linux 8 (jessie)
Linux banana 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-1 (2016-03-06) x86_64 GNU/Linux
telegraf 0.1-1 amd64
Steps to reproduce:
Expected behavior:
No errors appear
Actual behavior:
ParseFloat is not able to parse the sysstat output
Additional info:
Proposal:
Document this behaviour or better set a default compatible locale. I am not sure if this is the proper solution.
The text was updated successfully, but these errors were encountered: