[rrd-users] Need Graph Values
Anuj Jain
anujjain at sbcglobal.net
Mon Oct 13 08:02:41 MEST 2003
Hi
I am using rrdtool-2003-10-09 snapshot version.
Is there a way in which I can get the values on which the graph is
plotted (in this case values of pred and upper) and secondly the last
values of traffic, pred and upper.
Here is my rrd database
./rrdtool create test.rrd --start 920804400 --step 300 \
DS:traffic:GAUGE:600:U:U \
RRA:MAX:0.5:1:288 \
RRA:MAX:0.5:12:2400 \
RRA:HWPREDICT:288:0.1:0.0035:6
Here is the command to generate graph
./rrdtool graph port.gif \
--start 920804400 --end 920890800 \
--height 300 --width 900 \
--vertical-label="time" \
--title="traffic" \
COMMENT:"traffic" \
DEF:mytraffic=test.rrd:traffic:MAX \
DEF:pred=test.rrd:traffic:HWPREDICT \
DEF:dev=test.rrd:traffic:DEVPREDICT \
DEF:devseasonal=test.rrd:traffic:DEVSEASONAL \
DEF:seasonal=test.rrd:traffic:SEASONAL \
CDEF:upper=pred,dev,5,*,+ \
LINE1:pred#ff0000:'prediction' LINE2:upper#00ff00:'upper'
Thanks & Regards
Anuj
--
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