On Fri, 2004-02-27 at 11:32, Roy Britten wrote: > Any recommendations for Linux-based tool for checking the > availability/integrity of a web site? I don't want to just check > for the existence of a service on port 80, I want to, at a > minimum, check for appropriate/correct page content, and > preferably be able to script up some navigation, form submittal > etc.
The "powerful" way to solve the problem in a general way would be to install something like nagios (which I'm currently using - it's based on netsaint. Linux only, http://nagios.org) or big brother (both free and commercial, runs on windows, see http://bb4.com), which understands multiple hosts, interconnection dependancies (i.e. if a router goes down, suspend checks on hosts behind it), and how to check individual services on each host in detail. However, nagios at least doesn't come with a plug-in to carry on a dialogue with a webpage - I suspect that there will be one in the contributions, and in any case, plugins are easy to write. > I guess something like a cron job executing > wget | grep | wc | mail > would be a basic solution, but I'm hoping that there's something > more powerful already out there. If that gets the job done now, get that going then spend time looking for a "better" solution :-) -jim
