<meta charset="utf-8"><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">I'm having a huge trouble with RRDtool, all updates I'm doing are accepted as 'NaN'<div>
Here is are all commands with output:</div><div><br><div>[root@server1]# /usr/bin/rrdtool create /home/bandwidth/switch1/port1.rrd -s 60 \<div><div> DS:ds0:DERIVE:5:0:4294967295 \</div><div>
DS:ds1:DERIVE:5:0:4294967295 \</div><div> RRA:AVERAGE:0.5:1:600 \</div><div> RRA:AVERAGE:0.5:6:700 \</div><div> RRA:AVERAGE:0.5:24:775 \</div>
<div> RRA:AVERAGE:0.5:288:797 \</div><div> RRA:MAX:0.5:1:600 \</div><div> RRA:MAX:0.5:6:700 \</div><div> RRA:MAX:0.5:24:775 \</div>
<div> RRA:MAX:0.5:288:797 \</div><div> RRA:MIN:0.5:1:600 \</div><div> RRA:MIN:0.5:6:700 \</div><div> RRA:MIN:0.5:24:775 \</div>
<div> RRA:MIN:0.5:288:797</div></div><div><br></div><div>[root@server1]# /usr/bin/rrdtool updatev /home/bandwidth/switch1/port1.rrd 1291488840:3676314:730770</div><div>return_value = 0</div>
<div><div>[1291488840]RRA[AVERAGE][1]DS[ds0] = NaN</div><div>[1291488840]RRA[AVERAGE][1]DS[ds1] = NaN</div><div>[1291488840]RRA[AVERAGE][6]DS[ds0] = NaN</div><div>[1291488840]RRA[AVERAGE][6]DS[ds1] = NaN</div><div>[1291488840]RRA[MAX][1]DS[ds0] = NaN</div>
<div>[1291488840]RRA[MAX][1]DS[ds1] = NaN</div><div>[1291488840]RRA[MAX][6]DS[ds0] = NaN</div><div>[1291488840]RRA[MAX][6]DS[ds1] = NaN</div><div>[1291488840]RRA[MIN][1]DS[ds0] = NaN</div><div>[1291488840]RRA[MIN][1]DS[ds1] = NaN</div>
<div>[1291488840]RRA[MIN][6]DS[ds0] = NaN</div><div>[1291488840]RRA[MIN][6]DS[ds1] = NaN</div></div><div><br></div><div>[root@server1]# /usr/bin/rrdtool updatev /home/bandwidth/switch1/port1.rrd 1291488900:3687082:781246</div>
<div><div>return_value = 0</div><div>[1291488900]RRA[AVERAGE][1]DS[ds0] = NaN</div><div>[1291488900]RRA[AVERAGE][1]DS[ds1] = NaN</div><div>[1291488900]RRA[MAX][1]DS[ds0] = NaN</div><div>[1291488900]RRA[MAX][1]DS[ds1] = NaN</div>
<div>[1291488900]RRA[MIN][1]DS[ds0] = NaN</div><div>[1291488900]RRA[MIN][1]DS[ds1] = NaN</div></div><div><br></div><div><div>[root@server1]# /usr/bin/rrdtool fetch /home/bandwidth/switch1/port1.rrd --start=-300 AVERAGE</div>
<div> ds0 ds1</div><div><br></div><div>1291488840: nan nan</div><div>1291488900: nan nan</div><div>1291488960: nan nan</div><div>1291489020: nan nan</div><div>1291489080: nan nan</div>
<div>1291489140: nan nan</div><div><br></div></div><div><div>[root@server1]# /usr/bin/rrdtool info /home/bandwidth/switch1/port1.rrd</div><div>filename = "/home/bandwidth/switch1/port1.rrd"</div><div>rrd_version = "0003"</div>
<div>step = 60</div><div>last_update = 1291489080</div><div>header_size = 4072</div><div>ds[ds0].index = 0</div><div>ds[ds0].type = "DERIVE"</div><div>ds[ds0].minimal_heartbeat = 5</div><div>ds[ds0].min = 0.0000000000e+00</div>
<div>ds[ds0].max = 4.2949672950e+09</div><div>ds[ds0].last_ds = "3724015"</div><div>ds[ds0].value = NaN</div><div>ds[ds0].unknown_sec = 0</div><div>ds[ds1].index = 1</div><div>ds[ds1].type = "DERIVE"</div>
<div>ds[ds1].minimal_heartbeat = 5</div><div>ds[ds1].min = 0.0000000000e+00</div><div>ds[ds1].max = 4.2949672950e+09</div><div>ds[ds1].last_ds = "972942"</div><div>ds[ds1].value = NaN</div><div>ds[ds1].unknown_sec = 0</div>
<div>rra[0].cf = "AVERAGE"</div><div>rra[0].rows = 600</div><div>rra[0].cur_row = 483</div><div>rra[0].pdp_per_row = 1</div><div>rra[0].xff = 5.0000000000e-01</div><div>rra[0].cdp_prep[0].value = NaN</div><div>rra[0].cdp_prep[0].unknown_datapoints = 0</div>
<div>rra[0].cdp_prep[1].value = NaN</div><div>rra[0].cdp_prep[1].unknown_datapoints = 0</div><div>rra[1].cf = "AVERAGE"</div><div>rra[1].rows = 700</div><div>rra[1].cur_row = 109</div><div>rra[1].pdp_per_row = 6</div>
<div>rra[1].xff = 5.0000000000e-01</div><div>rra[1].cdp_prep[0].value = 0.0000000000e+00</div><div>rra[1].cdp_prep[0].unknown_datapoints = 4</div><div>rra[1].cdp_prep[1].value = 0.0000000000e+00</div><div>rra[1].cdp_prep[1].unknown_datapoints = 4</div>
<div>rra[2].cf = "AVERAGE"</div><div>rra[2].rows = 775</div><div>rra[2].cur_row = 114</div><div>rra[2].pdp_per_row = 24</div><div>rra[2].xff = 5.0000000000e-01</div><div>rra[2].cdp_prep[0].value = NaN</div><div>
rra[2].cdp_prep[0].unknown_datapoints = 10</div><div>rra[2].cdp_prep[1].value = NaN</div><div>rra[2].cdp_prep[1].unknown_datapoints = 10</div><div>rra[3].cf = "AVERAGE"</div><div>rra[3].rows = 797</div><div>rra[3].cur_row = 730</div>
<div>rra[3].pdp_per_row = 288</div><div>rra[3].xff = 5.0000000000e-01</div><div>rra[3].cdp_prep[0].value = NaN</div><div>rra[3].cdp_prep[0].unknown_datapoints = 274</div><div>rra[3].cdp_prep[1].value = NaN</div><div>rra[3].cdp_prep[1].unknown_datapoints = 274</div>
<div>rra[4].cf = "MAX"</div><div>rra[4].rows = 600</div><div>rra[4].cur_row = 585</div><div>rra[4].pdp_per_row = 1</div><div>rra[4].xff = 5.0000000000e-01</div><div>rra[4].cdp_prep[0].value = NaN</div><div>rra[4].cdp_prep[0].unknown_datapoints = 0</div>
<div>rra[4].cdp_prep[1].value = NaN</div><div>rra[4].cdp_prep[1].unknown_datapoints = 0</div><div>rra[5].cf = "MAX"</div><div>rra[5].rows = 700</div><div>rra[5].cur_row = 388</div><div>rra[5].pdp_per_row = 6</div>
<div>rra[5].xff = 5.0000000000e-01</div><div>rra[5].cdp_prep[0].value = -inf</div><div>rra[5].cdp_prep[0].unknown_datapoints = 4</div><div>rra[5].cdp_prep[1].value = -inf</div><div>rra[5].cdp_prep[1].unknown_datapoints = 4</div>
<div>rra[6].cf = "MAX"</div><div>rra[6].rows = 775</div><div>rra[6].cur_row = 74</div><div>rra[6].pdp_per_row = 24</div><div>rra[6].xff = 5.0000000000e-01</div><div>rra[6].cdp_prep[0].value = NaN</div><div>rra[6].cdp_prep[0].unknown_datapoints = 10</div>
<div>rra[6].cdp_prep[1].value = NaN</div><div>rra[6].cdp_prep[1].unknown_datapoints = 10</div><div>rra[7].cf = "MAX"</div><div>rra[7].rows = 797</div><div>rra[7].cur_row = 366</div><div>rra[7].pdp_per_row = 288</div>
<div>rra[7].xff = 5.0000000000e-01</div><div>rra[7].cdp_prep[0].value = NaN</div><div>rra[7].cdp_prep[0].unknown_datapoints = 274</div><div>rra[7].cdp_prep[1].value = NaN</div><div>rra[7].cdp_prep[1].unknown_datapoints = 274</div>
<div>rra[8].cf = "MIN"</div><div>rra[8].rows = 600</div><div>rra[8].cur_row = 282</div><div>rra[8].pdp_per_row = 1</div><div>rra[8].xff = 5.0000000000e-01</div><div>rra[8].cdp_prep[0].value = NaN</div><div>rra[8].cdp_prep[0].unknown_datapoints = 0</div>
<div>rra[8].cdp_prep[1].value = NaN</div><div>rra[8].cdp_prep[1].unknown_datapoints = 0</div><div>rra[9].cf = "MIN"</div><div>rra[9].rows = 700</div><div>rra[9].cur_row = 407</div><div>rra[9].pdp_per_row = 6</div>
<div>rra[9].xff = 5.0000000000e-01</div><div>rra[9].cdp_prep[0].value = inf</div><div>rra[9].cdp_prep[0].unknown_datapoints = 4</div><div>rra[9].cdp_prep[1].value = inf</div><div>rra[9].cdp_prep[1].unknown_datapoints = 4</div>
<div>rra[10].cf = "MIN"</div><div>rra[10].rows = 775</div><div>rra[10].cur_row = 322</div><div>rra[10].pdp_per_row = 24</div><div>rra[10].xff = 5.0000000000e-01</div><div>rra[10].cdp_prep[0].value = NaN</div><div>
rra[10].cdp_prep[0].unknown_datapoints = 10</div><div>rra[10].cdp_prep[1].value = NaN</div><div>rra[10].cdp_prep[1].unknown_datapoints = 10</div><div>rra[11].cf = "MIN"</div><div>rra[11].rows = 797</div><div>rra[11].cur_row = 653</div>
<div>rra[11].pdp_per_row = 288</div><div>rra[11].xff = 5.0000000000e-01</div><div>rra[11].cdp_prep[0].value = NaN</div><div>rra[11].cdp_prep[0].unknown_datapoints = 274</div><div>rra[11].cdp_prep[1].value = NaN</div><div>
rra[11].cdp_prep[1].unknown_datapoints = 274</div></div></div></div></span>