[rrd-users] Graph precision

Dan Cech dcech at phpwerx.net
Thu May 31 16:51:56 CEST 2007

Michaux Julien wrote:
> As I use the AVERAGE CF to graph some data ( DEF:load=${RRDARCHIVE}:load:AVERAGE ), it's the same problem as yesterday : The LINE (LINE1:load#FF0000:"") is draw with no rounding numbers. So when the value is approximately 1 (0.842 for example) the line is not on the graduation 1. 
> Is there a way to make the graph working with rounding numbers ?

AFAIK there is no RPN function to perform rounding, but you should be
able to achieve this using the FLOOR and CEIL functions.


I haven't tried this myself, but it seems like it might work.


More information about the rrd-users mailing list