[hobbit] Check for string on web site failing

Smith, Cathy cathy.smith at pnl.gov
Fri Nov 6 01:53:39 CET 2009


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
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>
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
	cathy.smith at pnl.gov 509.375.2687 
	
	


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20091105/081da3b4/attachment.html>


More information about the Xymon mailing list