[rrd-users] Total of two LAST results
Steve Shipway
s.shipway at auckland.ac.nz
Thu Jun 27 23:49:10 CEST 2013
CDEF:zusammen=maxaus_1,maxaus_2,+
VDEF:last_zusammen=zusammen,LAST
VDEF is not very flexible; it reduces a timeseries to a scalar. CDEF works
on timeseries to give a timeseries. So the above creates a new timeseries
‘zusammen’ using a CDEF then uses a VDEF to convert it to a scalar (IE,
the ‘LAST’ operation)
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: <mailto:s.shipway at auckland.ac.nz> s.shipway at auckland.ac.nz
P Please consider the environment before printing this e-mail : 打印本邮件,
将减少一棵树存活的机会
From: rrd-users-bounces+s.shipway=auckland.ac.nz at lists.oetiker.ch
[mailto:rrd-users-bounces+s.shipway=auckland.ac.nz at lists.oetiker.ch] On
Behalf Of Mathias Betschart
Sent: Friday, 28 June 2013 12:17 a.m.
To: rrd-users at lists.oetiker.ch
Subject: [rrd-users] Total of two LAST results
Hi,
how is it possible to add two LAST results and show in GPRINT?
I try with:
VDEF:last_1=maxaus_1,LAST \
VDEF:last_2=maxaus_2,LAST \
VDEF:last_zusammen=maxaus_1,maxaus_2,+ \
last_1 show "25.03"
last_2 show "3"
last_zusammen show "25,21"
Thanks for an answer
Mat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20130627/15efb0eb/attachment-0001.htm
-------------- 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/20130627/15efb0eb/attachment-0001.bin
More information about the rrd-users
mailing list