[rrd-users] fetch problem

Pawel Dziubek Pawel.Dziubek at net-system.com.pl
Wed Mar 9 12:36:34 MET 2005


I have a problem while fetching data from rrd
I made system to collect measures results in rrd database. My rrd file
definition is:

 rrdtool create test.rrd
            --step 600
            DS:measure::GAUGE:600:0:100
            RRA:AVERAGE:0.5:1:115200        // 5 min collection
            RRA:AVERAGE:0.5:12:9600         // 1 hour collection
            RRA:AVERAGE:0.5:288:400

The problem is when i want fetch 1 hour data and last values are nan,
for example:
 fetch test.rrd AVERAGE -r 3600 -e 1110276000 -s 1110189600
 returns:
 timestamp    measure

1110189600:  1.0000000000e+02
1110193200:  1.0000000000e+02
1110196800:  1.0000000000e+02
1110200400:  1.0000000000e+02
1110204000:  1.0000000000e+02
1110207600:  1.0000000000e+02
1110211200:  1.0000000000e+02
1110214800:  1.8611111111e+01
1110218400:  1.0000000000e+02
1110222000:  1.0000000000e+02
1110225600:  1.0000000000e+02
1110229200:  1.0000000000e+02
1110232800:  1.0000000000e+02
1110236400:  1.0000000000e+02
1110240000:  1.0000000000e+02
1110243600:  1.0000000000e+02
1110247200:  1.0000000000e+02
1110250800:  1.0000000000e+02
1110254400:  1.0000000000e+02
1110258000:  1.0000000000e+02
1110261600:  nan
1110265200:  nan
1110268800:  nan
1110272400:  nan
1110276000:  1.0000000000e+02

and this example is ok

but if the server was shutdowned at 1110277200 time, and it didn't work
fetch with new "start", "end" parameters doesn't work correctly. Have a
look below:
 fetch test.rrd AVERAGE -r 3600 -e 1110280000 -s 1110193600
and results:

timestamp    measure

1110193500:  1.0000000000e+02
1110193800:  1.0000000000e+02
1110194100:  1.0000000000e+02
1110194400:  1.0000000000e+02
1110194700:  1.0000000000e+02
1110195000:  1.0000000000e+02
1110195300:  1.0000000000e+02
1110195600:  1.0000000000e+02
1110195900:  1.0000000000e+02
.
.
.
.
1110273600:  nan
1110273900:  nan
1110274200:  nan
1110274500:  1.0000000000e+02
1110274800:  1.0000000000e+02
1110275100:  1.0000000000e+02
1110275400:  1.0000000000e+02
1110275700:  1.0000000000e+02
1110276000:  1.0000000000e+02
1110276300:  1.0000000000e+02
1110276600:  1.0000000000e+02
1110276900:  1.0000000000e+02
1110277200:  nan
1110277500:  nan
1110277800:  nan
1110278100:  nan
1110278400:  nan
1110278700:  nan
1110279000:  nan
1110279300:  nan
1110279600:  nan
1110279900:  nan
1110280200:  nan

Why rrd autmaticly changing resolution from 3600 to 300 ? It is always
when in rrd are nan values at last times.
Is it possible to force fetching with 3600 resolution?
Im using rrdtool 1.0.49



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



More information about the rrd-users mailing list