hi,
first of all: i read the following posting: http://www.raxnet.net/board/viewtopic.p ... percentage
i have done everything as in the posting...
it does not works. the graph can not be display
this is the source printout of the graph:
c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start="-86400" \
--title="Traffic Analysis for 10.97.15.177__Serial1/4" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--vertical-label="Bits Per Second" \
DEF:a="c\:/inetpub/wwwroot/cacti/rra/traf_10_97_15_177_7_in.rrd":traf_10_97_15_177_7:AVERAGE \
DEF:b="c\:/inetpub/wwwroot/cacti/rra/traf_10_97_15_177_7_out.rrd":traf_10_97_15_177_7:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
CDEF:cdefi=b,/,1024 \
AREA:cdefa#00CF00:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefe#002A97:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n" \
GPRINT:cdefi:AVERAGE:"%8.2lf %s" \
COMMENT:"last updated: Dienstag, 8. Oktober 2002 09:40:22
"
can someone help me please???
i still want to have behind every value the percentage value as in MRTG. further i want to make this default for all graphs, ist it possible???
percentage via CDEF
Moderators: Developers, Moderators
Who is online
Users browsing this forum: No registered users and 3 guests