[rrd-users] Question using VDEF

Peter Mueller peter.o.mueller at gmx.de
Fri Jul 20 23:29:44 CEST 2007

Hello RRD-Users,

I'm new to rrd and have the following question.

To show the last value of a rrd in  a meaningful unit I have to do  
some math in rrd-graph.
This works ok for CDEF and plots the right graph.


Now I want to show the last value via GPRINT and wanted to do the  
math with a VDEF.

This does not work:

The problem is in the second line when I calculate distpercent.
How can I do this? Any other way?

Looking forward to receive some help.
With best regards,

Peter Mueller
peter.o.mueller at gmx.de

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20070720/919b4fac/attachment.html 

More information about the rrd-users mailing list