[rrd-users] RRds::graph
Smita
smita at netli.com
Mon Jul 2 01:55:54 MEST 2001
Hi,
I have an RRD like this:
RRDs::create ($rrd, "--start", $start,
"DS:avgrtt:GAUGE:900:U:U",
"DS:variance:GAUGE:900:U:U",
"DS:pktloss:GAUGE:900:U:U",
"RRA:AVERAGE:0.5:1:24",
"RRA:AVERAGE:0.05:4:24",
"RRA:AVERAGE:0.05:48:14",
"RRA:AVERAGE:0.05:96:366");
I am generating a graph using RRDs:: graph as follows:
RRDs::graph "$rrddir/pktloss.gif", "--end", "$time", "--start",
"$start", "--end "--title", "Average Pkt Loss between $from
and $to",
"-v", "PACKET LOSS (%)", "-w", "600", "-h", "150",
"--alt-autoscale", "--alt-autoscale-max",
"--color", "BACK#000000", "--color", "GRID#888888",
"--color", "MGRID#BBBBBB", "--color", "FONT#FFFFFF",
"--color", "CANVAS#000000",
"DEF:loss=$rrd:pktloss:AVERAGE",
"LINE2:loss#0000FF",
"GPRINT:loss:AVERAGE:Packet Loss Percentage";
I am updating the DSs so that interval between two data points doesn't
exceed the heartbeat period (i.e. 900 in this case). But I am getting a
blank graph with y-axis ranging from 0 to 1.0
I have no clue why this is happening. Any ideas on why this may happen
would be greatly appreciated?
Thanks
Smita
--
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