When I wrote CDEF (a,b,c - data form data sources - graph template) , I get wrong result with two operands and / or *.
[variable], [constant], [+,-,*] - right .
[variable], [variable], [+,-,*] - right .
[variable], [variable], / - wrong .
On example, cdef= a,b,+ get right value, a,b,- - right, a,b,/ - wrong!
But a,1000,+ - right.
cacti 0.8.6.c (patched - patches from 31.1.2005).
rrd 1.0.49
php 4.3.10.
problem with CDEFs - "/"
Moderators: Developers, Moderators
yes, it prints with GPRINT result of calculations.mdw162 wrote:Does this have anything to do with your GPRINT type in the graph template? I think I remember having a problem before when I set the variable type (integer, float, etc.) wrong.
Where I can set the variable type ?
I wrote formula in cacti Graph Management -> CDEF -> custom string
can you wrote example of CDEF with typing of variables ?
Who is online
Users browsing this forum: No registered users and 8 guests