zensqlmonitor / influxdb-zabbix

Gather data from Zabbix back-end and load to InfluxDB in near real-time for enhanced performance and easier usage with Grafana.
MIT License
71 stars 26 forks source link

"error":"partial write: unable to parse #9

Closed dimsua closed 7 years ago

dimsua commented 7 years ago

Hello Try to load data from zabbix to influxdb: 2017/07/05 12:35:55 ESC[1;36m[T] Log Mode: Console(Trace)ESC[0m 2017/07/05 12:35:55 ESC[1;36m[T] --- Active tables:ESC[0m 2017/07/05 12:35:55 ESC[1;36m[T] ----------- | history | Each 15 sec | 30 days per batch | Output by 50000ESC[0m 2017/07/05 12:35:55 ESC[1;36m[T] ----------- | history_uint | Each 15 sec | 30 days per batch | Output by 50000ESC[0m 2017/07/05 12:35:55 ESC[1;36m[T] ----------- | trends | Each 15 sec | 30 days per batch | Output by 50000ESC[0m 2017/07/05 12:35:55 ESC[1;36m[T] ----------- | trends_uint | Each 15 sec | 30 days per batch | Output by 50000ESC[0m 2017/07/05 12:35:55 ESC[1;32m[I] --- Start pollingESC[0m 2017/07/05 12:35:55 ESC[1;36m[T] --- Provider: mysqlESC[0m 2017/07/05 13:04:55 ESC[1;31m[...db-zabbix/log/log.go:299 Error()] [E] Error while loading data for trends. {"error":"partial write: unable to parse 'a10.kw,host_name=A10\ datapro,group_name=PDU\ Units,applications=No application value_min=5.5220,value_avg=5.6861,value_max=5.9620 1483232400000': invalid field format\n

Full log: https://scr.pics/output.log

dimsua commented 7 years ago

zabbix: 3.0.9 mysql: 5.7 os: centos 7

zensqlmonitor commented 7 years ago

I just commited a fix. Could you please have a try ?

dimsua commented 7 years ago

Looks like all work fine now. Thank you.