Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm doing some research into how I can collect and graph useful statistics from apache per vhost:

  • Bandwidth Usage
  • Number of requests
  • Errors
  • Busy workers
  • Free workers
  • Queued/Waiting requests

Bonus points for solutions including average performance for:

  • Request time
  • Requests / second
  • Requests per keep alive connection
  • All of the above overall rather than per vhost

I've been spoiled by awesome tools like Google Analytics and Copper Egg, so I'm hoping for a tool in that vein. I want graphs of historical data, and I want something that's easy to setup. Any suggestions that require I write a log parser are on the wrong track.

There are a good number of tools out there that can contribute to my checklist but it doesn't seem like there is any one that can do it all painlessly. I even welcome commercial tools.

  • Munin (generic graphing tool)
  • Cacti (generic graphing tool)
  • OpenNMS (generic graphing tool)
  • mod_logio (bandwidth data)
  • mod_status (worker status, active requests per vhost, average requests/s)
  • AWStats (log based statistics)
  • VMware vFabric Hyperic (probably the closest thing to what I want, it looks like you can even get an apache snmp module from them for free)

Have I missed some awesome tools?

share|improve this question
You might want to check out Logstash: logstash.net/docs/1.1.5/tutorials/metrics-from-logs –  Not Now Nov 25 '12 at 22:55
add comment

1 Answer

There are a few commercial tools that could help you with this. Like @Not Now said, you could look at something that does log aggregation like Logstash or Splunk. You can also look at a purely metric based solution like Metrink.

share|improve this answer
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.