Apache 2 - measuring virtual host traffic

Discussion in 'Server Operation' started by Karel, Jun 6, 2008.

  1. Karel

    Karel New Member

    Hello,

    I'm looking for a simple way to monitor the traffic each virtual host generates on my server.

    I've already tried mod_watch with Munin (relatively nice graphs, unfortunately not in Debian repositories + requires ugly hacks to work with newer versions of Apache + is an overkill). Mod_cband seems to be abandoned (at least, it has been removed from Debian Lenny), but doesn't have problems integrating with Apache2. None of these provide the functionality.

    I would like a simple tool, preferably with output to a text log (something like hourly traffic) - I don't need to throttle any website, I just want to know how much traffic each of my clients generated (I know the total of the server).

    Any advices?
     
  2. falko

    falko Super Moderator Howtoforge Staff

    I'm not aware of such a module, so I think you'd have to parse the access log of each web site to find out the traffic.
     

Share This Page