Traffic accounting with SNMP and Python on Windows

Posted by kim0 on May 30, 2009 12:12 PM
By foss-boss.blogspot.com
Mail this story
Web version

If you're not on a flat-rate ISP data-plan, and your ISP made you pay extra last month such as myself. You might be interested in monitoring your total home bandwidth usage. A nifty little feature of most routers or ADSL modems, is support for SNMP. In this blog I will be writing a Windows batch file and using net-snmp tools on Windows to poll the ADSL router for SNMP usage data, then a python script will post-process the data to generate a total monthly usage report. The same python script and snmpget command can be used on Linux and other platforms

Full Story

Printed at http://lxer.com/module/newswire/view/121137/index.html