Smith, Cathy wrote:
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.
Another solution to this is to use the ext script 'urlplus' which will
follow redirects (via Location: headers not Javascript).
David.
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
<mailto: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 <http://pnl.gov> # class:server
cont=WebMail;https://foobar.pnl.gov <http://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 <mailto:user-332e187d7d6d@xymon.invalid> XXX.XXX.XXXX
--
David Baldwin - IT Unit
Australian Sports Commission www.ausport.gov.au
Tel 02 62147830 Fax 02 62141830 PO Box 176 Belconnen ACT 2616
user-cbbf693f2c89@xymon.invalid Leverrier Street Bruce ACT 2617
Keep up to date with what's happening in Australian sport visit http://www.ausport.gov.au
This message is intended for the addressee named and may contain confidential and privileged information. If you are not the intended recipient please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you receive this message in error, please delete it and notify the sender.