Lee, Tony
2009-06-12 13:33:54 UTC
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<http://www.google.com>
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<http://www.google.com>