From owner-freebsd-isp@FreeBSD.ORG Fri Jun 11 15:21:56 2004 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D91516A4CE for ; Fri, 11 Jun 2004 15:21:56 +0000 (GMT) Received: from bes.amduat.net (bes.amduat.net [206.124.149.190]) by mx1.FreeBSD.org (Postfix) with ESMTP id B25E143D46 for ; Fri, 11 Jun 2004 15:21:55 +0000 (GMT) (envelope-from jbarrett@amduat.net) Received: from osiris.attachmate.com ([63.115.16.66]) (AUTH: LOGIN jbarrett, SSL: TLSv1/SSLv3,128bits,RC4-MD5) by bes.amduat.net with esmtp; Fri, 11 Jun 2004 08:21:49 -0700 From: "Jacob S. Barrett" To: freebsd-isp@freebsd.org Date: Fri, 11 Jun 2004 08:21:47 -0700 User-Agent: KMail/1.6.2 References: <40C9CAD0.6060701@beast.clarksys.com> In-Reply-To: <40C9CAD0.6060701@beast.clarksys.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200406110821.47866.jbarrett@amduat.net> Subject: Re: Bandwidth Usage Billing X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jun 2004 15:21:56 -0000 On Friday 11 June 2004 08:08 am, Max Clark 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. -- Jacob S. Barrett jbarrett@amduat.net www.amduat.net "I don't suffer from insanity, I enjoy every minute of it."