Closed VictorRaim closed 6 years ago
[[inputs.mqtt_consumer]] servers = ["tcp://172.16.3.17:1883"] qos = 0
topics = [ "test/#", "dev/#", ] persistent_session = false client_id = "Telegraf" username = "Telegraf" password = "azerty" data_format = "influx"
Docker version 18.03.1-ce Telegraf:latest public image Solace-pubsub-standard 8.11.0.1029 Solace SDKPerf
Get this error log in telegraf for every MQTT message that telegraf is receiving :
2018-07-24T18:23:14Z E! Error in plugin [inputs.mqtt_consumer]: E! MQTT Parse Error message: :0000000AA error: metric parse error: expected field at offset 10: ":0000000AA" 2018-07-24T18:23:14Z E! Error in plugin [inputs.mqtt_consumer]: E! MQTT Parse Error message: :0000000AA error: metric parse error: expected field at offset 10: ":0000000AA" 2018-07-24T18:23:14Z E! Error in plugin [inputs.mqtt_consumer]: E! MQTT Parse Error message: :0000000AA error: metric parse error: expected field at offset 10: ":0000000AA"
Solace-pubsub-standard 8.11.0.1029 is running in standalone
My docker-compose.yml influxdb: image: influxdb:latest container_name: influxdb ports:
telegraf: image: telegraf:latest container_name: telegraf links:
grafana: image: grafana/grafana:latest container_name: grafana user: "104" ports:
Can you paste the returned/gathered metrics (that telegraf should be parsing)? thanks
Closing since no activity.
Relevant telegraf.conf:
[[inputs.mqtt_consumer]] servers = ["tcp://172.16.3.17:1883"] qos = 0
topics = [ "test/#", "dev/#", ] persistent_session = false client_id = "Telegraf" username = "Telegraf" password = "azerty" data_format = "influx"
System info:
Docker version 18.03.1-ce Telegraf:latest public image Solace-pubsub-standard 8.11.0.1029 Solace SDKPerf
Steps to reproduce:
Expected behavior:
Actual behavior:
Get this error log in telegraf for every MQTT message that telegraf is receiving :
2018-07-24T18:23:14Z E! Error in plugin [inputs.mqtt_consumer]: E! MQTT Parse Error message: :0000000AA error: metric parse error: expected field at offset 10: ":0000000AA" 2018-07-24T18:23:14Z E! Error in plugin [inputs.mqtt_consumer]: E! MQTT Parse Error message: :0000000AA error: metric parse error: expected field at offset 10: ":0000000AA" 2018-07-24T18:23:14Z E! Error in plugin [inputs.mqtt_consumer]: E! MQTT Parse Error message: :0000000AA error: metric parse error: expected field at offset 10: ":0000000AA"
Additional info:
Solace-pubsub-standard 8.11.0.1029 is running in standalone
My docker-compose.yml influxdb: image: influxdb:latest container_name: influxdb ports:
telegraf: image: telegraf:latest container_name: telegraf links:
grafana: image: grafana/grafana:latest container_name: grafana user: "104" ports: