Problem with Sum - CDEF function
Moderators: Developers, Moderators
Problem with Sum - CDEF function
Good morning!
I made the follwing CDEF funcion:
Traffic_Out : b,d,f,h,+,+,+,8,*
Traffic In : a,c,e,g,+,+,+,8,*
And see the picture in annex to clarify.
In the MAX item I have b=935.83 M
d=10.60 K
f=210.86 M
h=10.73K
The total should be = 1.15 G, but the Cacti shows 983.96 M.
What is wrong in this case?
The Last (Atual) and Average (Media) the value is correct!!!
Thanks in advance.
I made the follwing CDEF funcion:
Traffic_Out : b,d,f,h,+,+,+,8,*
Traffic In : a,c,e,g,+,+,+,8,*
And see the picture in annex to clarify.
In the MAX item I have b=935.83 M
d=10.60 K
f=210.86 M
h=10.73K
The total should be = 1.15 G, but the Cacti shows 983.96 M.
What is wrong in this case?
The Last (Atual) and Average (Media) the value is correct!!!
Thanks in advance.
- Attachments
-
- Graficos CACTI.txt
- (290 Bytes) Downloaded 57 times
-
- Cacti Summ.JPG (111.77 KiB) Viewed 2658 times
Re: Problem with Sum - CDEF function
not sure but have you try this ?
Traffic_Out : b,d,+,f,+,h,+,8,*
Traffic In : a,c,+,e,+,g,+,8,*
Traffic_Out : b,d,+,f,+,h,+,8,*
Traffic In : a,c,+,e,+,g,+,8,*
Re: Problem with Sum - CDEF function
BenGonGon,
I will try this sugestion!
Thanks!
I will try this sugestion!
Thanks!
Re: Problem with Sum - CDEF function
tell me if that's work
Re: Problem with Sum - CDEF function
BenGonGon
I have the same results with initial formula.
I have the same results with initial formula.
Re: Problem with Sum - CDEF function
how have you construct your graph and addition ?
- camerabob
- Cacti User
- Posts: 386
- Joined: Fri Feb 10, 2017 2:45 pm
- Location: Long Island, New York, USA
- Contact:
Re: Problem with Sum - CDEF function
Why the *8 at the end?
Prod: Cacti 1.2.15 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Re: Problem with Sum - CDEF function
BenGonGon
Yes. I construct de graphics. The result of sum is the same value.
Yes. I construct de graphics. The result of sum is the same value.
- Attachments
-
- Formula.JPG (32.26 KiB) Viewed 1805 times
-
- Parametros.JPG (133.21 KiB) Viewed 1805 times
Re: Problem with Sum - CDEF function
camerabob
*8 to convert bytes in bits.
*8 to convert bytes in bits.
Re: Problem with Sum - CDEF function
Hello,
it is possible to show me this please ?
it is possible to show me this please ?
Re: Problem with Sum - CDEF function
Good morning.
- Attachments
-
- TOTAL SUM.jpg (399.2 KiB) Viewed 1632 times
Re: Problem with Sum - CDEF function
Hello,
it is normal cdefed ?
it is normal cdefed ?
Re: Problem with Sum - CDEF function
BenGonGon
Yes, I separate the lines of In and Out.
Yes, I separate the lines of In and Out.
Re: Problem with Sum - CDEF function
The sum of Average and Last are correct value.
The problem is only in MAX!.
The problem is only in MAX!.
Who is online
Users browsing this forum: No registered users and 2 guests