I am using RTG from http://rtg.sourceforge.net/, not to be confused with MRTG, PRTG or else, to monitor switch port throughput.
RTG basically does this: Its demon continually polls packet counters of a SNMP-enabled device and records them in an SQL database. A perl script allows to output summaries for traffic on specific ports in specific time ranges. Like: Report the daily usage on port “customer-1” and send it per e-mail.
Although RTG has not been updated since 2005, it works well (however I never git the graphing components running) on Ubuntu Lucid. Unfortunately, I did not get to compile it on a more recent version. Lucid will lose support next year.
Does /r/linuxadmin know projects that will fit this purpose?
[link][10 comments]