From: Pavel Rochnyak Date: Sun, 2 Dec 2018 17:59:08 +0000 (+0700) Subject: Merge pull request #2990 from rpv-tomsk/collectd-master X-Git-Url: https://git.octo.it/?p=collectd.git;a=commitdiff_plain;h=cd0d4b77c043f7ef118c817aa900bfc7e6c1f8cc;hp=2e83c3305afd17cdb75da4247ece858078d2c56b Merge pull request #2990 from rpv-tomsk/collectd-master virt plugin: Document Instances option --- diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index 03b163ef..2f3322fb 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -9330,12 +9330,6 @@ You can also specify combinations of the B and B fields. For example B means to concatenate the guest name and UUID (with a literal colon character between, thus I<"foo:1234-1234-1234-1234">). -=item B B - -How many read instances you want to use for this plugin. The default is one, -and the sensible setting is a multiple of the B value. -If you are not sure, just use the default setting. - =item B B Report additional extra statistics. The default is no extra statistics, preserving @@ -9386,11 +9380,38 @@ B: I metrics can't be collected if I plugin is enabled. =back =item B B|B + Override default configuration to only send notifications when there is a change in the lifecycle state of a domain. When set to true notifications will be sent for every read cycle. Default is false. Does not affect the stats being dispatched. +=item B B + +How many read instances you want to use for this plugin. The default is one, +and the sensible setting is a multiple of the B value. + +This option is only useful then domains are specially tagged. +If you are not sure, just use the default setting. + +The reader instance will only query the domains with attached a matching tag. +Tags should have the form of 'virt-X' where X is reader instance number, +starting from 0. + +The special-purpose reader instance #0, guaranteed to be always present, +will query all the domains with missing or unrecognized tag, so no domain will +ever left out. + +Domain tagging is done with custom attribute in the libvirt domain metadata +section. Value is taken by XPath I +expression in I namespace. +(XPath and namespace values are not configurable yet). + +Tagging could be used by management application to evenly spread the +load among the reader threads, or to pin on the same threads all +the libvirt domains which use the same shared storage, to minimize +the disruption in presence of storage outages. + =back =head2 Plugin C