From: Kyle Smith Date: 2009-07-24T03:34:07+09:00 Subject: Re: Watching a website for periodic outages On Fri, 24 Jul 2009 02:52:37 +0900, Glen Holcomb wrote: > I'm needing to monitor a web application for periodic outages and log the > duration. > > I originally tried this with SafariWatir as the login is javascript so I > can't use Mechanize. However Watir seems to give up if the page takes > longer than 10 seconds to load, normally I would just catch this error and > retry until successful. However after running for a little while the > browser seems to hang up, I can reach the app from another browser. Plus > the documentation for SafariWatir seems to be non-existant. > > Can anyone think of a better way to do this? Or point me to some > SafariWatir documentation? What ever I use needs to be able to handle > Javascript and cookies. Sounds like you're looking for a monitoring solution like Nagios or Zenoss, which would keep historic data of the status of the site, and produce alerts when it's unavailable. - Kyle -- - Kyle