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"    |
|         |           <[EMAIL PROTECTED]|
|         |           e.com>                     |
|         |           Sent by:                   |
|         |           [EMAIL PROTECTED]|
|         |           .ee.ethz.ch                |
|         |                                      |
|         |                                      |
|         |           11/09/2004 08:56 AM        |
|         |                                      |
|---------+-------------------------------------->
  
>------------------------------------------------------------------------------------------------------------------------------|
  |                                                                             
                                                 |
  |       To:       [EMAIL PROTECTED]                                           
                                   |
  |       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 <[EMAIL PROTECTED]> |
|         |           Sent by:                   |
|         |           [EMAIL PROTECTED]|
|         |           .ee.ethz.ch                |
|         |                                      |
|         |                                      |
|         |           11/09/2004 05:33 AM        |
|         |                                      |
|---------+-------------------------------------->
  >
------------------------------------------------------------------------------------------------------------------------------|

  |
|
  |       To:       Kamran Siddiqui/NYLIC <[EMAIL PROTECTED]>
|
  |       cc:       [EMAIL PROTECTED],
[EMAIL PROTECTED]
|
  |       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:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/smokeping-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi






--
Unsubscribe
mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/smokeping-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi






--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/smokeping-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to