[rrd-users] y-axis scaled/averaged

Stijn Deroo-Van Maele stijn.deroovanmaele at gmail.com
Mon Jan 7 13:58:42 CET 2008


Hi,

I created a rrd database with following command:
*rrdtool create plays.rrd --step=300 DS:plays:GAUGE:600:U:U RRA:AVERAGE:0.5
:1:2016*

So I keep 2016 samples, every 5 minutes.  Which means I have a history of 7
days.

When I create a graph like this:
*rrdtool graph stats.png -a PNG --vertical-label "Number" --start "-1day"
DEF:test=plays.rrd:plays:AVERAGE AREA:test#FF0000:"Number of PLAY's"*
All the data is shown correct.

But when I create on the same database a graph like this:
*rrdtool graph stats.png -a PNG --vertical-label "Number" --start "-7day"
DEF:test=plays.rrd:plays:AVERAGE AREA:test#FF0000:"Number of PLAY's"*
Then the data isn't correct anymore.  It's like all values on the y-axis are
scaled (or an average of the data is shown)

How is this possible?  Why can't I get the real vallue (instead of an
average).  According to me, the '1' in *AVERAGE:0.5:1:2016* means there will
not be taken an average on the data.

Any answer on this would help me a lot!

Kind regards,
Stijn.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20080107/a263a4c6/attachment.html 


More information about the rrd-users mailing list