[LARTC] Qdisc statistics project

Jose Luis Araujo jlaraujo@mercs.homeip.net
Wed, 13 Oct 2004 22:55:23 +0100


Hi Antonios.

Antonios Chalkiopoulos wrote:

>As a necessety for my job is to real-time monitor the bytes, packets, pa=
cket=20
>dropped etc of all the qdiscs working inside the kernel i've tried variu=
s=20
>methods:
>
>1. Parse tc -s command output and update a round robin database and use =

>rrdtool to graphically display tc statistics.
>
> =20
>
I have developed myself a similar setup, but i used a perl script with=20
snmp pass_persist to retrieve the data via snmp feed it to MRTG and then =

display it with a CGI script, since i changed jobs recently i made some=20
changes to the setup and was thinking in creating a sourceforge project.

But i don't think it is ready for that yet, i mean, it is working=20
beautifully for me (and in my previous employer) but there are some=20
rough edges to address first.

Btw, the setup generates TC, iptables and MRTG configuration from a=20
config file.

I think it is time to see how can the setup be improved.

>[varius perl scripts exist for the above job]
>
>2. Unsuccesfully tried QoS SNMP extensions, in order to use a new MIB to=
=20
>extract qdisc stats from.
>
>There is also some work in the kernel level that will help reveal qdisc =
stats=20
>to userspace (thanks Thomas Graf)
> =20
>
I have never heard of this, must google it.

>To get to the point.. the perl parsing method is hackish and quick&dirty=
=2E
>A proper open-source tc monitoring tool SHOULD exist ! Maybe inside ipro=
ute2=20
>maybe in sourceforge.
> =20
>
I really never tried to write a better tool, with less 'tc -s' parsing,=20
don't have the time or incentive to hack the needed code, so can't help=20
you there :-)

>Are there any volunteers to start working on such a project? I could put=
 4-6=20
>weeks full time work on that... any suggestion for the most proper solut=
ion=20
>to the above problem is welcome.
> =20
>
I can forward you the software that i use with some documentation.

>Thanks,
>Antonio =20
>_______________________________________________
>LARTC mailing list / LARTC@mailman.ds9a.nl
>http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> =20
>

Hope it Helps

Jos=E9 Ara=FAjo