Collectd 5.1: write_mongodb plugin configuration

Bug #1206813 reported by Winston
8
This bug affects 1 person
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/collectd.conf. In the write_mongodb session, here is the sample configuration in the .conf file.

            <Plugin write_mongodb>
                <Node "example">
                    Host "localhost"
                     Port "27017"
                     Timeout 1000
                     StoreRates false
                <Node>
            </Plugin>

        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

Winston (winstonma)
summary: - write_mongodb plugin configuration
+ Collectd 5.1: write_mongodb plugin configuration
Revision history for this message
Bryan Fullerton (fehwalker) wrote :

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.

Changed in collectd (Ubuntu):
assignee: nobody → Bryan Fullerton (fehwalker)
status: New → Confirmed
Revision history for this message
Bryan Fullerton (fehwalker) wrote :

Opened Debian bug #724699 for the syntax error in the write_mongodb sample config. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=724699

Changed in wormly-collectd:
status: Unknown → New
Revision history for this message
Winston (winstonma) wrote :

Bryan, I think the Debian bug link is incorrect.

Revision history for this message
Bryan Fullerton (fehwalker) wrote :

OK, that looks better.

no longer affects: wormly-collectd
Changed in collectd (Debian):
status: Unknown → New
Changed in collectd (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.