From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jose Luis Araujo Date: Wed, 13 Oct 2004 21:55:23 +0000 Subject: Re: [LARTC] Qdisc statistics project Message-Id: <416DA44B.5060001@mercs.homeip.net> List-Id: References: <200410121632.38611.alg0@iit.demokritos.gr> In-Reply-To: <200410121632.38611.alg0@iit.demokritos.gr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org Hi Antonios. Antonios Chalkiopoulos wrote: >As a necessety for my job is to real-time monitor the bytes, packets, pack= et=20 >dropped etc of all the qdiscs working inside the kernel i've tried varius = >methods: > >1. Parse tc -s command output and update a round robin database and use=20 >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=20 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 st= ats=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. >A proper open-source tc monitoring tool SHOULD exist ! Maybe inside iprout= e2=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 solutio= n=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 _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/