Collectd 5.1: write_mongodb plugin configuration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
collectd (Debian) |
Fix Released
|
Unknown
|
|||
collectd (Ubuntu) |
Confirmed
|
Undecided
|
Bryan Fullerton |
Bug Description
There are 2 things to report on the write_mongodb plugin
1. The plugin is not included in the build
Write MongoDB is the supported since v5.1. Therefore I expect it is included in Ubuntu. However after checking the plugin is not included. The missing library write_mongodb.so in /usr/lib/collectd/ could be a possible reason. Therefore it can't be enabled.
2. The sample configuration is wrong
The collectd configuration is in /etc/collectd/
<Plugin write_mongodb>
There is two <Node> and there is no </Node>. Therefore the collectd service will not start, due to the broken conf file.
Thank you very much
summary: |
- write_mongodb plugin configuration + Collectd 5.1: write_mongodb plugin configuration |
Changed in wormly-collectd: | |
status: | Unknown → New |
Changed in collectd (Debian): | |
status: | Unknown → New |
Changed in collectd (Debian): | |
status: | New → Fix Released |
Thanks for taking the time to report this bug and make Ubuntu better.
Regarding enabling the write_mongodb plugin, this requires the libmongoc library to compile, which is not yet part of any supported package in Ubuntu, or the Debian upstream. So this plugin cannot be included.
Regarding the configuration error, this comes in from the upstream Debian package, I will open a bug on their tracker. Most likely this is never encountered, since the plugin is never built, but should still be fixed.