[smokeping-users] Re: Using proxy for Curl

Kamran Siddiqui/NYLIC Kamran_Siddiqui at newyorklife.com
Tue Nov 9 16:14:51 MET 2004


I played around with it more and got it to work. Perhaps it is meant to
work this way. What I did is passed the -x proxy:port Curl option to the
url directive and it worked beautifully. Here is a section from the config
that worked for me.

+ Curl
binary = /usr/local/bin/curl

++ Via-Proxy
menu = Via-Proxy
title = Web through Proxy
probe = Curl

+++ Yahoo
menu = www.yahoo.com
title = www.yahoo.com
host = www.yahoo.com
++++ PROBE_CONF
url =  -x 10.10.10.1:80 http://www.yahoo.com


This thing is simply awesome.

Kamran




|---------+-------------------------------------->
|         |           "Kamran Siddiqui/NYLIC"    |
|         |           <Kamran_Siddiqui at newyorklif|
|         |           e.com>                     |
|         |           Sent by:                   |
|         |           smokeping-users-bounce at list|
|         |           .ee.ethz.ch                |
|         |                                      |
|         |                                      |
|         |           11/09/2004 08:56 AM        |
|         |                                      |
|---------+-------------------------------------->
  >------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                              |
  |       To:       smokeping-users at list.ee.ethz.ch                                                                              |
  |       cc:                                                                                                                    |
  |       Subject:  [smokeping-users] Re: Using proxy for Curl                                                                   |
  >------------------------------------------------------------------------------------------------------------------------------|





Thanks for the reply. It appears that currently there is no way to pass the
-x proxy:port option through the config to smokeping. I was hoping someone
may have already done the modification to Smokeping.pm to allow options
passed with either the probe or binary statements in the config file. I
don't know perl well enough to try this myself. If anyone out there has
made such modifications and is working for them and willing to share, I
would very much appreciate it.

Thanks
Kamran



|---------+-------------------------------------->
|         |           Dez Cadena <dez at otenet.gr> |
|         |           Sent by:                   |
|         |           smokeping-users-bounce at list|
|         |           .ee.ethz.ch                |
|         |                                      |
|         |                                      |
|         |           11/09/2004 05:33 AM        |
|         |                                      |
|---------+-------------------------------------->
  >
------------------------------------------------------------------------------------------------------------------------------|

  |
|
  |       To:       Kamran Siddiqui/NYLIC <Kamran_Siddiqui at newyorklife.com>
|
  |       cc:       smokeping-users at list.ee.ethz.ch,
smokeping-users-bounce at list.ee.ethz.ch
|
  |       Subject:  [smokeping-users] Re: Using proxy for Curl
|
  >
------------------------------------------------------------------------------------------------------------------------------|





On Mon, Nov 08, 2004 at 09:00:45AM -0500, Kamran Siddiqui/NYLIC wrote:
>
> Hi All,
> Is there a way to specify a proxy address in the smokeping config file to
> measure http and https performance through the Curl probe. I want to be
> able to measure responses for various internet sites through the proxy
> server.
>
> Any ideas, Here is a sample from my config file.

In order to do that you would have to use curl's -x switch. Actually, you
would have to extend
Curl.pm in order to accomodate another probe-specific variable (proxy)
using the -x switch.

--
Unsubscribe
mailto:smokeping-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:smokeping-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/smokeping-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi






--
Unsubscribe
mailto:smokeping-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:smokeping-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/smokeping-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi






--
Unsubscribe mailto:smokeping-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:smokeping-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/smokeping-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the smokeping-users mailing list