[rrd-users] Displaying Combined Sources with VDEFs

MrPaul mrpaular at gmail.com
Tue Feb 14 23:25:23 MET 2006


I'm trying to merge data from multiple rrd files (CDEF seems logical
for this).  Then with that merged data use VDEF to diplay the maximum,
min, and other generic output of the merged data.

Would someone mind looking over this below and tell me what I'm doing
wrong as I'm just too dense to get it :).  The error I'm getting is
"ERROR: unknown function 'VDEF'".

/usr/bin/rrdtool graph speed.gif \
        --start end-1w --end 00:00 \
        --vertical-label modems \
        DEF:ds0a=modem_stats/ras.vp.rrd:ds0:AVERAGE \
        DEF:ds0b=modem_stats/ras2.vp.rrd:ds0:AVERAGE \
        DEF:ds1a=modem_stats/ras.vp.rrd:ds1:AVERAGE \
        DEF:ds1b=modem_stats/ras2.vp.rrd:ds1:AVERAGE \
        CDEF:ds0total=ds0a,ds0b,+ \
        CDEF:ds1total=ds1a,ds1b,+ \
        LINE1:ds0total#0000FF \
        LINE1:ds1total#00CCFF \
        VDEF:ds0max=ds0total,MAXIMUM \
        VDEF:ds0avg=ds0total,AVERAGE \
        VDEF:ds0min=ds0total,MINIMUM \
        VDEF:ds0pct=ds0total,95,PERCENT \
        VDEF:ds1max=ds1total,MAXIMUM \
        VDEF:ds1avg=ds1total,AVERAGE \
        VDEF:ds1min=ds1total,MINIMUM \
        VDEF:ds1pct=ds1total,95,PERCENT \
        CDEF:ds0bits=ds0total,8,* \
        CDEF:ds1bits=ds1total,8,* \
        COMMENT:"          " \
        COMMENT:"Maximum    " \
        COMMENT:"Average    " \
        COMMENT:"Minimum    " \
        COMMENT:"95th percentile\n" \
        AREA:ds0bits#00C000:"Inbound " \
        GPRINT:ds0max:"%6.2lf %Sbps" \
        GPRINT:ds0avg:"%6.2lf %Sbps" \
        GPRINT:ds0min:"%6.2lf %Sbps" \
        GPRINT:ds0pct:"%6.2lf %Sbps\n" \
        LINE1:ds1bits#0000FF:"Outbound" \
        GPRINT:ds1max:"%6.2lf %Sbps" \
        GPRINT:ds1avg:"%6.2lf %Sbps" \
        GPRINT:ds1min:"%6.2lf %Sbps" \
        GPRINT:ds1pct:"%6.2lf %Sbps\n"

--
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