Aggregate graph with 64 bit counters?
Moderators: Developers, Moderators
Aggregate graph with 64 bit counters?
I have two traffic (bytes/second) graphs that use 64 bit counters. (Image shown).
I am trying to use the aggregate plugin to create one graph that shows the combined total of the input and the output traffic.
I selected the graphs, click on the "Create Aggregate Graph" option, selected "Print totaling legend items only", selected "Total Similar Data Sources", and have tried various options for "Graph Type", but no matter what I choose, no graph is created. I did change the Cacti log doesn't show any errors either. What am I doing wrong?
I am trying to use the aggregate plugin to create one graph that shows the combined total of the input and the output traffic.
I selected the graphs, click on the "Create Aggregate Graph" option, selected "Print totaling legend items only", selected "Total Similar Data Sources", and have tried various options for "Graph Type", but no matter what I choose, no graph is created. I did change the Cacti log doesn't show any errors either. What am I doing wrong?
- Attachments
-
- d.png (92.7 KiB) Viewed 2040 times
Yes I read the PDF and I found the aggregate graph, but the problem was that there was no graph being rendered. Most recent version is being used.
I finally got it working, but the problem I have now is that my "maximum" values aren't totaling correctly. However, the Current and Average are.
I finally got it working, but the problem I have now is that my "maximum" values aren't totaling correctly. However, the Current and Average are.
- Attachments
-
- Untitled2.png (42.6 KiB) Viewed 2020 times
-
- 2.png (248.64 KiB) Viewed 2020 times
-
- Untitled.png (199.84 KiB) Viewed 2020 times
Re: Aggregate graph with 64 bit counters?
max( a + b ) NOT EQUAL max(a) + max(b)
because "a" and "b" usually not peak at the same time.
because "a" and "b" usually not peak at the same time.
- TheWitness
- Developer
- Posts: 17064
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Aggregate graph with 64 bit counters?
Aggregate is working a designed.
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: Aggregate graph with 64 bit counters?
Then I guess the question is, how do I go about creating a graph that totals the input and output traffic of 4 different NICs on one server and then list the total current, average, AND max traffic?
- TheWitness
- Developer
- Posts: 17064
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Aggregate graph with 64 bit counters?
Does your existing template have a MAX line for in and out? If it does, Aggregate will aggregate it. If you have the MAX consolidated function turned on in the RRA definition, then you can alter the graph template to add Max of anything other than the 5 minute RRA. That would be aggregatable.
Now, the way things work on the 1 day graph, you are not going to have any max's. And total traffic will be:
Int1 + Int2 + Int3 + Int4 = Total = Max
If you are displaying the 30 minute RRA (aka Weekly Graph), then you can get a better MAX, but it still equates to, for every 30 minute sample:
MAX(Int1 over 30 minutes) + MAX(Int2 over 30 minutes) + ...
TheWitness
Now, the way things work on the 1 day graph, you are not going to have any max's. And total traffic will be:
Int1 + Int2 + Int3 + Int4 = Total = Max
If you are displaying the 30 minute RRA (aka Weekly Graph), then you can get a better MAX, but it still equates to, for every 30 minute sample:
MAX(Int1 over 30 minutes) + MAX(Int2 over 30 minutes) + ...
TheWitness
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: Aggregate graph with 64 bit counters?
For each of the interfaces, I'm using the standard "In/Out Bytes (64 bit counters)" graph template. Below are some images of the template, the data source, the RRAs in use, and the consolidation functions.
I'm not looking for a "Max" line to be drawn, just the max to be totaled at the bottom. You are saying that I need to add a MAX LINE to each of the initial graphs, in order for Aggregate to total it and then do a GPRINT of the combined total?
I'm not looking for a "Max" line to be drawn, just the max to be totaled at the bottom. You are saying that I need to add a MAX LINE to each of the initial graphs, in order for Aggregate to total it and then do a GPRINT of the combined total?
- Attachments
-
- Untitledd.png (23.86 KiB) Viewed 1943 times
-
- ds.png (35.05 KiB) Viewed 1943 times
-
- rra.png (19.15 KiB) Viewed 1943 times
-
- rra2.png (15.57 KiB) Viewed 1943 times
Who is online
Users browsing this forum: No registered users and 0 guests