Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a web server image that I am responsible for building across multiple servers. I have a list of about 50 URL's that I am supposed to go to and confirm the correct content is showing up. Which automated tools exist to do this easily (without writing a bunch of curl requests and regexes in a script file) .

share|improve this question
up vote 1 down vote accepted

I have my doubts that you'll find anything easier than curl (or wget) and a few lines of $SCRIPTING_LANGUAGE_OF_CHOICE. Seriously, it's about 5 minutes work. In Ruby (slightly complicated by the fact that Net::HTTP is furgly):

require 'net/http'

$stdin.each_line do |l|
  url, content = l.split(/\s+/, 2)
  puts "#{url} failed!" unless Net::HTTP.get(URI.parse(url))=~ /#{content}/
share|improve this answer

While I agree with the sentiment that curl/wget and scripting can get the job done well, if you are really looking for another way, consider penetration testing tools. Especially if you need to interact with the site, for example to log in to the site, these tools will allow you to automate your testing. Of course, you will still need to do a little work to configure/script the tool to do what you need.

share|improve this answer

This people offer a service, I do think you don't need them but it could be useful.

You could make a PHP (Or in the language you're websites are up) to check status on services.

check status > wget > grep

share|improve this answer
Oh, reposted what Womble said, Silly me. – user39621 Apr 3 '10 at 15:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.