I believe you can use the following
+ Curl
binary = /usr/local/bin/curl
pings=20
extraargs = --proxy <proxyname>:<proxy_port> --proxy-user
"<domain>\<user>:<pass>"
urlformat = http://%host%
Al
________________________________
From: [email protected]
[mailto:[email protected]] On Behalf Of Lee, Tony
Sent: Friday, June 12, 2009 9:34 AM
To: [email protected]
Subject: [smokeping-users] smokeping curl specifiying proxy
Hi.
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
2.003006
---
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.
+ Curl
menu = Curl
title = Curl
probe = Curl
++ Curl-test
menu = Curl-test
title = Curl-test
host = www.google.com
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.
_______________________________________________
smokeping-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users