[rrd-users] Questions of new user

Pavel Rubtsov qweion at gmail.com
Sun Dec 6 16:39:04 CET 2009


  кто: Sun, 06 Dec 2009 12:49:59 +0100
когда: rrd-users at ficos.de

Thanks a lot for ansvers, i have many expirements today with data storing and fetching. Some of this was success.

But there is some misunderstanding:

C:\rrd\rrdtool.exe create test.rrd --start N --step 300 ^
DS:test:GAUGE:600:0:100 ^
RRA:AVERAGE:0.5:12:1

C:\rrd\rrdupdate.exe test.rrd ^
1260113100:10 ^
1260113400:20 ^
1260113700:30 ^
1260114000:40 ^
1260114300:50 ^
1260114600:60 ^
1260114900:70 ^
1260115200:80 ^
1260115500:70 ^
1260115800:60 ^
1260116100:50 ^
1260116400:40

Result:
1260111600: nan
1260115200: 4.1111111111e+01
1260118800: nan

But (10+20+...+50+40)/12 = 48,3! Why?


-- 
Pavel Rubtsov <qweion at gmail.com>
Playing: Fun Factory - Take Your Chance



More information about the rrd-users mailing list