Bandwidth Usage Billing

Max Clark maxc at beast.clarksys.com
Fri Jun 11 16:01:52 GMT 2004


Jacob,

Have you had any problems using mrtg+rrd to track this data? I guess the 
better question would be, what would advantages of using cricket over 
mrtg (or vice versa) be?

Thanks,
Max

Jacob S. Barrett wrote:

> On Friday 11 June 2004 08:08 am, Max Clark <maxc at beast.clarksys.com> wrote:
> 
>>MRTG is the defacto snmp bandwidth monitoring tool, however it does not
>>track total GB transfered and the 95th percentile without external
>>hacks, and even with this, your data will be truncated rather quickly.
> 
> 
> You can configure MRTG or any other RRD based system to keep higher resolution 
> data longer.  We keep the 5 second data for 3 months.  After that I think it 
> goes into 20 minute averages that are kept for a year, then daily averages 
> for 5 years.  The RRD files will be a lot larger, but a lot more accurate for 
> billing purposes.
> 
> 
>>How does one set up a bandwidth billing system (are there systems
>>already out there for this) to track their customer's usage?
> 
> 
> We just us a simple perl script to sum up the RRD data at the end of the 
> billing cycle.  We also have some PHP pages for customers to monitor their 
> usage over the month.
> 
> Another company I know uses cricket to dump the data into a SQL database as 
> well as RRD.  They use the RRD for graphing and the SQL for billing.
> 



More information about the freebsd-isp mailing list