Code

collectd.conf(5): Document the memcached plugin.
authorFlorian Forster <octo@collectd.org>
Sun, 2 Sep 2012 10:58:30 +0000 (12:58 +0200)
committerFlorian Forster <octo@collectd.org>
Sun, 2 Sep 2012 10:58:30 +0000 (12:58 +0200)
The Instance blocks and Socket option were missing.

src/collectd.conf.pod

index 5eb3af475a49db9cb7eae0b9020e2b20b8e00049..492071f4db6ca74c1b35f19b3d6a31e646e4a87f 100644 (file)
@@ -1964,6 +1964,17 @@ The C<memcached plugin> connects to a memcached server and queries statistics
 about cache utilization, memory and bandwidth used.
 L<http://www.danga.com/memcached/>
 
+ <Plugin "memcached">
+   <Instance "name">
+     Host "memcache.example.com"
+     Port 11211
+   </Instance>
+ </Plugin>
+
+The plugin configuration consists of one or more B<Instance> blocks which
+specify one I<memcached> connection each. Within the B<Instance> blocks, the
+following options are allowed:
+
 =over 4
 
 =item B<Host> I<Hostname>
@@ -1974,6 +1985,11 @@ Hostname to connect to. Defaults to B<127.0.0.1>.
 
 TCP-Port to connect to. Defaults to B<11211>.
 
+=item B<Socket> I<Path>
+
+Connect to I<memcached> using the UNIX domain socket at I<Path>. If this
+setting is given, the B<Host> and B<Port> settings are ignored.
+
 =back
 
 =head2 Plugin C<modbus>