From: Marc Fournier Date: Wed, 6 Aug 2014 14:25:16 +0000 (+0200) Subject: misc additions to curl* plugins doc & examples X-Git-Tag: collectd-5.5.0~215^2 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=0302a13c7cfe31a6208eca37ee140bb28c56e22e;p=collectd.git misc additions to curl* plugins doc & examples --- diff --git a/src/collectd.conf.in b/src/collectd.conf.in index 2d51aec7..32fcc8cf 100644 --- a/src/collectd.conf.in +++ b/src/collectd.conf.in @@ -311,7 +311,15 @@ # URL "http://finance.google.com/finance?q=NYSE%3AAMD" # User "foo" # Password "bar" +# Digest false +# VerifyPeer true +# VerifyHost true +# CACert "/path/to/ca.crt" +# Header "X-Custom-Header: foobar" +# Post "foo=bar" +# # MeasureResponseTime false +# MeasureResponseCode false # # Regex "]*> *([0-9]*\\.[0-9]+) *" # DSType "GaugeAverage" @@ -358,9 +366,12 @@ # Instance "some_instance" # User "collectd" # Password "thaiNg0I" +# Digest false # VerifyPeer true # VerifyHost true # CACert "/path/to/ca.crt" +# Header "X-Custom-Header: foobar" +# Post "foo=bar" # # # Type "magic_level" diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index cc556a0d..1e6b5896 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -1194,6 +1194,16 @@ finance page and dispatch the value to collectd. URL "http://finance.google.com/finance?q=NYSE%3AAMD" User "foo" Password "bar" + Digest false + VerifyPeer true + VerifyHost true + CACert "/path/to/ca.crt" + Header "X-Custom-Header: foobar" + Post "foo=bar" + + MeasureResponseTime false + MeasureResponseCode false + Regex "]*> *([0-9]*\\.[0-9]+) *" DSType "GaugeAverage" @@ -1266,13 +1276,19 @@ C). Measure response time for the request. If this setting is enabled, B blocks (see below) are optional. Disabled by default. +=item B B|B + +Measure response code for the request. If this setting is enabled, B +blocks (see below) are optional. Disabled by default. + =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. If the B option -is set to B, B blocks are optional. +plugin below on how matches are defined. If the B or +B options are set to B, B blocks are +optional. =back @@ -1395,6 +1411,8 @@ The B uses B (L) and B VerifyPeer true VerifyHost true CACert "/path/to/ca.crt" + Header "X-Custom-Header: foobar" + Post "foo=bar" Type "magic_level"