[hobbit] Testing a dynamic host needing a proxy server

Ralph Mitchell ralphmitchell at gmail.com
Thu Sep 6 05:36:31 CEST 2007


On 9/5/07, Meserole, Keith W. <km at keithm.us> wrote:
> Hi all,
>
> In Hobbit 4.2.0 is there a way to set up a test from an internal network
> to test http of an outside host, such as a DSL router?   Cavaet:  A
> proxy server is required to get out and also the DSL is a dynamic IP.
> This is on Solaris 10.
>
> I currently have a line similar to this in the bbhost file.   NSLOOKUP
> to the real host name works but ping fails (of course) since there is no
> host file entry.
>
> 0.0.0.0 DSL1 # noconn https://dsl1.dyndns.biz:8080
>
> Can anyone provide a detailed example of how to accomplish this?

Dunno about using proxies in Hobbit web tests, but I've had a lot of
success with external scripts using curl:

   curl -x http://proxy.domain.com:80/ -o page.html https://dsl1.dyndns.biz:8080

then examine page.html to see if it contains something you expect to see.

Ralph Mitchell



More information about the Xymon mailing list