Date: Wed, 13 Oct 1999 22:29:53 -0400 From: Dennis <dennis@etinc.com> To: support@junglenote.com Cc: isp@freebsd.org, questions@freebsd.org Subject: Re: SV: how-to setup billing per MB? Message-ID: <199910131409.KAA06789@etinc.com> In-Reply-To: <01BF1560.24EDC830.support@junglenote.com>
next in thread | previous in thread | raw e-mail | index | archive | help
At 09:48 AM 10/13/99 +0200, you wrote: >That's correct Dennis :) Any tips on how to hook up bwmgr to a database for saving results? >(if I'm not mistaken all bwmgr data is wiped upon system restart). Getting it saved to disk is, I believe >the tricky part, the rest can easily be done with a perl script for checking thresholds and calculation once >the data is saved. Right? Well you are very mistaken. Nothing is "wiped out" Are you using the HTML interface? The bwmgr gathers data and provides graphical output for day, week or month. The monthly output includes an "average usage" for the month, which is the total usage divided by the number of seconds in a month. You can take the average and multiply it out. We could also easily incorporate that total usage in the report. all you have to do is create a stats interface for the IP rule and make sure that bwmgrd is running. Dennis To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910131409.KAA06789>