tags 283652 patch thanks On Wed, Dec 29, 2004 at 03:53:42PM +0100, Marc Haber wrote: > On Sat, Dec 18, 2004 at 01:41:26PM +0200, Niko Tyni wrote: > > you need to specify the target host explicitly, it is not derived > > from the url. > > > > Adding the line > > > > host = www.zugschlus.de > > > > after the title line should make it work. > > It indeed does. The docs need to be improved on that part. Examples > would be a good idea. Downgrading this bug to minor.
If we still get documentation fixes through for Sarge, here's a suggested tiny dpatch for this as well. Cheers, -- Niko
#! /bin/sh /usr/share/dpatch/dpatch-run ## 40_curl_docs.dpatch by Niko Tyni <[EMAIL PROTECTED]> ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Curl documentation updates @DPATCH@ diff -urNad smokeping-1.38/lib/probes/Curl.pm /tmp/dpep.gGpcNv/smokeping-1.38/lib/probes/Curl.pm --- smokeping-1.38/lib/probes/Curl.pm 2005-05-07 20:44:15.633729410 +0300 +++ /tmp/dpep.gGpcNv/smokeping-1.38/lib/probes/Curl.pm 2005-05-07 21:12:22.106228691 +0300 @@ -37,6 +37,8 @@ ++ PROBE_CONF agent = "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2.1) Gecko/20021130" url = https://some.host/some/where + # note that 'url' overrides the 'host' variable, although 'host' + # must still be present and is shown on graphs etc. See below. =head1 DESCRIPTION @@ -55,7 +57,10 @@ =item url -The URL to fetch. Can be any one that curl supports. +The URL to fetch. Can be any one that curl supports. Note that if this +variable is present, it overrides the 'host' variable for the actual +target pinged. Still, 'host' must be present in those targets that should +be pinged, and its contents will show up on the graphs. =back