Home Accessibility Courses Twitter The Mouth Facebook Resources Site Map About Us Contact
 
Python and Tcl - public course schedule [here]
Private courses on your site - see [here]
Please ask about maintenance training for Perl, PHP, Lua, etc
 
Checking that all our servers are up and accessible

We run a number of domains (around 50) on different servers (around half a dozen) in various locations in Englnd, Germany and the USA. How can I keep track of them all / do a quick test to chek that - at the least - they're all online to the Internet? And how can I do that test from anywhere I happen to be with a net connection ... even if I'm in a remote location at an Internet cafe or customers's machine?

There's a script on our main web site (and various backup copies on other sites) that uses Expect to "ping" around a domain on each server ... and it then reports the results to the browser. Because expect can support a number of processes in parallel, performance is fast, even if a number of the servers are down.

We're trainers. Love to tell people how we do things. So you can read a bit more about it in our resources centre, try the script out in our programs directory and even view the source code. If you want to learn how to write this sort of thing for yourself, have a look at our Tcl course.

P.S. The script actually doubles up ... run on our own network, it provides a quick and easy way to see, at a click, which training systems are on the network and whether we're connected to the Internet at the current time.
(written 2005-04-22, updated 2006-06-05)

 
Associated topics are indexed as below, or enter http://melksh.am/nnnn for individual articles
T212 - Tcl/Tk - Expect Processes
  [4678] Expect with Ruby - a training example to get you started - (2016-05-18)
  [3448] Checking all the systems on a subnet, using Expect and Tk - (2011-09-18)
  [2489] Parallel Pinging, using Python Threads or Expect spawn lists - (2009-11-02)
  [2474] Using Tcl and Expect to automate repetitive jobs - (2009-10-24)
  [1785] What is running on your network? (tcl and expect) - (2008-09-04)
  [1173] Cheat Sheet / Check list for Expect maintainers - (2007-05-02)
  [675] Adding PHP tags to an old cgi program - (2006-04-08)


  Previous and next
or
Horse's mouth home
 
Some other Articles
posts, page by page

This is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price.

Link to Ezine home page (for reading).
Link to Blogging home page (to add comments).

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2019: 404 The Spa • Melksham, Wiltshire • United Kingdom • SN12 6QL
PH: 01225 708225 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho

PAGE: http://www.wellho.net/mouth/287_Chec ... sible.html • PAGE BUILT: Sat May 27 16:49:10 2017 • BUILD SYSTEM: WomanWithCat