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.