Skip to contentSkip to conversation

Collect iproute2 traffic stat

LARTC Xorader Babka 3 participants 3 messages Sep 19, 2002

lore
Share & tools
lore
#0 lore raw

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/
#1 lore raw
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/
#2 lore raw
In reply to Xorader Babka

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/