Xymon Mailing List Archive search

Testing a dynamic host needing a proxy server

list Ralph Mitchell
Wed, 5 Sep 2007 22:36:31 -0500
Message-Id: <user-13eb8a9c57cd@xymon.invalid>

On 9/5/07, Meserole, Keith W. <user-73279f70f6bb@xymon.invalid> 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