[rrd-users] Re: Division Bug with RRDTool
Serge Maandag
serge.maandag at staff.zeelandnet.nl
Fri Dec 2 20:58:25 MET 2005
> I´m making graphs with rrdtool, but I think that the the
> percentage values do not correspond the reality. I am using
> template graphs.mf without no alteration in expressions RPN.
Can't say I ever heard of "template graphs.mf".
> Expressions:
> DEF_subnet_out_bytes =
> DEF:xsubnet_out_bytes=$(rrddir)/subnet.rrd:out_bytes:AVERAGE
> DEF_subnet_in_bytes =
> ......
> div_Mbps = 0.272552 (subnet_Mbps/TOTAL_Mbps)
> <========== error
>
> But, using a calculator, 0.040251/0.079754 = 0.504689
>
> I would like to know what´s happening?
Well these can't be the commands you used.
You have empty DEF lines and no PRINT/GPRINT lines.
Post the ones you did use, otherwise noone can help you..
Serge.
-------------
Op de inhoud van dit e-mailbericht en de daaraan gehechte bijlagen is de inhoud van de volgende disclaimer van toepassing: http://www.zeelandnet.nl/disclaimer.php
-------------
For the content of this e-mail message and its attachment(s) the following disclaimer applies: http://www.zeelandnet.nl/disclaimer.php
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the rrd-users
mailing list