Question about percentage use of bandwidth

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
archon
Posts: 8
Joined: Tue Feb 12, 2008 4:20 pm

Question about percentage use of bandwidth

Post by archon »

Hi,
Situation: 1 interface and 4 vlans on it,
Problem: how to graph percentage use of bandwidth per vlan?

What i mean, let's say i have 10Mbit of traffic, Vlan1-1Mbit, Vlan2-2Mbit, Vlan3-5Mbit and Vlan4-2Mbit (10%, 20%, 50% and 20%). Now i would like to create a graph with constance height and a rows divided in proportion mentioned above (for ex. 100pix height of graph and 10px is green (V1), next up on it 20pix is blue (V2) and so on).
I don't know if it's understandable but i gave my best ;)
Regards
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Question about percentage use of bandwidth

Post by Howie »

archon wrote:Hi,
Situation: 1 interface and 4 vlans on it,
Problem: how to graph percentage use of bandwidth per vlan?

What i mean, let's say i have 10Mbit of traffic, Vlan1-1Mbit, Vlan2-2Mbit, Vlan3-5Mbit and Vlan4-2Mbit (10%, 20%, 50% and 20%). Now i would like to create a graph with constance height and a rows divided in proportion mentioned above (for ex. 100pix height of graph and 10px is green (V1), next up on it 20pix is blue (V2) and so on).
I don't know if it's understandable but i gave my best ;)
Regards
The type of graph you want is called a stack in rrdtool terms. That part is pretty easy, but you need to get the data first!

You need your switch to give you per-vlan traffic stats though, and not all switches do - for example, a lot of Cisco and Extreme device won't.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
archon
Posts: 8
Joined: Tue Feb 12, 2008 4:20 pm

Re: Question about percentage use of bandwidth

Post by archon »

Howie wrote:
The type of graph you want is called a stack in rrdtool terms. That part is pretty easy, but you need to get the data first!

You need your switch to give you per-vlan traffic stats though, and not all switches do - for example, a lot of Cisco and Extreme device won't.
The data isn't a problem i have everything what i need :)
The vlans was only an example of what i would like to do.
archon
Posts: 8
Joined: Tue Feb 12, 2008 4:20 pm

Post by archon »

I've found something similar to what i want to achieve:
http://forums.cacti.net/files/pb_cacti.jpg
but i want to graph bandwidth not cpu usage, any suggestion? (i do have all needed data sources ready)
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

You may find the AGGREGATE plugin useful
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest