[smokeping-users] smokeping curl specifiying proxy

Sorrell, Al Al_Sorrell at troweprice.com
Wed Mar 17 15:08:39 CET 2010




From: smokeping-users-bounces+al_sorrell=troweprice.com at lists.oetiker.ch
[mailto:smokeping-users-bounces+al_sorrell=troweprice.com at lists.oetiker.
ch] On Behalf Of Lee, Tony
Sent: Thursday, June 11, 2009 12:24 PM
To: smokeping-users at lists.oetiker.ch
Subject: [smokeping-users] smokeping curl specifiying proxy




Is there a way to pass the proxy variable or other variables into curl
smokeping from curl?


The versions running:


curl --version

curl 7.15.5 (x86_64-redhat-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8b
zlib/1.2.3 libidn/0.6.5

Protocols: tftp ftp telnet dict ldap http file https ftps 

Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz


smokeping --version





Sample configuration:


+ Curl

# Curl probe-specific variables

binary = /usr/bin/curl

step = 60


#curl probe target-specific variables

urlformat = -x proxy:80 http://%host/ <http://%25host/>   <<< This might
be the wrong syntax trying to pass -x here.


Try using the "extraargs" flag like this:

+ Curl


binary = /usr/local/bin/curl


extraargs = --proxy myproxy:8080 --proxy-user "myuser:mypass"

urlformat = http://%host%

T. Rowe Price (including T. Rowe Price Group, Inc. and its affiliates) and its 
associates do not provide legal or tax advice.  Any tax-related discussion 
contained in this e-mail, including any attachments, is not intended or written to be 
used, and cannot be used, for the purpose of (i) avoiding any tax penalties or (ii) 
promoting, marketing, or recommending to any other party any transaction or 
matter addressed herein.  Please consult your independent legal counsel and/or 
professional tax advisor regarding any legal or tax issues raised in this e-mail.

The contents of this e-mail and any attachments are intended solely for the use of 
the named addressee(s) and may contain confidential and/or privileged 
information. Any unauthorized use, copying, disclosure, or distribution of the 
contents of this e-mail is strictly prohibited by the sender and may be unlawful. If 
you are not the intended recipient, please notify the sender immediately and 
delete this e-mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20100317/c054690e/attachment.html 

More information about the smokeping-users mailing list