X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fcollectd.conf.pod;h=c21dac9748123922a9ace473905642a4bfe93b0c;hb=c442c66d9e98852f1b8eaa1b816d6ee7f84d0342;hp=69e716be77ba6258368de6fb6411f22a94eb4d53;hpb=46157584a54b425e80a68383b76998f9d0945175;p=collectd.git diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index 69e716be..c21dac97 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -7144,6 +7144,13 @@ Use the greatest number only. Use the last number found. +=item B + +Use the last number found. The number is not reset at the end of an interval. +It is continously reported until another number is matched. This is intended +for cases in which only state changes are reported, for example a thermometer +that only reports the temperature when it changes. + =item B =item B @@ -7773,10 +7780,6 @@ option is set to 0, refreshing is disabled completely. =item B I -=item B B|B - -=item B B|B - =item B I =item B B|B @@ -7802,52 +7805,48 @@ Example: Ignore all I devices on any domain, but other block devices (eg. I) will be collected. -If I is set to B, then the device names will be the ones -in the I node for the device in the XML definition of the domain. The -default is B. This is the behavior before adding the option. - -If I is set to B, then the device names will be the ones -in the I node for the device in the XML definition of the domain. +=item B B|B -Example: +If I is set to B, the default, then the device name +seen by the guest will be used for reporting metrics. +This corresponds to the CtargetE> node in the XML definition of the +domain. -If the domain XML have the following device defined: +If I is set to B, then metrics will be reported +using the path of the source, e.g. an image file. +This corresponds to the CsourceE> node in the XML definition of the +domain. - - - - - -
- +B -setting - - BlockDeviceFormat dev - -will name the device in the graph as sda - -setting - - BlockDeviceFormat source - -will name the device in the graph as var_lib_libvirt_images_image1.qcow2 +If the domain XML have the following device defined: -These names will also be part of the RRD filename. + + + + + +
+ -I - this option is honored if and only if -option I is set to B. If set to B then -only the last part of the path will be used for device name and naming the -RRD file. +Setting C will cause the I to be set +to C. +Setting C will cause the I to be set +to C. -Example: +=item B B|B -if the device path (source tag) is: /var/lib/libvirt/images/image1.qcow2 +The B controls whether the full path or the +L of the source is being used as the I when +B is set to B. Defaults to B. -setting: - BlockDeviceFormatBasename true +B -will set the device name to: image1.qcow2 +Assume the device path (source tag) is C. +Setting C will cause the I to +be set to C. +Setting C will cause the I to be +set to C. =item B B