Monitoring Apache2 bandwidth usage by individual VirtualHosts
At Weblogs.us we have been going through bandwidth at a fast pace lately. We use Apache2 as our web server, and while we have some rough bandwidth monitoring tools, we could really use a more granular view of bandwidth usage. The ideal solution for us would be a time configurable view (i.e. hour, day, month, year) of bandwidth usage on a per VirtualHost basis.
While researching solutions these were the most useful links I found:
mod_logio – Apache HTTP Serverhttp://httpd.apache.org/docs/2.0/mod/mod_logio.htmlCustom Log Formats This modules adds two new logging directives. The characteristics of the request itself are logged by placing “%” directives in the format string, which are…
Weblog for chris – Apache2 virtual host bandwidth logginghttp://www.debian-administration.org/users/chris/weblog/2Looking for something to log virtual host bandwidth for apache 2. I have many hosts spread across 6 IP addresses with name based virtual hosting. I can find several options for…
Making Apache httpd Logs More Useful – O’Reilly Mediahttp://onlamp.com/pub/a/onlamp/2007/02/02/apache-debugging-logs.htmlThere are a few things that you can do to make your access log more useful, such as using the combined, rather than the common, logfile format–but that’s another article. Look…