Re: Qdisc statistics project

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Antonios.

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.

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.

Btw, the setup generates TC, iptables and MRTG configuration from a 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 extract qdisc stats from.

There is also some work in the kernel level that will help reveal qdisc stats to userspace (thanks Thomas Graf)


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 iproute2 maybe in sourceforge.


I really never tried to write a better tool, with less 'tc -s' parsing, don't have the time or incentive to hack the needed code, so can't help you there :-)

Are there any volunteers to start working on such a project? I could put 4-6 weeks full time work on that... any suggestion for the most proper solution to the above problem is welcome.


I can forward you the software that i use with some documentation.

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



Hope it Helps

José Araújo



_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux