What worked was to get the full redirection the browser. I did a wget
from my hobbit server to download the SGML file. Then I did a string
match on text that I found in that file. My first string match was not
in the SGLM file. It's a picture included by the Java script.
Thanks for your help.
Cathy
---
Cathy L. Smith
IT Engineer
Pacific Northwest National Laboratory
user-332e187d7d6d@xymon.invalid XXX.XXX.XXXX
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
Sent: Thursday, November 05, 2009 11:42 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Check for string on web site failing
Can you try
10.10.5.173 foobar.pnl.gov <http://pnl.gov/> # class:server
cont=WebMail;https://foobar.pnl.gov <http://pnl.gov/>
/index.html;WebMail.Access
or instead of index.html put in what file is DocumentIndex (Apache
term). I'm guessing the IIS server isn't redirecting properly.
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
"When you have eliminated the impossible, that which remains, however
improbable, must be the truth."
--- Sir Arthur Conan Doyle
On Thu, Nov 5, 2009 at 2:32 PM, Smith, Cathy <user-332e187d7d6d@xymon.invalid>
wrote:
Folks
I set up a check to match a string for a web email server in my
bb-hosts file to ensure that the web server was functioning correctly
The check looked like:
10.10.5.173 foobar.pnl.gov # class:server
cont=WebMail;https://foobar.pnl.gov;WebMail.Access
The check worked fine until this past weekend when the email
server was migrated from Exchange 2003 to Exchange 2007. Now instead of
an index.html file being downloaded, I get a SGML document. Even though
the same string is in the title tag in the document, the check fails.
Can someone suggest a way to check that the page has properly loaded?
I apologize if you have received this posting twice. There were
network problems when I sent it out originally. I'm not sure it got
out.
Thanks for your help.
Regards,
Cathy
---
Cathy L. Smith
IT Engineer
Pacific Northwest National Laboratory
user-332e187d7d6d@xymon.invalid XXX.XXX.XXXX