[rrd-users] print a variable in the COMMENT field?

Matthew Tice mjtice at gmail.com
Wed Feb 20 16:36:00 CET 2008


Hello, I'm wondering if it is possible to print a variable in the COMMENT:
field.  I have a setup like this:
       TITLE Freezer Temperature
       YAXIS Degrees Kelvin
       DEF:tl=freezer.rrd:freezerf:AVERAGE
       CDEF:k2c=tl,273.15,-
       AREA:tl#@COLOR@:Temperature
       COMMENT:\n
       GPRINT:tl:LAST:Temperature\: %2.1lf (cur)
       GPRINT:tl:MAX:\: %2.1lf (max)
       GPRINT:tl:MIN:\: %2.1lf (min)
       GPRINT:tl:AVERAGE:\: %2.1lf (avg)\n


I'd like to take that variable k2c and print it's value on the COMMENT
line.  Is this at all possible?

Thanks for any help,

Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20080220/1ef4ea67/attachment.html 


More information about the rrd-users mailing list