John Herren’s Blog

Realtime Apache Monitoring with Spread

April 14, 2007 · 2 Comments

Typically if you need to monitor Apache, you have to rely on log file analysis or the built in server-status tool via mod_status. I wanted something better to monitor all the hosts on my web cluster.

Now that I’ve got realtime Apache log consolidation working, I found a cool utility in Theo Schlossnagle’s book, Scalable Internet Architectures that let’s you see realtime response code stats for your web cluster. I call the thing wwwtop.

The output looks like this, using the first four hosts with a one-second interval:

wwwtop

Looks like I’ve got some 404’s to hunt down.

Some To-dos:

  • pretty aggregate output, similar to mytop.
  • a version to monitor APC stats the same way

Combined with top, vmstat, bmon, mytop, and now this, I’ve got a complete toolkit for monitoring the web stack.

Categories: Geeking Out · Sysadmin

2 responses so far ↓

  • Steve C // March 22, 2009 at 12:07 am | Reply

    Just out of curiosity, are you complying with the license?:

    “3. All advertising materials (including web pages) mentioning features or use of this software, or software that uses this software, must display the following acknowledgment: “This product uses software developed by Spread Concepts LLC for use in the Spread toolkit. For more information about Spread see http://www.spread.org“”

    I wanted to try Spread and related projects but this is a deal killer.

Leave a Comment