Collect iproute2 traffic stat
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 ?
Signature · 7 lines
Xor mailto:[email protected] _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 8 lines · Xorader Babka
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
Signature · 8 lines
[email protected] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / [email protected] 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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/