diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod
index 69e716be77ba6258368de6fb6411f22a94eb4d53..64be99e23a5742639e59f65b2450ee0b20927fba 100644 (file)
--- a/src/collectd.conf.pod
+++ b/src/collectd.conf.pod
=item B<BlockDevice> I<name:dev>
-=item B<BlockDeviceFormat> B<source>|B<dev>
-
-=item B<BlockDeviceFormatBasename> B<false>|B<true>
+=item B<BlockDeviceFormat> B<source>|B<target>
=item B<InterfaceDevice> I<name:dev>
Ignore all I<hdb> devices on any domain, but other block devices (eg. I<hda>)
will be collected.
-If I<BlockDeviceFormat> is set to B<dev>, then the device names will be the ones
+If I<BlockDeviceFormat> is set to B<target>, then the device names will be the ones
in the I<target> node for the device in the XML definition of the domain. The
-default is B<dev>. This is the behavior before adding the option.
+default is B<target>. This is the behavior before adding the option.
If I<BlockDeviceFormat> is set to B<source>, then the device names will be the ones
in the I<source> node for the device in the XML definition of the domain.
setting
- BlockDeviceFormat dev
+ BlockDeviceFormat target
-will name the device in the graph as sda
+will name the device in the graph as C<sda>
setting
BlockDeviceFormat source
-will name the device in the graph as var_lib_libvirt_images_image1.qcow2
+will name the device in the graph as C<var_lib_libvirt_images_image1.qcow2>
These names will also be part of the RRD filename.
+=item B<BlockDeviceFormatBasename> B<false>|B<true>
+
I<BlockDeviceFormatBasename> - this option is honored if and only if
option I<BlockDeviceFormat> is set to B<source>. If set to B<true> then
only the last part of the path will be used for device name and naming the
Example:
-if the device path (source tag) is: /var/lib/libvirt/images/image1.qcow2
+if the device path (source tag) is: C</var/lib/libvirt/images/image1.qcow2>
setting:
BlockDeviceFormatBasename true
-will set the device name to: image1.qcow2
+will set the device name to: C<image1.qcow2>
=item B<HostnameFormat> B<name|uuid|hostname|...>