From: Pavel Rochnyack Date: Sat, 30 Sep 2017 13:00:20 +0000 (+0700) Subject: curl_xml: Updated documentation and default configuration X-Git-Tag: collectd-5.8.0~59^2~2 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=60dd66cba05480bbadb0bb1952b652abf80b9021;p=collectd.git curl_xml: Updated documentation and default configuration --- diff --git a/src/collectd.conf.in b/src/collectd.conf.in index 655910d9..3287e0d1 100644 --- a/src/collectd.conf.in +++ b/src/collectd.conf.in @@ -466,6 +466,7 @@ # # # Host "my_host" +# #Plugin "stats" # Instance "some_instance" # User "collectd" # Password "thaiNg0I" @@ -480,6 +481,7 @@ # Type "magic_level" # #InstancePrefix "prefix-" # InstanceFrom "td[1]" +# #PluginInstanceFrom "td[1]" # ValuesFrom "td[2]/span[@class=\"level\"]" # # diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index ee7902c0..51cea115 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -1927,17 +1927,17 @@ Within the B block the following options are accepted: Use I as the host name when submitting values. Defaults to the global host name setting. +=item B I + +Use I as the plugin name when submitting values. +Defaults to 'curl_xml'. + =item B I Use I as the plugin instance when submitting values. May be overridden by B option inside B blocks. Defaults to an empty string (no plugin instance). -=item B I - -Use I as the plugin name when submitting values. -Defaults to 'curl_xml'. - =item B I I If an XPath expression references namespaces, they must be specified @@ -2028,6 +2028,7 @@ number of XPath expressions must match the number of data sources in the I specified with B (see above). Each XPath expression must return exactly one element. The element's value is then parsed as a number and used as value for the appropriate value in the value list dispatched to the daemon. +This option is required. =back