thin-edge / meta-tedge

OpenEmbedded/Yocto layer for thin-edge.io
Apache License 2.0
8 stars 2 forks source link

collectd service does not start if MQTT plugin is enabled #72

Open reubenmiller opened 6 months ago

reubenmiller commented 6 months ago

The collected package taken from the openembedded (meta-oe) layer, does not build collectd with the MQTT plugin enabled. As a result, when trying to use the mqtt plugin in the collectd.conf file, the service fails to start due to:

Apr 30 07:33:12 rpi4-dca632486720 systemd[1]: Started Collectd.
Apr 30 07:33:12 rpi4-dca632486720 collectd[1048]: Error: Parsing the config file failed!
Apr 30 07:33:12 rpi4-dca632486720 systemd[1]: collectd.service: Main process exited, code=exited, status=1/FAILURE
Apr 30 07:33:12 rpi4-dca632486720 systemd[1]: collectd.service: Failed with result 'exit-code'.
reubenmiller commented 6 months ago

I've create a PR for the kirkstone branch (at least) to add the mqtt option when building the collectd package. https://github.com/openembedded/meta-openembedded/pull/818

reubenmiller commented 6 months ago

I've create a PR for the kirkstone branch (at least) to add the mqtt option when building the collectd package. openembedded/meta-openembedded#818

I've closed the PR as patches need to be submitted via the mailing list (still yet to go through the process to submit it).