[rrd-users] rrdtool cdef

Michael Earls Michael.Earls at cchmc.org
Wed May 28 20:18:35 MEST 2003


Can someone help me on CDEF?

I am tracking a number of BGP prefixes into rrd format.  When I display
them I am trying to get the correct number of prefixes not the round-up
number.  How can I get this to display right.

#! /bin/sh

echo "Content-Type: image/png"
echo

rrdtool graph - \
--imgformat PNG \
--interlaced \
--start '-6h' \
--vertical-label 'bgp' \
--width '600' \
--height '200' \
--title 'bgp' \
'DEF:A=/bgp/bgpprefixes.rrd:ds0:MAX' \
'DEF:B=/bgp/bgpprefixes.rrd:ds1:MAX' \
'LINE3:A#0000FF:isp1' \
'LINE3:B#00FF00:'isp2


Thanks in advanced..

michael

PGP Info: KeyID 0x5EB59708 Fingerprint 108B A1D8 76F5 08A8 501A F28C
86F4 4BC5 5EB5 9708 

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