Answer the question
In order to leave comments, you need to log in
Collectd error while running mqtt plugin?
Set up the mosquitto broker, set up collectd to collect data from the topic.
Here is a piece of the config:
Host "mqtt-broker.local"
Port 1883
ClientId "localhost"
User "mqtt"
Password "mypasswd"
QoS 0
Topic "mqtt/topic/data"
CleanSession false
Restart collectd and see the following error:
mqtt plugin: Unable to parse payload "1.22"
Where 1.22 is the value of the topic Added the
line to the /usr/share/collectd/types.db file:
data value:GAUGE:0:U
The error does not go away
What could be the problem?
I use collectd due to the fact that the telegraph eats a lot of resources. I write everything in influxdb
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question