From owner-freebsd-isp Tue Jun 18 18:51:53 2002 Delivered-To: freebsd-isp@freebsd.org Received: from munkboxen.mine.nu (213-152-51-194.dsl.eclipse.net.uk [213.152.51.194]) by hub.freebsd.org (Postfix) with ESMTP id 3320037B405 for ; Tue, 18 Jun 2002 18:51:47 -0700 (PDT) Received: (from munk@localhost) by munkboxen.mine.nu (8.11.6/8.11.6) id g5J1oAL05924 for freebsd-isp@FreeBSD.ORG; Wed, 19 Jun 2002 02:50:10 +0100 (BST) (envelope-from munk) Date: Wed, 19 Jun 2002 02:50:10 +0100 From: Jez Hancock To: freebsd-isp@FreeBSD.ORG Subject: Re: Bandwidth billing and measurement scripts Message-ID: <20020619025009.A5801@munkboxen.mine.nu> Mail-Followup-To: freebsd-isp@FreeBSD.ORG References: <20020619000227.A5671@munkboxen.mine.nu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from mark@work.drapple.com on Tue, Jun 18, 2002 at 04:59:32PM -0700 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Jun 18, 2002 at 04:59:32PM -0700, Mark Hartley wrote: > I have been using analog (/usr/ports/www/analog) to analyze the apache logfiles > in this instance. It isn't 100% accurate due to headers & such, but analog does > give you some reasonably close transfer numbers you can work with. Add to that > your analysis of your ftp transfer logs (for their uploading stuff to their > site), and your analysis (/usr/ports/mail/sma) of the sendmail logs, you can get > a reasonable number for each client. I'm doing this, but I do not have it all > scripted (yet). I also don't have a really good ftp log analysis app. (any > suggestions?) I had heard that this was the standard way of proceeding and was quite amazed there exists no (de-facto) utility to capture bandwidth consumption details for a name based web server other than analog et al. I seem to remember someone mentioning once that a possible way of proceeding would be to capture the bandwidth stats at the router/border machine, however obviously this would require that the router was capable of doing such logging based on fully qualified domain names and not IP addresses. No doubt a utility exists... if not, thank the lord Larry Wall gave us Perl :) -- Favourite pickup line: Hey baby, wanna synchronize sequence numbers? Warning: not always effective To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message