-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Sensors plugin strconv.ParseFloat: parsing "": invalid syntax #1716
Labels
bug
unexpected problem or unintended behavior
Comments
Could you provide the output of sensors -A -u? |
Sorry updated the issue. |
zbindenren
added a commit
to zbindenren/telegraf
that referenced
this issue
Sep 11, 2016
zbindenren
added a commit
to zbindenren/telegraf
that referenced
this issue
Sep 11, 2016
closed by #1749 |
Amazing! Thanks guys :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
Relevant telegraf.conf:
Comments and empty lines omitted for brevity.
System info:
Steps to reproduce:
lm-sensors
[[inputs.sensors]]
to telegraf.conf/var/log/telegraf/telegraf.log
for errorsExpected behavior:
Should parse all of the
sensors -A -u
output:Actual behavior:
It only parses the first section (chip:
nouveau-pci-0100
). That first section appears in the Influx database:sensors,chip=nouveau-pci-0100,feature=temp1,host=madmax
temp_crit
temp_crit_hyst
temp_emergency
temp_emergency_hyst
temp_input
temp_max
temp_max_hyst
Then it fails with the following error:
Additional info:
I tried to figure out how to fix it myself but couldn't quite follow the code flow.
/cc @zbindenren @md14454 (authors of the file)
Cheers :)
The text was updated successfully, but these errors were encountered: