[rrd-users] RRD updates with sporatic NaN

CJ Taylor cjtaylor at carohosting.com
Thu Mar 1 00:32:46 CET 2012


Hi all. Sorta new to RRDs and could use some help.

I pasted below the create, updates and then the results from fetch.  Trying
to figure out why some fields are coming up nan.

/usr/local/bin/rrdtool create bw.rrd  --start=1330394400 --step=3600 
DS:inOctets:DERIVE:18000:0:100000000000
DS:outOctets:DERIVE:18000:0:100000000000 RRA:AVERAGE:0.5:1:24
RRA:AVERAGE:0.5:1:168 RRA:AVERAGE:0.5:1:732 RRA:AVERAGE:0.5:1:2190
RRA:AVERAGE:0.5:24:365 RRA:MAX:0.5:1:24 RRA:MAX:0.5:1:168 RRA:MAX:0.5:1:732
RRA:MAX:0.5:1:2190 RRA:MAX:0.5:24:365 RRA:MIN:0.5:1:24 RRA:MIN:0.5:1:168
RRA:MIN:0.5:1:732 RRA:MIN:0.5:1:2190 RRA:MIN:0.5:24:365

 /usr/local/bin/rrdtool update  bw.rrd --template inOctets:outOctets
1330462800:833:14166
 /usr/local/bin/rrdtool update bw.rrd --template inOctets:outOctets
1330466400:833:12777
 /usr/local/bin/rrdtool update  bw.rrd --template inOctets:outOctets
1330473600:1111:20555
 /usr/local/bin/rrdtool update  bw.rrd --template inOctets:outOctets
1330477200:4444:74722
 /usr/local/bin/rrdtool update  bw.rrd --template inOctets:outOctets
1330480800:3611:64166  
 /usr/local/bin/rrdtool update  bw.rrd --template inOctets:outOctets
1330484400:4166:51111  
 /usr/local/bin/rrdtool update  bw.rrd --template inOctets:outOctets
1330488000:833:10833  
 /usr/local/bin/rrdtool update  bw.rrd --template inOctets:outOctets
1330491540:833:13888  
 /usr/local/bin/rrdtool update  bw.rrd --template inOctets:outOctets
1330495200:833:25000  
 /usr/local/bin/rrdtool update  bw.rrd --template inOctets:outOctets
1330498800:1111:38888  
 /usr/local/bin/rrdtool update  bw.rrd --template inOctets:outOctets
1330502400:0:7777 
 /usr/local/bin/rrdtool update  bw.rrd --template inOctets:outOctets
1330506000:0:10277 
 /usr/local/bin/rrdtool update  bw.rrd --template inOctets:outOctets
1330509600:0:5277 
 /usr/local/bin/rrdtool update  bw.rrd --template inOctets:outOctets
1330513200:277:13055  
 /usr/local/bin/rrdtool update  bw.rrd --template inOctets:outOctets
1330524000:0:0 
 /usr/local/bin/rrdtool update  bw.rrd --template inOctets:outOctets
1330527600:3888:50555  
 /usr/local/bin/rrdtool update  bw.rrd --template inOctets:outOctets
1330531200:6388:61388  
 /usr/local/bin/rrdtool update  bw.rrd --template inOctets:outOctets
1330534800:3611:50000  
 /usr/local/bin/rrdtool update  bw.rrd --template inOctets:outOctets
1330538400:4166:50555  
 /usr/local/bin/rrdtool update  bw.rrd --template inOctets:outOctets
1330542000:5277:73333
 /usr/local/bin/rrdtool update bw.rrd --template inOctets:outOctets
1330545600:4166:55555
 /usr/local/bin/rrdtool update bw.rrd --template inOctets:outOctets
1330549200:5277:93611

/usr/local/bin/rrdtool fetch bw.rrd AVERAGE
                       inOctets           outOctets

1330473600: 3.8611111111e-02 1.0802777778e+00
1330477200: 9.2583333333e-01 1.5046388889e+01
1330480800: nan nan
1330484400: 1.5416666667e-01 nan
1330488000: nan nan
1330491600: 0.0000000000e+00 1.9676388889e+00
1330495200: 0.0000000000e+00 1.9676388889e+00
1330498800: 7.7222222222e-02 3.8577777778e+00
1330502400: nan nan
1330506000: 0.0000000000e+00 6.9444444444e-01
1330509600: 0.0000000000e+00 nan
1330513200: 7.6944444444e-02 2.1605555556e+00
1330516800: nan nan
1330520400: nan nan
1330524000: nan nan
1330527600: 1.0800000000e+00 1.4043055556e+01
1330531200: 6.9444444444e-01 3.0091666667e+00
1330534800: nan nan
1330538400: 1.5416666667e-01 1.5416666667e-01
1330542000: 3.0861111111e-01 6.3272222222e+00
1330545600: nan nan
1330549200: 3.0861111111e-01 1.0571111111e+01
1330552800: nan nan
1330556400: nan nan
1330560000: nan nan

--
View this message in context: http://rrd-mailinglists.937164.n2.nabble.com/RRD-updates-with-sporatic-NaN-tp7331080p7331080.html
Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.



More information about the rrd-users mailing list