Hello lartc-boys, I planed to write script, which collects traffic statistics from ''tc classes'' (different server services) and transform this by MRTG (or other...) for web view... And logs, archived in txt files or in DB (MySQL ? ) But i think, that someone made this job,.... May somebody share one''s experience or finished scripts for examples ? anyone any ideas ? -- Xor mailto:xor@uic.nnov.ru _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Thursday 19 September 2002 15:05, Xorader Babka wrote:> Hello lartc-boys, > > I planed to write script, which collects traffic statistics from ''tc > classes'' (different server services) and transform this by MRTG (or > other...) for web view... And logs, archived in txt files or in DB > (MySQL ? ) > But i think, that someone made this job,.... May somebody share one''s > experience or finished scripts for examples ?:) http://home.docum.org/stef.coene/qos/gui/rrd.html But hey, any updates/suggestions are welcome. Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
I have written a very small and simple C program parsing traffic byte values out of the iptables output, and then storing the values into a MySQL Database. Combined with a PHP webinterface for example you can also generate statistics like these ... If anyone wants the source of the small C program, just ask me for it. - Thilo Schulz _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/