troubleshooting Question

Simple tracking of apache traffic

Avatar of Frosty555
Frosty555Flag for Canada asked on
Web DevelopmentApache Web ServerWeb Servers
5 Comments3 Solutions408 ViewsLast Modified:
I'm hosting my own website on a local server on my office, and I'm hoping to keep tabs on the bandwidth usage and hits that the website is getting. I'm not too concerned about analytics, I just want to monitor the activity so I can know if the website is getting more traffic than my ISP will allow or if I'm getting hammered by any automated bots or crawlers.

I'm imagining a service that runs on the linux machine that monitors / parses the apache access logs or something... but if I have to put code onto my web pages I can do that too.

I've looked into Google Analytics and while it looks great, it also is tremendously complicated and I don't need nearly that level of sophistication, I really just need to see hit-counts and a breakdown of what IP addresses queries what pages when and how often.

Is there any simple php/apache/js/something way of monitoring the traffic through my apache server, or for my website?

Bonus if it can integrate cleanly with Nagios (e.g. a nagios plugin for a service check that will tell me if I'm exceeding my expected traffic threshold).

Again, I'm looking for something simple to implement, not super-feature-filled.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 3 Answers and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros