collectd.conf(5): add detail & example about multi-instance filterchain targets
authorMarc Fournier <marc.fournier@camptocamp.com>
Wed, 13 Aug 2014 07:09:14 +0000 (09:09 +0200)
committerMarc Fournier <marc.fournier@camptocamp.com>
Wed, 13 Aug 2014 07:09:14 +0000 (09:09 +0200)
src/collectd.conf.pod

index 45ec831..69e5005 100644 (file)
@@ -6353,19 +6353,36 @@ Available options:
 =item B<Plugin> I<Name>
 
 Name of the write plugin to which the data should be sent. This option may be
-given multiple times to send the data to more than one write plugin.
+given multiple times to send the data to more than one write plugin. If the
+plugin supports multiple instances, the plugin's instance(s) must also be
+specified.
 
 =back
 
 If no plugin is explicitly specified, the values will be sent to all available
 write plugins.
 
-Example:
+Single-instance plugin example:
 
  <Target "write">
    Plugin "rrdtool"
  </Target>
 
+Multi-instance plugin example:
+
+ <Plugin "write_graphite">
+   <Node "foo">
+   ...
+   </Node>
+   <Node "bar">
+   ...
+   </Node>
+ </Plugin>
+  ...
+ <Target "write">
+   Plugin "write_graphite/foo"
+ </Target>
+
 =item B<jump>
 
 Starts processing the rules of another chain, see L<"Flow control"> above. If