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

Graphite writer booleans are not parsed correctly #3

Open
janvonde opened this issue Nov 14, 2016 · 0 comments
Open

Graphite writer booleans are not parsed correctly #3

janvonde opened this issue Nov 14, 2016 · 0 comments

Comments

@janvonde
Copy link

First of all thanks for this great application. I use it to query data from my CCU2 and send it to an influxdb for evaluation in a Graphana dashboard.

I have the problem though, that booleans are often not parsed correctly and sent as string to the influxdb which results in error messages like this:

Nov 14 16:27:57 monitor02 influxd[14573]: [graphite] 2016/11/14 16:27:57 unable to parse line: hm.wohnzimmer_f_sud.state false 1479137277: field "hm.wohnzimmer_f_sud.state" value: strconv.ParseFloat: parsing "false": invalid syntax
Nov 14 16:45:52 monitor02 influxd[14573]: [graphite] 2016/11/14 16:45:52 unable to parse line: hm.wohnzimmer_west.state false 1479138352: field "hm.wohnzimmer_west.state" value: strconv.ParseFloat: parsing "false": invalid syntax
Nov 14 17:09:40 monitor02 influxd[14573]: [graphite] 2016/11/14 17:09:40 unable to parse line: hm.wohnzimmer_tur_s.state true 1479139780: field "hm.wohnzimmer_tur_s.state" value: strconv.ParseFloat: parsing "true": invalid syntax
Nov 14 17:11:05 monitor02 influxd[14573]: [graphite] 2016/11/14 17:11:05 unable to parse line: hm.wohnzimmer_tur_s.state true 1479139865: field "hm.wohnzimmer_tur_s.state" value: strconv.ParseFloat: parsing "true": invalid syntax
Nov 14 17:17:26 monitor02 influxd[14573]: [graphite] 2016/11/14 17:17:26 unable to parse line: hm.wohnzimmer_tur_s.state false 1479140246: field "hm.wohnzimmer_tur_s.state" value: strconv.ParseFloat: parsing "false": invalid syntax
Nov 14 17:26:03 monitor02 influxd[14573]: [graphite] 2016/11/14 17:26:03 unable to parse line: hm.wohnzimmer_f_sud.state false 1479140763: field "hm.wohnzimmer_f_sud.state" value: strconv.ParseFloat: parsing "false": invalid syntax
Nov 14 17:40:22 monitor02 influxd[14573]: [graphite] 2016/11/14 17:40:22 unable to parse line: hm.wohnzimmer_west.state false 1479141622: field "hm.wohnzimmer_west.state" value: strconv.ParseFloat: parsing "false": invalid syntax
Nov 14 18:03:12 monitor02 influxd[14573]: [graphite] 2016/11/14 18:03:12 unable to parse line: hm.wohnzimmer_tur_s.state false 1479142992: field "hm.wohnzimmer_tur_s.state" value: strconv.ParseFloat: parsing "false": invalid syntax
Nov 14 18:17:52 monitor02 influxd[14573]: [graphite] 2016/11/14 18:17:52 unable to parse line: hm.wohnzimmer_f_sud.state false 1479143872: field "hm.wohnzimmer_f_sud.state" value: strconv.ParseFloat: parsing "false": invalid syntax
Nov 14 18:36:17 monitor02 influxd[14573]: [graphite] 2016/11/14 18:36:17 unable to parse line: hm.wohnzimmer_west.state false 1479144977: field "hm.wohnzimmer_west.state" value: strconv.ParseFloat: parsing "false": invalid syntax
Nov 14 18:56:32 monitor02 influxd[14573]: [graphite] 2016/11/14 18:56:32 unable to parse line: hm.wohnzimmer_tur_s.state false 1479146192: field "hm.wohnzimmer_tur_s.state" value: strconv.ParseFloat: parsing "false": invalid syntax
Nov 14 19:01:54 monitor02 influxd[14573]: [graphite] 2016/11/14 19:01:54 unable to parse line: hm.wohnzimmer_tur_s.state true 1479146514: field "hm.wohnzimmer_tur_s.state" value: strconv.ParseFloat: parsing "true": invalid syntax
Nov 14 19:02:08 monitor02 influxd[14573]: [graphite] 2016/11/14 19:02:08 unable to parse line: hm.wohnzimmer_tur_s.state false 1479146528: field "hm.wohnzimmer_tur_s.state" value: strconv.ParseFloat: parsing "false": invalid syntax
Nov 14 19:17:51 monitor02 influxd[14573]: [graphite] 2016/11/14 19:17:51 unable to parse line: hm.wohnzimmer_f_sud.state false 1479147471: field "hm.wohnzimmer_f_sud.state" value: strconv.ParseFloat: parsing "false": invalid syntax
Nov 14 19:36:08 monitor02 influxd[14573]: [graphite] 2016/11/14 19:36:08 unable to parse line: hm.wohnzimmer_west.state false 1479148568: field "hm.wohnzimmer_west.state" value: strconv.ParseFloat: parsing "false": invalid syntax
Nov 14 19:57:34 monitor02 influxd[14573]: [graphite] 2016/11/14 19:57:34 unable to parse line: hm.wohnzimmer_tur_s.state false 1479149854: field "hm.wohnzimmer_tur_s.state" value: strconv.ParseFloat: parsing "false": invalid syntax
Nov 14 20:18:32 monitor02 influxd[14573]: [graphite] 2016/11/14 20:18:32 unable to parse line: hm.wohnzimmer_f_sud.state false 1479151112: field "hm.wohnzimmer_f_sud.state" value: strconv.ParseFloat: parsing "false": invalid syntax
Nov 14 20:33:33 monitor02 influxd[14573]: [graphite] 2016/11/14 20:33:33 unable to parse line: hm.wohnzimmer_west.state false 1479152013: field "hm.wohnzimmer_west.state" value: strconv.ParseFloat: parsing "false": invalid syntax

Is it a problem on my side or can you fix it in the code?

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

1 participant