Are there any tools for monitoring individual Apache virtual hosts in real-time?

Posted by Dave Forgac on Server Fault See other posts from Server Fault or by Dave Forgac
Published on 2010-05-12T20:32:22Z Indexed on 2012/10/17 5:09 UTC
Read the original article Hit count: 534

Filed under:
|
|
|

I'm looking for a way to monitor and record Apache traffic, separated by virtual host. I am currently using Munin to capture this and other data for the entire server however I can't seem to find a way to do this by vhost.

This link describes using a module called mod_watch which is apparently no longer in development:

http://www.freshnet.org/wordpress/2007/03/08/monitoring-apaches-virtualhost-with-munin/

The file that is listed as being compatible with Apache 2.x is reported to have problems with missing vhosts an reporting data correctly.

Does anyone know of a reliable way to determine real-time traffic per vhost? If I can find this it should be easy enough to write a new Munin plugin.

Edit:

What I'd really like to see is something similar to the Apache server-status scoreboard page with the number of connections / requests separated by virtual host. This would give me the ability to check which vhost may be experiencing a spike in traffic in real time and would also provide the data needed for a Munin module (or some alternative performance monitoring / analysis system.)

© Server Fault or respective owner

Related posts about apache2

Related posts about monitoring