Hello Members,
Added a question to this post - I want to see "total bandwidth" for several devices. I will use the aggregate graph feature.
What type of graph template should I used to see "totals" of the interfaces, In and Out, and even a sum of these values?
I have tried using In/Out Bits - Negative Out - but it seems I get no totals, only current, average and max values in the aggregate graph.
I am trying to use the In/Out Bits (Total Bandwidth) graph template - is this the correct approach??
How does cacti calculate totlal bandwidth for an interface (or interfaces)?
I am not quite understanding how it works.
I have seen the formula in the "Total Bandwidth" template: |sum:auto:current:2:auto|. This is being used for both in and out.
I have seen a posting on the cacti forum, where a user suggested using this version: |sum:auto:total:2:auto|
I have tried both of these in a template to graph a device with ONE interface, and get confusing information.
Does cacti total both in and out - which it calls total bandwidth?
If I use the equation with the "total" keyword I get the same value for in and out.
Any info or suggestions will help.
I am attempting to use an aggregate graph to "sum" the totals for multiple devices. I am testing using just 4 devices.
Any info will help,
thanks,
eholz1
Cacti, Devices, and total bandwidth
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Cacti, Devices, and total bandwidth
I think in 1.2.22, you can create an aggregate template and include the bandwidth data.
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Re: Cacti, Devices, and total bandwidth
Hello The Witness,
Thanks for the info. The forum is always helpful.
What is the difference between these two graph templates?
"In/Out Bits - Negative Out" and "Interface - Traffic (bits/sec, Total Bandwidth)" in terms of the way the collect data, and graph the data?
I assumed that if I graph ONE interface on a device using the "In/Out Bits - Negative Out" the total traffic (for the time range selected)
would be the sum of the inbound plus the outbound: here is a graph
Notice I would call the total = 8.37 K. for about 5 min.
Now look at this graph - from "Interface - Traffic (bits/sec Total Bandwidth)
AS you can see the time is 5 minutes in both cases. I know the Total Bandwith template uses this Total Out: |sum:auto:current:2:auto|
to calculate the BW. What am I not understanding about traffic flow, and inbound and outbound, etc The total is in MB, much larger than the
"In/Out Bits - Negative Out"
Thanks,
eholz1
Thanks for the info. The forum is always helpful.
What is the difference between these two graph templates?
"In/Out Bits - Negative Out" and "Interface - Traffic (bits/sec, Total Bandwidth)" in terms of the way the collect data, and graph the data?
I assumed that if I graph ONE interface on a device using the "In/Out Bits - Negative Out" the total traffic (for the time range selected)
would be the sum of the inbound plus the outbound: here is a graph
Notice I would call the total = 8.37 K. for about 5 min.
Now look at this graph - from "Interface - Traffic (bits/sec Total Bandwidth)
AS you can see the time is 5 minutes in both cases. I know the Total Bandwith template uses this Total Out: |sum:auto:current:2:auto|
to calculate the BW. What am I not understanding about traffic flow, and inbound and outbound, etc The total is in MB, much larger than the
"In/Out Bits - Negative Out"
Thanks,
eholz1
- Attachments
-
- cacti_traffic_bw.JPG (49.85 KiB) Viewed 644 times
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Cacti, Devices, and total bandwidth
Do the math, the data looks right to me.
1650 / 8 * 86400 ~= 17.8MB.
1650 / 8 * 86400 ~= 17.8MB.
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 5 guests