[rrd-users] GAUGE stored values

Philip Peake philip at vogon.net
Thu Aug 19 01:50:47 CEST 2010


 This is probably another new user question that is obvious when I know
the answer...

I have a DB with nine data sources defined, the period of the DB is 30
seconds, and each 30 seconds I am feeding all nine values in.
The values are mostly zeros, with occasional spikes upwards from there.

As I read the beginner's guide, a data source defined as GAUGE stores
the actual value(s) presented.
There is even a little table explaining this:

     Values       = 300, 600, 900, 1200
     Step         = 300 seconds
     COUNTER DS   =    1,  1,   1,    1
     DERIVE DS    =    1,  1,   1,    1
     ABSOLUTE DS  =    1,  2,   3,    4
     GAUGE DS     = 300, 600, 900, 1200

So I am expecting to see the values that I stored, but I don't.
This is what I see:


    $ rrdtool fetch queue.rrd LAST -s -240

                           HXP10LDA            HXP11LDA           
    HXP12LDA            DXP05LDA            DXP06LDA           
    DXP07LDA            RXP05LDA            RXP06LDA            RXP07LDA

     

    1282174230: 0.0000000000e+00 0.0000000000e+00 6.4783333333e-01
    0.0000000000e+00 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00
    0.0000000000e+00 3.2391666667e-01

    1282174260: 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00
    0.0000000000e+00 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00
    0.0000000000e+00 0.0000000000e+00

    1282174290: 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00
    0.0000000000e+00 5.9742416667e-01 0.0000000000e+00 0.0000000000e+00
    0.0000000000e+00 0.0000000000e+00

    1282174320: 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00
    0.0000000000e+00 4.4164496667e-01 0.0000000000e+00 0.0000000000e+00
    0.0000000000e+00 0.0000000000e+00

    1282174350: 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00
    0.0000000000e+00 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00
    0.0000000000e+00 0.0000000000e+00

    1282174380: 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00
    4.8073756667e-01 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00
    0.0000000000e+00 0.0000000000e+00

    1282174410: 0.0000000000e+00 0.0000000000e+00 0.0000000000e+00
    5.6041493333e-01 4.3958506667e-01 0.0000000000e+00 0.0000000000e+00
    0.0000000000e+00 0.0000000000e+00

    1282174440: nan nan nan nan nan nan nan nan nan

    1282174470: nan nan nan nan nan nan nan nan nan

So what do I have to do to store the ACTUAL values that I send?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20100818/19770ce3/attachment.htm 


More information about the rrd-users mailing list