Greetings,

I have a bizarre problem when using GAUGE.
My boss was stumped and now so am I.

The following behaves as expected:

rrdtool create foo.rrd --step 86400 --start 969580173 
DS:outsecs:GAUGE:86400:0:U RRA:MAX:0.5:1:400 
~~
rrdtool update foo.rrd 969666573:10
rrdtool update foo.rrd 969752973:20
rrdtool update foo.rrd 969839373:30
rrdtool update foo.rrd 969925773:40
rrdtool update foo.rrd 970012173:35
rrdtool update foo.rrd 970098573:30
rrdtool update foo.rrd 970184973:25
rrdtool update foo.rrd 970271373:5 
rrdtool update foo.rrd 970357773:20
rrdtool update foo.rrd 970444173:25
~~
rrdtool fetch foo.rrd MAX -s -90days

969580800: 1.0000000000e+01 
969667200: 1.0072569444e+01 
969753600: 2.0072569444e+01 
969840000: 3.0072569444e+01 
969926400: 3.9963715278e+01 
970012800: 3.4963715278e+01 
970099200: 2.9963715278e+01 
970185600: 2.4854861111e+01 
970272000: 5.1088541667e+00 
970358400: 2.0036284722e+01 
970444800: 2.4927430556e+01 

but strangely this does not:

rrdtool create zoo.rrd --step 86400 --start 968760073 DS:outhrs:GAUGE:86400:0:U 
RRA:MAX:0.5:1:400 

rrdtool update zoo.rrd 968846473:9
rrdtool update zoo.rrd 968932873:15
rrdtool update zoo.rrd 969019273:1
rrdtool update zoo.rrd 969105673:0
rrdtool update zoo.rrd 969192073:0
rrdtool update zoo.rrd 969278473:8
rrdtool update zoo.rrd 969364873:0
rrdtool update zoo.rrd 969451273:0
rrdtool update zoo.rrd 969537673:0
rrdtool update zoo.rrd 969624073:12
rrdtool update zoo.rrd 969710473:21
rrdtool update zoo.rrd 969796873:2
rrdtool update zoo.rrd 969883273:23
rrdtool update zoo.rrd 969969673:6
rrdtool update zoo.rrd 970056073:22
rrdtool update zoo.rrd 970142473:10
rrdtool update zoo.rrd 970228873:18
rrdtool update zoo.rrd 970315273:3

rrdtool fetch zoo.rrd MAX -s -90days

968803200: 9.0000000000e+00
968889600: 1.1994930556e+01
968976000: 8.0118287037e+00
969062400: 5.0084490741e-01
969148800: 0.0000000000e+00
969235200: 3.9932407407e+00
969321600: 4.0067592593e+00
969408000: 0.0000000000e+00
969494400: 0.0000000000e+00
969580800: 5.9898611111e+00
969667200: 1.6492395833e+01
969753600: 1.1516053241e+01
969840000: 1.2482256944e+01
969926400: 1.4514363426e+01
970012800: 1.3986481481e+01
970099200: 1.6010138889e+01
970185600: 1.3993240741e+01
970272000: 1.0512673611e+01

It appears the average between the current and previous data point are being 
calculated. I would like
to have the actual data point stored. I would appreciate any help.

Many thanks, 
Pete


~~
"So long, trained seals!" -Pierre Elliott Trudeau 
Oct. 21, 1977, concluding a news conference in Ottawa. 
__________________________________________________________
Get your FREE personalized e-mail at http://www.canada.com

--
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