[rrd-users] How to print the correspnondent time to MAX, MIN, FIRST and LAST

Lars Rune Bjørnevik lrb at sysit.com
Mon Jan 30 12:54:01 MET 2006


Hi,
Can anyone give me a hint:

The manual for RRDTOOL Graph rpn (doc/rrdgraph_rpn.en.html)
States that the values _and_ time are retured.

How can I use / display that time in a GPRINT statement?

Snip from the manual:

MAXIMUM, MINIMUM, AVERAGE 
Return the corresponding value, MAXIMUM and MINIMUM also return the first occurrence of that value in the time component. 
Example: VDEF:avg=mydata,AVERAGE

LAST, FIRST 
Return the last/first value including its time. The time for FIRST is actually the start of the corresponding interval, whereas LAST returns the end of the corresponding interval. 
Example: VDEF:first=mydata,FIRST 
 
Cheers
Lars 

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list