[rrd-users] Re: nan after about 6 hours of data collection

Serge Maandag serge.maandag at staff.zeelandnet.nl
Thu Dec 18 10:30:23 MET 2003


And to think the cause of your problem is in the first 3 lines :)

> rrdtool create icmp.rrd \
> -s 60  --start 1071682900 \
> DS:one:GAUGE:60:0:U \
> DS:two:GAUGE:60:0:U \
> DS:three:GAUGE:60:0:U \
> DS:four:GAUGE:60:0:U  \

Make that:

> rrdtool create icmp.rrd \
> -s 60  --start 1071682860 \
> DS:one:GAUGE:120:0:U \
> DS:two:GAUGE:120:0:U \
> DS:three:GAUGE:120:0:U \
> DS:four:GAUGE:120:0:U  \

The start time edit is just a cosmetic edit. 1071682900 is not dividable by 60, so rrdtool will change it anyway.
The problem is your heartbeat, which is too close to your step value. Read up on the heartbeat and the step on the rrdtool website.

> -s 60
> RRA:AVERAGE:0.5:1:720 \
> RRA:AVERAGE:0.5:5:720 \
> RRA:AVERAGE:0.5:30:336 \
> RRA:AVERAGE:0.5:120:360 \
> RRA:AVERAGE:0.5:1440:365 \
> 
> I am not fully sure of the RRA sections are correct, my 
> intentions are to create a graph of 5 min average for 24 
> hours, 30 min average for a week, 2 hours average for a month 
> and day average for a year. 

Here you have:
- 1 x 60 x 720 = 43200 secs  = 12 hours worth of 1 minute samples
- 5 x 60 x 720 = 216000 secs = 2.5 days worth of 5 minute samples
... and so on..

> Thanks for your time,

You're welcome.

Serge.


> -----Original Message-----
> From: rajkumars at asianetindia.com [mailto:rajkumars at asianetindia.com]
> Sent: Thursday, December 18, 2003 9:47 AM
> To: rrd-users at list.ee.ethz.ch
> Subject: [rrd-users] nan after about 6 hours of data collection
> 
> 
> Hello all,
> 
> I am pretty new to RRD, started playing with in 2 days ago. I 
> created an rrd, which will be updated per minute, and I 
> populated it with data continuously every 30 minutes using 
> rrdtool update. But data after about 6 hours are all nan. 
> here are my exact configs 
> 

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