[rrd-users] Using RPN variables in the RRD graph title label: simple yes or no answer

Steve Shipway s.shipway at auckland.ac.nz
Mon May 13 06:13:34 CEST 2013


> But how to access the result of the 8 PRINT commands and redirect their
> values to perl variables?

RRDs::graph returns these values.

($result,$xsize,$ysize) = RRDs::graph ...

@$result is an array containing the PRINT outputs.  $xsize and $ysize are the dimensions of the generated graphic in pixels.

http://oss.oetiker.ch/rrdtool/prog/RRDs.en.html

Steve

Steve Shipway
ITS Unix Services Design Lead
University of Auckland, New Zealand
Floor 1, 58 Symonds Street, Auckland
Phone: +64 (0)9 3737599 ext 86487
DDI: +64 (0)9 923 6487
Mobile: +64 (0)21 753 189
Email: s.shipway at auckland.ac.nz
 Please consider the environment before printing this e-mail : 打印本邮件,将减少一棵树存活的机会

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5900 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/rrd-users/attachments/20130513/2086213a/attachment-0001.bin 


More information about the rrd-users mailing list