IP bandwidth usage collector?

This might be a little off topic, but I run a fairly large network, and
we sell dedicated servers to clients. All of the dedicated machines are
connected to our network of Cisco 2924XL-M Catalyst switches. I would
like to be able to collect bandwidth usage statistics for their ports
that way I can easily bill them for overage, and I don't want to have to
install anything on the machines themselves to remove the threat of

Does anyone know of a package that does this? Or would it just be best
to write some quick Perl hack to pull the bytecounter out of the Cisco's
SNMP information?

Thanks for any help anyone might be able to provide.

We run a perl program that captures snmp output from our switches every
5mon and stores the samples into a mysql database.

gashalot@gashalot.com wrote:

mrtg will also work well.... go to www.mrtg.org

Jim Thompson wrote:

Shall I be the 300th person to tell you about mrtg?

You're pretty darn close actually. For the list, I'll be writing a
little script that will pull these values from SNMP and store them in a
SQL database, so the admin script as well as the user can check their
bandwidth charts (I do use MRTG, but I like being able to look at one
screen and see the exact amount of traffic that my customers have
transferred to the net as well as what they owe us (if anything). I'll
hopefully start work on it tomorrow afternoon and might have something
finished by the end of the week.

I'll let the list know where they can grab their copy.

In addition, see


(no, I don't advice myself), thaffshow. But I am not sure if they have
the manuals in English.