[rrd-users] Re: Stop it creating averages of the values.

Michael Ditum mike at mikeditum.co.uk
Wed Oct 26 13:51:19 MEST 2005


Thanks for the quick reply but that did not fix it...

Sorry I think it was me describing my situation badly... the commands
I am using to update the rrd file are...

rrdtool update test_1_errors.rrd N:0
rrdtool update test_1_errors.rrd N:0
rrdtool update test_1_errors.rrd N:4
rrdtool update test_1_errors.rrd N:4
rrdtool update test_1_errors.rrd N:8
rrdtool update test_1_errors.rrd N:8
rrdtool update test_1_errors.rrd N:12
rrdtool update test_1_errors.rrd N:12

So (to the best of my understanding) it should be COUNTER or DERIVE
and as it can overflow (it jumps back to 0 if the monitoring process
restarts) i chose COUNTER.

If I set it to a GAUGE then I just get the following...

<!-- 2005-10-26 12:27:00 BST --> <row><v> 0.0000000000e+00 </v></row>
<!-- 2005-10-26 12:28:00 BST --> <row><v> 0.0000000000e+00 </v></row>
<!-- 2005-10-26 12:29:00 BST --> <row><v> 2.8125421954e+00 </v></row>
<!-- 2005-10-26 12:30:00 BST --> <row><v> 3.9999999934e+00 </v></row>
<!-- 2005-10-26 12:31:00 BST --> <row><v> 6.8065682097e+00 </v></row>
<!-- 2005-10-26 12:32:00 BST --> <row><v> 8.0000000092e+00 </v></row>
<!-- 2005-10-26 12:33:00 BST --> <row><v> 1.0804404122e+01 </v></row>
<!-- 2005-10-26 12:34:00 BST --> <row><v> 1.1999999984e+01 </v></row>
<!-- 2005-10-26 12:35:00 BST --> <row><v> 1.4801654656e+01 </v></row>
<!-- 2005-10-26 12:36:00 BST --> <row><v> 1.6000000027e+01 </v></row>

Which would just draw a line continuously increasing, would it not?

Again thanks for your help

Mike

On 26/10/05, Serge Maandag <serge.maandag at staff.zeelandnet.nl> wrote:
> > rrdtool create /root/test/test_1_errors.rrd --step 60 \
> >       DS:errors:COUNTER:60:0:U \
> >       RRA:AVERAGE:0.5:1:60
> >
> > <!-- 2005-10-26 11:09:00 BST --> <row><v> 0.0000000000e+00 </v></row>
> > <!-- 2005-10-26 11:10:00 BST --> <row><v> 6.6666666667e-02 </v></row>
> >
> > Now 6.6666666667e-02 is 4 / 60 so it seems to be taking an
> > average of the value passed in... I assume its due to the
> > AVERAGE in the following line... "RRA:AVERAGE:0.5:1:3000" but
> > I can't work out what I should change it to.
>
> No, it's because you use COUNTER i.s.o. GAUGE.
>
> Serge.
>
> -------------
> Op de inhoud van dit e-mailbericht en de daaraan gehechte bijlagen is de inhoud van de volgende disclaimer van toepassing: http://www.zeelandnet.nl/disclaimer.php
>
> -------------
> For the content of this e-mail message and its attachment(s) the following disclaimer applies: http://www.zeelandnet.nl/disclaimer.php
>
>

--
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://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list