[hobbit] Check for string on web site failing
Smith, Cathy
cathy.smith at pnl.gov
Fri Nov 6 17:10:50 CET 2009
David
Where do I find that script?
Cathy
---
Cathy L. Smith
IT Engineer
Pacific Northwest National Laboratory
cathy.smith at pnl.gov 509.375.2687
-----Original Message-----
From: David Baldwin [mailto:c
Sent: Thursday, November 05, 2009 5:02 PM
To: hobbit at hswn.dk
Subject: Re: [hobbit] Check for string on web site failing
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
> cathy.smith at pnl.gov 509.375.2687
>
>
>
> ----------------------------------------------------------------------
> --
> *From:* Josh Luthman [mailto:josh at imaginenetworksllc.com]
> *Sent:* Thursday, November 05, 2009 11:42 AM
> *To:* hobbit at hswn.dk
> *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: 937-552-2340
> Direct: 937-552-2343
> 1100 Wayne St
> Suite 1337
> Troy, OH 45373
>
> "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 <cathy.smith at pnl.gov
> <mailto:cathy.smith at pnl.gov>> 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
> cathy.smith at pnl.gov <mailto:cathy.smith at pnl.gov> 509.375.2687
>
>
--
David Baldwin - IT Unit
Australian Sports Commission www.ausport.gov.au
Tel 02 62147830 Fax 02 62141830 PO Box 176 Belconnen ACT 2616
david.baldwin at ausport.gov.au 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.
------------------------------------------------------------------------
-------------
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk
More information about the Xymon
mailing list