Hi,
I created two aggregate graphs(traffic_in). To make it as simple as possible:
Aggregate 1:
Graph A
Graph B
Graph C
Graph D
TOTAL (A+B+C+D)[/i]
Aggregate 2:
Graph E
Graph F
Graph G
Graph H
TOTAL (E+F+G+H)
What I want to achieve is, to collect them all in one big graph like this:
Graph A
Graph B
Graph C
Graph D
TOTAL (A+B+C+D)
Graph E
Graph F
Graph G
Graph H
TOTAL (E+F+G+H)
Visually I did it, but the problem that worries me is the TOTAL graph. Both show the same value, the total value of all sources! Logical, because I used _AGGREGATE ALL Turn Bytes into Bits in CDEFs.
Can anyone help me with this situation? Any string which can I use correctly in CDEFs?
Thanks
Correct CDEFs in Aggregate Graph
Moderators: Developers, Moderators
Re: Correct CDEFs in Aggregate Graph
You can try to define a CDEF like this:
1st CDEF:
a,b+,c+,d+ which will give you the Total of A,B,C,D
2nd CDEF:
e,f,+,g,+,h,+ gives you the Total of E,F,G,H
or all together:
a,b,+,c,+,d,+,e,+,f,+,g,+,h,+
1st CDEF:
a,b+,c+,d+ which will give you the Total of A,B,C,D
2nd CDEF:
e,f,+,g,+,h,+ gives you the Total of E,F,G,H
or all together:
a,b,+,c,+,d,+,e,+,f,+,g,+,h,+
Re: Correct CDEFs in Aggregate Graph
@Dummy
Thanks for the idea!
Managed to fix the issue using this CDEF like this: a,b,c,d,e,+,+,+,8,*
So, I created two of them:
SUM_A+B+C+D_Turn Bytes into Bits: a,b,c,d,+,+,+,8,*
SUM_E+F+G+H_Turn Bytes into Bits: e,f,g,h,+,+,+,8,*
I'm not sure if this string was typed correct, but the aggr. graph appeared with no errors , also the values were all correct.
thnx
Thanks for the idea!
Managed to fix the issue using this CDEF like this: a,b,c,d,e,+,+,+,8,*
So, I created two of them:
SUM_A+B+C+D_Turn Bytes into Bits: a,b,c,d,+,+,+,8,*
SUM_E+F+G+H_Turn Bytes into Bits: e,f,g,h,+,+,+,8,*
I'm not sure if this string was typed correct, but the aggr. graph appeared with no errors , also the values were all correct.
thnx
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Correct CDEFs in Aggregate Graph
The RPN acronym is either racist, or nationalist depending on if you are of the half empty or half full persuasion. If you are the half full type, it's an acknowledgement that the author must have been a great Polish inventor, who did everything like he was writing in assembler. If you are of the half empty type, when you hear "Reverse Polish Notation", you don't think, you are simply triggered cause you don't understand. I'm of the former variety, and learned to use RPN decades ago before modern calculators were invented. It takes some getting used to, but if you think, have an engineering mind, it's super easy.
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: Correct CDEFs in Aggregate Graph
Looks like I'm an "half empty type". That why I looked for help.
Who is online
Users browsing this forum: No registered users and 1 guest