Skip to contentSkip to conversation

traffic monitoring: help regarding

LARTC Stef Coene 3 participants 3 messages Feb 8, 2002

lore
Share & tools
lore

Stef Coene

author
#0 lore raw
Quoted 6 lines · Project Work

Hello,
We are doing a project on bandwidth management. We are controlling the
outgoing bandwidth using HTB. Currently we are viewing the traffic rate using tc. We want to extract the rate of the traffic, the number of packets and then display on our interface in real time (traffic monitoring).

I'm currently working on a tool to do this. For now, it takes the output of tc and generates three grahs for each qdisc/class : packet/s, byes/s, size of packets. It's not real-time (runs from crontab each 5 minutes) to collect the data and creates the images on the fly.
I also want to parse the output from iptables so you can make graphs of all traffic you want. I also searched for a script to view this graphs in real time, but I have no idea to do this :-(. I wrote a perl script that generates somthing in html, but it looks awfull. It uses the output of iptables. You can find this all on www.docum.org (graphs under GUI and realtime monitor under monitor.pl). I really want to create something usefull and any help is appreciated.

Quoted 2 lines

We also want to control the incoming bandwidth based on IP, Protocol etc. Could you please suggest ways for doing these.

You can use a dedicated box to shape the traffic and place it between the link and the network.

Signature · 7 lines
[email protected]
 More QOS info : http://www.docum.org/
 Title : "Using Linux as bandwidth manager"

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
#1 lore raw
Quoted 5 lines · Project Work

Hello,
We are doing a project on bandwidth management. We are controlling the
outgoing bandwidth using HTB. Currently we are viewing the traffic rate using tc. We want to extract the rate of the traffic, the number of packets and then display on our interface in real time (traffic monitoring). We

'iptraf' and 'trafshow' can help.

Quoted 2 lines

also want to control the incoming bandwidth based on IP, Protocol etc. Could you please suggest ways for doing these.

You can use the ingress policer with the right u32 filters to achieve this.

Regards,

bert

Signature · 7 lines
http://www.PowerDNS.com          Versatile DNS Software & Services
http://www.tk                              the dot in .tk
Netherlabs BV / Rent-a-Nerd.nl           - Nerd Available -
Linux Advanced Routing & Traffic Control: http://ds9a.nl/lartc
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
#2 lore raw
In reply to Stef Coene

Hello,
We are doing a project on bandwidth management. We are controlling the
outgoing bandwidth using HTB. Currently we are viewing the traffic rate using tc. We want to extract the rate of the traffic, the number of packets and then display on our interface in real time (traffic monitoring). We also want to control the incoming bandwidth based on IP, Protocol etc. Could you please suggest ways for doing these.

Regards,
Viswanath, Pramod, Leetha.

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/