> No more MRTG, just the script and the rrdupdate command.

Hmm. There`s something i realy can`t get right here. Here`s the "testing" I
have done (some right from the manual).

First i create the *.rrd like this:

        rrdtool create all.rrd -s 300 \
                DS:a:GAUGE:600:-100:100 \
                RRA:AVERAGE:0.5:1:200 \
                RRA:MIN:0.5:12:200 \
                RRA:MAX:0.5:12:200 \
                RRA:AVERAGE:0.5:12:200

Then i am trying to populate the database with lines like this:

        rrdtool update all.rrd N:10
        rrdtool update all.rrd N:20
        rrdtool update all.rrd N:30
        rrdtool update all.rrd N:40
        rrdtool update all.rrd N:50
        rrdtool update all.rrd N:40
        rrdtool update all.rrd N:30
        rrdtool update all.rrd N:20
        rrdtool update all.rrd N:10
        rrdtool update all.rrd N:0
        rrdtool update all.rrd N:-10
        rrdtool update all.rrd N:-20
        rrdtool update all.rrd N:-30
        rrdtool update all.rrd N:-40
        rrdtool update all.rrd N:-50

This would give me some negative values to (right?). But! When i try to
create an graph (*.gif) from this data, it seems like there`s no data in the
rrd. Also: when i try to do an "rrdtool fetch all.rrd AVERAGE" i just get
lines like this:

        996973200:  NaN
        996976800:  NaN
        996980400:  NaN
        996984000:  NaN
        and so on...

I can`t se where i`m doing the wront turn here.. :(


--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to