Permalink
Browse files

collectd.conf(5): Add documentation for the write_mongodb plugin.

Resolves GitHub issue #37.

Change-Id: I9b2ff533003e379f0eb81de256a946fdf8851661
  • Loading branch information...
1 parent 4091500 commit 608d54d7288485be9b616de7fb8ea07a02e978b2 @octo octo committed Feb 29, 2012
Showing with 43 additions and 0 deletions.
  1. +43 −0 src/collectd.conf.pod
View
@@ -4882,6 +4882,49 @@ more than one DS.
=back
+=head2 Plugin C<write_mongodb>
+
+The I<write_mongodb plugin> will send values to I<MongoDB>, a schema-less
+NoSQL database.
+
+B<Synopsis:>
+
+ <Plugin "write_mongodb">
+ <Node "default">
+ Host "localhost"
+ Port "27017"
+ Timeout 1000
+ StoreRates true
+ </Node>
+ </Plugin>
+
+The plugin can send values to multiple instances of I<MongoDB> by specifying
+one B<Node> block for each instance. Within the B<Node> blocks, the following
+options are available:
+
+=over 4
+
+=item B<Host> I<Address>
+
+Hostname or address to connect to. Defaults to C<localhost>.
+
+=item B<Port> I<Service>
+
+Service name or port number to connect to. Defaults to C<27017>.
+
+=item B<Timeout> I<Timeout>
+
+Set the timeout for each operation on I<MongoDB> to I<Timeout> milliseconds.
+Setting this option to zero means no timeout, which is the default.
+
+=item B<StoreRates> B<false>|B<true>
+
+If set to B<true> (the default), convert counter values to rates. If set to
+B<false> counter values are stored as is, i.e. as an increasing integer
+number.
+
+=back
+
=head2 Plugin C<write_http>
This output plugin submits values to an http server by POST them using the

0 comments on commit 608d54d

Please sign in to comment.