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

After rebooting a number of web servers (around 40), I would like to be able to quickly test each one to ensure that they are all up, running and will return an HTTP 200 code when called.

Please can you suggest a script or tool to do this? I should be able to run it from my Windows PC.

share|improve this question
up vote 3 down vote accepted

Assuming the sites are all publicly available, it looks like you could also use this service. All you'd need to do is maintain a text document of the sites to test in order to paste into the form, seems pretty simple.

Original Message:
You could whip something up on your own, I'm personally bias towards Ruby and have used it to check service status at the end of a maintenance window.

There's a script here that you could tweak a little, perhaps to pass an array of sites you want to check.

To do this from a Windows computer you'll also need to install Ruby, which is easy with the One Click Ruby Installer.

I hope that's helpful, let me know if you need any help with the actual code.

share|improve this answer

There are a number of things that can do this sort of monitoring, from What's Up Gold to The Dude to a simple shell script like the one mentioned in Curt's answer. If you let us know what tools/languages are available to you and you are familiar with, we can provide some more examples (e.g. do you have access to bash, powershell, python, etc.; are you familiar with any programming languages, or you want a simple point and click interface?). Depending on the situation, I've used all of the above at times, and they all work to varying degrees with varying degrees of effort (and repeatability).

share|improve this answer

This should be fairly easy to do with the Nagios plugin check_http.

share|improve this answer
Nagios looks okay, but from the website it looks like it needs to be hosted on Linux PC's. I want to monitor from a Windows PC. Thanks. – Techboy Dec 9 '10 at 9:40

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.