[rrd-users] Re: rrdupdate not working properly?
Stefan Moser
sm at open.ch
Tue Sep 5 18:48:44 MEST 2006
Hi Lejf,
For stuff like that you use DS type GAUGE, not absolute. See also
http://oss.oetiker.ch/rrdtool/doc/rrdcreate.en.html, in particular the
section titled "How to measure". Like the example given there,
temperature, a metric like memory free "is not really connected with a
time". Hence you use GAUGE as a datatype.
cheers
-stefan
Lejf Diecks wrote:
> Simon Hobson <linux at thehobsons.co.uk> schrieb:
>
>> No 2.0964780000e+06 means 2.0964780000 x 10^^6, or 2096478.0000 Quick
>> way of doing it is simply move the decimal point the number of places
>> specified (ie 6 places right in this case)
>>
>>> Is there something wrong with the rrd defintion? When I use
>>> rrdgraph, the images look somewhat correct, but the values on the
>>> y-axis are only half as high as expected.
>> I see the other values are about half as well. I suspect it's related
>> to time intervals and how many updates you've done (could it be the
>> average of 0 and the number you've just put in ?) - but I've not used
>> absolute types before so I'd better not speculate.
>
> Hi Simon,
>
> you're right... when I calculate the numbers as you suggested, the values in the rrd are exact the half of the input values!?
>
> I think your second assumption is also right - it seems that this has sth. to do with the average calculation and/or the intervals of the rrd.
>
> Many thanks! I think I can track down the problem now! :-)
>
> Lejf
--
stefan moser
senior engineer
open systems ag
raeffelstrasse 29
ch-8045 zuerich
t: +41 1 455 74 00
f: +41 1 455 74 01
sm at open.ch
--
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