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:
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.






2 responses so far ↓
Steve C // March 22, 2009 at 12:07 am |
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.
John Herren // March 22, 2009 at 4:39 am |
@Steve C – well I guess I am now.. Thanks for the heads up.