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
Question about percentage use of bandwidth
Moderators: Developers, Moderators
- 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
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!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
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!)
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!)
Re: Question about percentage use of bandwidth
The data isn't a problem i have everything what i needHowie 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 vlans was only an example of what i would like to do.
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)
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)
Who is online
Users browsing this forum: No registered users and 1 guest