Open ves1820 opened 1 year ago
Thanks for reporting this!
PR fixing the issue would be welcome. Otherwise it can take a long time until there's a fix for the issue.
(There are only few active developers, and they primarily look into plugins that they use / can test themselves.)
I would argue that this is not a bug.
The mqtt.c plugin expects to find a data set called RESULT (or POWER1) here:
ds = plugin_get_ds(vl.type);
if (ds == NULL) {
ERROR("mqtt plugin: Unknown type: \"%s\".", vl.type);
return;
}
(for a direct link): https://github.com/collectd/collectd/blob/9369ed71450430266ebd7ca410022c2b1b548fb4/src/mqtt.c#L207
Which, means that collectd expects to find a data set called POWER1 or RESULT into types.db - which, if you just installed collectd, most likely are not defined.
Expected behavior
read data from mqtt-broker and write data to RRD plugin
(Description of the behavior / output that you expected) Subscribe is working data received:
Actual behavior
the data where not recognized:
(Description of the behavior / output that you observed)
Steps to reproduce