[rrd-users] Timestamp MAX/MIN value
Stephan Harren
sh at abovenet.de
Wed Nov 5 17:42:15 MET 2003
Hi All,
is there an easier way to find out the timestamps of MAX-/MIN-values without
using bash or something than the one I found (see below)?
/usr/local/rrdtool-1.0.45/bin/rrdtool graph -a PNG test.png
DEF:innentemp=test.rrd:innentemp:AVERAGE
CDEF:maxvalue=innentemp,UN,0,innentemp,IF,PREV,UN,0,PREV,IF,MAX
CDEF:maxtime=innentemp,UN,0,innentemp,IF,PREV\(maxvalue\),GE,TIME,PREV,IF
CDEF:minvalue=innentemp,UN,INF,innentemp,IF,PREV,UN,INF,PREV,IF,MIN
CDEF:mintime=innentemp,UN,INF,innentemp,IF,PREV\(minvalue\),LE,TIME,PREV,IF
AREA:innentemp#FF0000:" 6 STD Verlauf" PRINT:innentemp:MAX:"Maximum
Temperature %.0lf" PRINT:innentemp:MIN:"Minimum Temperature %.0lf"
PRINT:maxtime:LAST:"maxtime %.0lf" PRINT:mintime:LAST:"mintime %.0lf"
Best regards,
Stephan
--
Stephan Harren
Manager Site Operations
AboveNet Deutschland GmbH
-------------------------------
Phone +49 69 90554 153
Fax +49 69 90554 111
Cell +49 173 7011126
--
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://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list