Dear reader, I'm not updating these pages anymore. If you have tc or ip related questions, you can post them on the LARTC mailing list.

SNMP extension

Michal Charvat wrote an snmp extension so you can get tc information remotely via snmp. This requires a patched snmpd daemon. Information can be found on

Processing the tc information

I wrote some perl scripts :) to process this information.



Download the above scripts. Put in the web-server directory that's accesible as /cgi-bin. Make sure that the web-server user can execute (chmod 755
Put somewhere else and execute it each 5 minutes. You can create a file /etc/cron.d/tc-snmp with contents :
0-55/5 * * * *  root 2> /dev/null

Edit and and change the used variables. See the header of each script to find out what you need to change.



(It's possible that the example is not working)


The scripts creates also a file that can be used with mrtg to graph data. I never tested this but as fas as I understand the docs, it should work. However, mrtg is not as powerfull as my scripts +

Example : mrtg.cfg