So now that Comcast has implemented the 250gig a month limit I have been trying to come up with a solution to monitor my bandwidth usage and track it from month to month. Currently I am running a Buffalo WHR-HP-G54 router with third party firmware from DD-WRT. DD-WRT has it’s own built in traffic monitoring, however with the event of a power loss, the monthly tracking is lost, so because of this I wanted to come up with a solution to utilize my WHS box that runs 24/7, is on a UPS, and has basically an unlimited HDD space so log files won’t be an issue. Because I am running DD-WRT it allows me to capture SNMP packets and use that to monitor my traffic. In the past I’ve used simple tools like SNMP Traffic Grapher (STG). I soon found out that STG wouldn’t cut it for what I needed and started looking around for something more robust and something that would save my data month to month.
One of my past jobs, working for a small Dialup, DSL, and fixed wireless ISP we were in the habit of taking advantage of free and open source tools to monitor our network. Two of the tools I used on a regular basis were NAGIOS and MRTG. Both were and probably still are great tools for what we needed to monitor the network, however the people I worked with were big into Linux and understood it inside and out. I am and windows gui, give me a gui any day of the week. So I started looking around for something that would install on windows server 2003 (IE my WHS box) and found Cacti. After digging around some more I found a .exe self installer that someone put together on the Cacti forums and from there it was simple as double clicking, following a few instructions and I was up and running with Cacti on my WHS box.
Here is the Windows stand alone installer for Cacti: http://forums.cacti.net/about14946.html
The installer does everything you need to get it up and running, all you need to do, is download it, transfer it to your WHS box, then RDP into your WHS box and double click and install. The installer finds out that you already have IIS installed and up and running on your WHS box, so its a really easy, straight forward install.
Once you have Cacti installed, you then need to enable SNMP on your router, in my case I am running the buffalo router with DD-WRT which makes it extremely easy to do. Next follow the Cacti documentation to setup cacti and traffic monitoring. Once you have that done that you are now good to go and you are now monitoring you incoming and outgoing bandwidth. I now just wish I had a way to send me a notification if I were getting close to the 250gig a month cap. Like have it alert me via email if I were to get within 90% of the 250gig cap, but for now I have at least got it monitoring my traffic and logging it, which was half the battle.
As always you can register here and comment on the blog, or follow me on Twitter.
- Josh
