From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Thu, 14 Oct 2004 18:22:01 +0000 Subject: Re: [LARTC] Qdisc statistics project Message-Id: <200410142022.02014.stef.coene@docum.org> 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 On Thursday 14 October 2004 10:39, Antonios Chalkiopoulos wrote: > > >As a necessety for my job is to real-time monitor the bytes, packets, > > > packet 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 > > >rrdtool to graphically display tc statistics. > > > > I have developed myself a similar setup, but i used a perl script with > > 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 > > changes to the setup and was thinking in creating a sourceforge project. > > I guess you use the qos snmp extentions to achieve the above. The only > drawback to your design is the cpu usage of cgi. > > > But i don't think it is ready for that yet, i mean, it is working > > beautifully for me (and in my previous employer) but there are some > > rough edges to address first. > > I can forward you the software that i use with some documentation. > > Please do so. I did the same, see www.docum.org. Most of the scripts are a mess :) but t= hey=20 work for me. My scripts can: - parse tc output and recreate the tc setup (parent - child relation ship) - use snmp extension to get stats remotly - use rrd to store the stats - a cgi script to generate graphs on the fly - create/edit htb + filters setup and generate commands graphical (cgi-bin = script, 1 big hack) - realtime graphs ina browser: written in java, but data is fetched from a = webserver so it's not that handy - much more that I forgot The development of these scripts is stopped. I'm rebuilding my house, maki= ng=20 a website, I'm a father for 6 months now, ...... but if an interesting=20 project is started, I want to help. Stef --=20 stef.coene@docum.org =A0"Using Linux as bandwidth manager" =A0 =A0 =A0http://www.docum.org/ _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/