Am I correct in assuming that your 'testconnection.asp is a homegrown asp?
Can I just replace that with a:

Send=GET www.somewebpage.com HTTP/1.0\r\n

I don't know what your testconnection.asp does.

--Bruce

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Howard Jones
Sent: Monday, October 10, 2005 7:52 AM
To: [email protected]
Subject: Re: [WhatsUp Forum] Scripting in Whats Up Gold

Meyer, Bruce wrote:
> I need to be able to write a script to WUG that will telnet to port 
> 80, and check if WebMail on Exchange 5.5 is allowing a full login, and 
> displaying the page.
> 
> I can handle writing the script (Looks like a version of Expect) Has 
> anyone ever done this with positive results?
We use something like this to check whether a particular customer site is
getting ADODB errors on their e-commerce site. It was a bit finicky to get
working, but it does work for us now.

Ours looks like:

Send=GET /utils/testconnection.asp HTTP/1.0\r\nHost: 
www.blahblah.co.uk\r\n\r\n
Expect=~Connection OK

(damn wordwrap - the Send is one line) The 'Connection OK' is within the
HTML of the returned page. This all goes into a TCP/IP service in the
Monitoring library. Unfortunately, if you want to do it for many servers,
you need one-per-server, as the hostname needs to be hard-coded in there.
It's a shame that the Arguments for a service aren't passed over (as far as
I know, anyway).

> Also, I had read in a couple places that Whats Up Professional, 
> Ipswitch removed scripting abilities. That seems like suicide for the 
> this product if true. Did they replace scripting with a different 
> solution, or how is this handled now. I don't think I will upgrade if 
> their is no way to interface to scripting.
 From memory, there is an SDK with Pro to allow you to build your own
monitioring plugins, but it's no longer free, and it's an COM-based
solution, so you'd need to have experience with a COM-capable language. 
That could include perl though, aside from the usual VB & friends.

Have fun!

Howie


Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/

Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/

Reply via email to