[rrd-users] putting values in the legend

Yannick Marquet itcsoft54 at yahoo.fr
Mon Apr 1 01:11:45 CEST 2013


I think if these functions are deprecated, these functions should no 
longer be used.

Solution : create a VDEF for printing AVERAGE, MAXIMUM, TOTAL ...
ex :

LINE1:my500#FF0000:500 VDEF:my500av=my500,AVERAGE GPRINT:my500av:"%#.#lf"



Le 30/03/2013 01:01, Alex van den Bogaerdt a écrit :
>> Not sure what I am doing wrong ... it seems to be telling me it wants
>> a consolodation function but I don't know why.   And when I give it
>> one it complains about RPN
>> LINE1:my500#aa00aa:500 GPRINT:my500:"%#.#lf"
>> ERROR: Cannot parse CF in 'GPRINT:my500:"%#.#lf"'
> There are two different ways to (G)PRINT.  At some time it was expected that
> the new format would superseed the old format but I think that is no longer
> true.
> Which version you use depends on what kind of vname it is:
> DEF, CDEF generated vnames: GPRINT:vname:CF:format
> VDEF generated vnames: GPRINT:vname:format
> You don't use VDEFs, so you will have to use the "old" style
> GPRINT:vname:CF:format
> try GPRINT:my500:AVERAGE:"%#.#lf"
> Alex
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

More information about the rrd-users mailing list