[rrd-users] graph y-scale exponent

Ashton MacAndrews ashton at get.topica.com
Fri Aug 24 04:16:40 MEST 2001


I'm ending up with y-axis exponent waaay off.
The values in the rrd are correct, but, 
the graph is showing values in Megs
(the values graph around 10-20M).
Any idea where I went haywire?

        RRDs::create ($rrd,
        "--start",987654321,
        "--step",300,
        "DS:load:GAUGE:600:U:U",
        "RRA:AVERAGE:0.5:1:288",
        "RRA:LAST:0.5:1:288",
	);

 998601300: 1.3000000000e-02
 998601600: 1.4906666667e-02
 998601900: 2.0700000000e-02
 998602200: 2.1000000000e-02

        RRDs::graph( "$gif",
        "--title", "$host 15min load",
        "--start", "-86400",
        "--lower-limit","0",
        "DEF:load=$rrd:load:AVERAGE",
        'LINE2:load#000000:"load  "',
        'GPRINT:load:AVERAGE:"Ave \: %8.2lf %s"',
        'GPRINT:load:MAX:"Max \: %8.2lf %S"',
        'GPRINT:load:LAST:"Last \: %8.2lf %S\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://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list