That will surely help :-) Now as for the -1 did you restart SA after changing it?
dirk. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jon A. Freivald Sent: Wed Aug 27 10:59 PM To: [EMAIL PROTECTED] Subject: RE: [SA-list] Trying to check a web page[Scanned by Sophos MailMonitor] Doh! Have y'all caught my error from the log snippet I posted!? It *WOULD* help if I spelled the name of the web site correctly!!!!! Things are working quite fine now..! -----Original Message----- From: Jon A. Freivald Sent: Wednesday, August 27, 2003 4:52 PM To: [EMAIL PROTECTED] Subject: RE: [SA-list] Trying to check a web page[Scanned by Sophos MailMonitor] Interesting. I set the value of the key to -1, and this is what I get in my log: Wednesday, August 27, 2003 4:48:35 PM URL check ( http://www.agros.com) gave HTTP/1.1 200 OK Wednesday, August 27, 2003 4:48:35 PM URL check ( http://www.agros.com) : <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" " http://www.w3.org/TR/REC-html40/loose.dtd"> <HTML> <HEAD> <META HTTP-EQUIV="Content Wednesday, August 27, 2003 4:48:35 PM URL check contains string: View our(CON-8) Wednesday, August 27, 2003 4:48:35 PM URL check : content not ok Wednesday, August 27, 2003 4:48:35 PM URL check: 26965 Obviously not the whole page! I changed the check to be on "DOCTYPE HTML PUBLIC" and now it's working... 'sup with that!? ;) -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dirk Bulinckx Sent: Wednesday, August 27, 2003 4:27 PM To: [EMAIL PROTECTED] Subject: RE: [SA-list] Trying to check a web page[Scanned by Sophos MailMonitor] >From the doc:" When performing a URL check with a "contains" clause, Servers Alive saves 150 bytes (by default) of the retrieved web page in the log file. You can change how much is saved by changed by adding or editing the following registry entry: HKEY_LOCAL_MACHINE\SOFTWARE\DBU Consulting\Servers Alive\Log\HTTPBytesinLog (string) A value of -1 means the full web page. Use this with care since your log file will grow very fast. A value of 0 defaults back to 150 bytes. " So I would suggest to set it to -1, run one cycle, stop Servers Alive and check the logfile, this will show you exactly what the webserver did send to the Servers Alive "web" client. And based on that you can set the a contains clause that is correct. Remember to change the value from -1 to something else (with -1 it will create HUGE logfiles). dirk. -----Orig " inal Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jon A. Freivald Sent: Wed Aug 27 9:53 PM To: [EMAIL PROTECTED] Subject: RE: [SA-list] Trying to check a web page[Scanned by Sophos MailMonitor] I only used the quotes in the message here so you would know the exact string. I was set for 15 seconds - raising the timeout to 60 seconds still gets me the "content is NOT ok" -----Original Message----- From: Jonathan Marsden [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 3:25 PM To: [EMAIL PROTECTED] Subject: RE: [SA-list] Trying to check a web page[Scanned by Sophos MailMonitor] I just set my own installation of SA up to monitor that site with that same "should contain" field active, looking for the same string...though I input it in the box without the quotation marks...and it works fine...make sure that you have your timeout set sufficiently high enough so that the page can actually download enough to find the search string...try changing it from the default 5 seconds to 10 seconds...and make sure that the check box cookies is unchecked...and that on the check tab, that you have <http://www.augros.com> http://www.augros.com entered as the site...the http part seems to be important Jon Marsden -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Tung Phan Sent: Wednesday, August 27, 2003 1:56 PM To: [EMAIL PROTECTED] Subject: RE: [SA-list] Trying to check a web page I do have the same problem. thanks -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jon A. Freivald Sent: Wednesday, August 27, 2003 1:51 PM To: [EMAIL PROTECTED] Subject: [SA-list] Trying to check a web page I'm trying to create an entry for http://www.augros.com in ServersAlive 4.0..1376 If I just define it as a URL, it works fine (status = "HTTP/1.1 200 OK"), but as soon as I put anything in the "should contain" field (I'm trying to use the string "About us"), I get "Got page and content is NOT ok". I have it working on a few other pages just fine. Any suggestions? --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/2003 --- avast! Antivirus: Inbound message clean. Virus Database (VPS): 8/26/2003 Tested on: 8/27/2003 1:59:59 PM avast! is copyright (c) 2000-2003 ALWIL Software. http://www.avast.com --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 8/26/2003 Tested on: 8/27/2003 3:24:50 PM avast! is copyright (c) 2000-2003 ALWIL Software. http://www.avast.com
<<attachment: winmail.dat>>
