How about integrating bandwidthd with the rrdtool library.
Rrdtool is a program and library for working with Round
Robin database files. It also includes tools to render
the .rrd database files (this can be done regulary, or
on-demand).
The benefits of this will be:
- bandwidthd development will concentrate on packet
captureing, classification, and other lowlevel stuff.
- log files will be handled by the rrdtool library. a
.rrd database doesn't need to be rotated because it
never grows. its really designed for storing this kind
of information.
- rendering will be handled by outside programs
(on-demand or otherwise). You can create any kind of
graphics with the rrdtool tools.
For more info about rrdtool:
http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/
Logged In: YES
user_id=353668
I second this request.
Logged In: YES
user_id=353668
Any progress in this area?
Logged In: YES
user_id=863707
I will look into this, I hate to add dependencies, but the log
files are a problem. More preformance and better rotation
would be a huge plus.
Logged In: YES
user_id=160678
The graphs created by bandwidthd are not really nice. I
dislike that in and out are scaled by the maximum of both.
Users tend to recieve a lot more data than they send.
rrdtool integration will make i possible to make all kinds
of graphs.
Logged In: YES
user_id=863707
I scale the graphics that way so you have a common frame of
reference, I prefer it that way, but you can modify that
behaivore in the new database driven version of bandwidthd
pretty easily.