Graphing
Quoted 5 lines · PiotR
Good, I have written a page with an example using the output of `tc -s qdisc' to draw graphs with rrdtool. ¿Do you graph other data more specific than the tc output to test your code?, I mean, if you use debug code in htb, to output data from its internal functions.
And I've done something similar ... what would be nice is a /proc interface for reading these values directly without an exec.
Signature · 6 lines
Michael T. Babcock CTO, FibreSpeed Ltd. (Hosting, Security, Consultation, Database, etc) http://www.fibrespeed.net/~mbabcock/ _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 2 lines
And I've done something similar ... what would be nice is a /proc interface for reading these values directly without an exec.
Now there are 3 of us we did it :)
But the /proc interface isn't a bad idea. Anyone has an idea how to do this?
Stef
Signature · 7 lines
[email protected] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.openprojects.net _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 4 lines · Stef Coene
Quoted 2 lines
And I've done something similar ... what would be nice is a /proc interface for reading these values directly without an exec.
Now there are 3 of us we did it :)
But the /proc interface isn't a bad idea. Anyone has an idea how to do this?
I can have a look at it, probably the netfilter code would need to be changed.
Would be a good idea to have packet count, and other things in /proc? What do the people with experience in the kernel think?
Regards.
Quoted 4 lines
Stef
Signature · 10 lines
... ___________________________________________________________ ... | /| |\ | | /-| Pedro Larroy Tovar. PiotR | http://omega.resa.es/piotr |-\ | | /--| No MS-Office attachments please. |--\ | o-|--| e-mail: [email protected] |--|-o | \-| finger [email protected] for public key and info |-/ | |...\|_________________________________________________________|/...| _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 7 lines · PiotR
I can have a look at it, probably the netfilter code would need to be changed.
Would be a good idea to have packet count, and other things in /proc? What do the people with experience in the kernel think?
If you do this, please let me know. I would be interested in adding support for reading these counters via SNMP to the net-snmp package. It would be good to do the SNMP work in conjunction with the kernel code so we make sure that the two both do the things they expect of each other.
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 2 lines · PiotR
Would be a good idea to have packet count, and other things in /proc? What do the people with experience in the kernel think?
Whatever it is, make sure its easily parsed (tab-delimited, etc.)
There should probably be seperate class and queue lists for simplicity.
For queuing disciplines:
Type of qdisc, handle, packets, dropped packets, borrowed packets Also optionally: time since last dequeue, time since last queue, etc.
Any other thoughts?
Signature · 6 lines
Michael T. Babcock CTO, FibreSpeed Ltd. (Hosting, Security, Consultation, Database, etc) http://www.fibrespeed.net/~mbabcock/ _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 6 lines · Michael T. Babcock
For queuing disciplines:
Type of qdisc, handle, packets, dropped packets, borrowed packets Also optionally: time since last dequeue, time since last queue, etc.Any other thoughts?
if possible, count bytes as well as packets
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hi there,
We currently use CBQ to traffic-shape our boxes. Just wondering, does anybody know of a way to graph the traffic flowing to netblocks / ip addresses?
Cheers,
Sahil
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 4 lines · On Saturday 06 July 2002 14:11, Sahil Gupta - Net4U Limited wrote:
Hi there,
We currently use CBQ to traffic-shape our boxes. Just wondering, does anybody know of a way to graph the traffic flowing to netblocks / ip addresses?
I create graphs based on the tc-counters.
http://home.docum.org/stef.coene/qos/gui/rrd.html
I also monitored what-ever-I-wanted with the counters of iptables/ipchains. But I have no graphing script for this.
Stef
Signature · 7 lines
[email protected] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.openprojects.net _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Stef,
Are you using SNMP? We currently have a great model working using SNMP/MRTG but, we want to get away from SNMP as it isn't as accurate as we would like it to be. We are really looking for information off the router itself.... are you able to shed any light to it?
Cheers,
Sahil
---------------------------------------------------------------------
Net4U Limited - New Zealands Premier Internet Service Provider
-- Home of the new $24.95 Global Dialup / JetStart Service --
Visit http://www.net4u.co.nz for further information
---------------------------------------------------------------------
Quoted 10 lines · Stef Coene
Quoted 4 lines · On Saturday 06 July 2002 14:11, Sahil Gupta - Net4U Limited wrote:
Hi there,
We currently use CBQ to traffic-shape our boxes. Just wondering, does anybody know of a way to graph the traffic flowing to netblocks / ip addresses?I create graphs based on the tc-counters.
http://home.docum.org/stef.coene/qos/gui/rrd.html
I also monitored what-ever-I-wanted with the counters of iptables/ipchains. But I have no graphing script for this.
Quoted 10 lines
Stef
--
[email protected]
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.openprojects.net
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 5 lines · On Saturday 06 July 2002 16:18, Sahil Gupta - Net4U Limited wrote:
Stef,
Are you using SNMP? We currently have a great model working using SNMP/MRTG but, we want to get away from SNMP as it isn't as accurate as we would like it to be. We are really looking for information off the router itself.... are you able to shed any light to it?
I use SNMP so I can monitor the box remotely. But what do you mean with "it isn't as accurate as we would like it to be. We are really looking for information off the router itzelf" ??
MRTG is great to monitor devices, but for custom made monitor, you better create your own scripts.
I'm leaving for holiday tomorrow morning, so it's possible that you will have to wait 2 weeks for an answer on you mails.
Stef
Signature · 7 lines
[email protected] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.openprojects.net _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
[LARTC] graphing
In reply to Michael T. BabcockDoes anyone know what Martin used to generate the graphs in the HTB user guide?
http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm
Thanks!
-Jacob
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Re: [LARTC] graphing
In reply to Michael T. BabcockQuoted 2 lines · jacob martinson
Does anyone know what Martin used to generate the graphs in the HTB user guide?
Do you mean the class tree graphs? You can use GraphViz to generate those, maybe with the help of a script like
http://www.metamorpher.de/files/tc-graph.pl which creates graphs (together with GraphViz 'dot') like these
http://www.metamorpher.de/files/fairnat.png (big!).
If you mean the statistic graphs, maybe these were done with RRDTool or similar. There are scripts that create this kind of graph as well, but I haven't got an example URL handy. Maybe someone else on this list can provide one.
HTH
Andreas
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Re: [LARTC] graphing
In reply to Michael T. BabcockQuoted 2 lines · jacob martinson
Does anyone know what Martin used to generate the graphs in the HTB user guide?
Yep, it's a perl script to process the counters and I gnuplot to create the graph. I used the same scripts to create my graphs, so I downloaded it somewhere from his site.
If you can't find the scripts, let me know and I will try to find mine.
Stef
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Re: [LARTC] graphing
In reply to Michael T. BabcockQuoted 8 lines
Does anyone know what Martin used to generate the graphs in the HTB user guide?
http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm
Thanks!
-Jacob
I think Martin used the following tool to transmit frames:
http://luxik.cdi.cz/~devik/qos/ethloop/
and I suppose he used gnuplot to graph, I also did some graphs on HTB visible at http://rawsoft.org with ethloop and gnuplot. Vincent.
Quoted 4 lines
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/