From 9af443a932c19ec4c81afd2df0a8ee5a17e7cf08 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Fri, 6 Feb 2009 16:55:15 +0100 Subject: [PATCH] collectd.conf(5): Document the curl plugin properly. --- src/collectd.conf.pod | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index c975b2c2..0077d243 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -364,12 +364,62 @@ finance page and dispatch the value to collectd. Regex "]*> *([0-9]*\\.[0-9]+) *" DSType "GaugeAverage" + # Note: `stock_value' is not a standard type. Type "stock_value" Instance "AMD" +In the B block, there may be one or more B blocks, each defining +a web page and one or more "matches" to be performed on the returned data. The +string argument to the B block is used as plugin instance. + +The following options are valid within B blocks: + +=over 4 + +=item B I + +URL of the web site to retrieve. Since a regular expression will be used to +extract information from this data, non-binary data is a big plus here ;) + +=item B I + +Username to use if authorization is required to read the page. + +=item B I + +Password to use if authorization is required to read the page. + +=item B B|B + +Enable or disable peer SSL certificate verification. See +L for details. Enabled by default. + +=item B B|B + +Enable or disable peer host name verification. If enabled, the plugin checks if +the C or a C field of the SSL certificate +matches the host name provided by the B option. If this identity check +fails, the connection is aborted. Obviously, only works when connecting to a +SSL enabled server. Enabled by default. + +=item B I + +File that holds one or more SSL certificates. If you want to use HTTPS you will +possibly need this option. What CA certificates come bundled with C +and are checked by default depends on the distribution you use. + +=item BMatchE> + +One or more B blocks that define how to match information in the data +returned by C. The C plugin uses the same infrastructure that's +used by the C plugin, so please see the documentation of the C +plugin below on how matches are defined. + +=back + =head2 Plugin C This plugin uses the B library (L) to -- 2.11.0