[rrd-users] RRDTool not accepting any updates (NaN instead)
Wouter van Eekelen
wouter.van.eekelen at serverffs.com
Sat Dec 4 20:09:53 CET 2010
I'm having a huge trouble with RRDtool, all updates I'm doing are accepted
as 'NaN'
Here is are all commands with output:
[root at server1]# /usr/bin/rrdtool create /home/bandwidth/switch1/port1.rrd -s
60 \
DS:ds0:DERIVE:5:0:4294967295 \
DS:ds1:DERIVE:5:0:4294967295 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
RRA:MIN:0.5:1:600 \
RRA:MIN:0.5:6:700 \
RRA:MIN:0.5:24:775 \
RRA:MIN:0.5:288:797
[root at server1]# /usr/bin/rrdtool updatev /home/bandwidth/switch1/port1.rrd
1291488840:3676314:730770
return_value = 0
[1291488840]RRA[AVERAGE][1]DS[ds0] = NaN
[1291488840]RRA[AVERAGE][1]DS[ds1] = NaN
[1291488840]RRA[AVERAGE][6]DS[ds0] = NaN
[1291488840]RRA[AVERAGE][6]DS[ds1] = NaN
[1291488840]RRA[MAX][1]DS[ds0] = NaN
[1291488840]RRA[MAX][1]DS[ds1] = NaN
[1291488840]RRA[MAX][6]DS[ds0] = NaN
[1291488840]RRA[MAX][6]DS[ds1] = NaN
[1291488840]RRA[MIN][1]DS[ds0] = NaN
[1291488840]RRA[MIN][1]DS[ds1] = NaN
[1291488840]RRA[MIN][6]DS[ds0] = NaN
[1291488840]RRA[MIN][6]DS[ds1] = NaN
[root at server1]# /usr/bin/rrdtool updatev /home/bandwidth/switch1/port1.rrd
1291488900:3687082:781246
return_value = 0
[1291488900]RRA[AVERAGE][1]DS[ds0] = NaN
[1291488900]RRA[AVERAGE][1]DS[ds1] = NaN
[1291488900]RRA[MAX][1]DS[ds0] = NaN
[1291488900]RRA[MAX][1]DS[ds1] = NaN
[1291488900]RRA[MIN][1]DS[ds0] = NaN
[1291488900]RRA[MIN][1]DS[ds1] = NaN
[root at server1]# /usr/bin/rrdtool fetch /home/bandwidth/switch1/port1.rrd
--start=-300 AVERAGE
ds0 ds1
1291488840: nan nan
1291488900: nan nan
1291488960: nan nan
1291489020: nan nan
1291489080: nan nan
1291489140: nan nan
[root at server1]# /usr/bin/rrdtool info /home/bandwidth/switch1/port1.rrd
filename = "/home/bandwidth/switch1/port1.rrd"
rrd_version = "0003"
step = 60
last_update = 1291489080
header_size = 4072
ds[ds0].index = 0
ds[ds0].type = "DERIVE"
ds[ds0].minimal_heartbeat = 5
ds[ds0].min = 0.0000000000e+00
ds[ds0].max = 4.2949672950e+09
ds[ds0].last_ds = "3724015"
ds[ds0].value = NaN
ds[ds0].unknown_sec = 0
ds[ds1].index = 1
ds[ds1].type = "DERIVE"
ds[ds1].minimal_heartbeat = 5
ds[ds1].min = 0.0000000000e+00
ds[ds1].max = 4.2949672950e+09
ds[ds1].last_ds = "972942"
ds[ds1].value = NaN
ds[ds1].unknown_sec = 0
rra[0].cf = "AVERAGE"
rra[0].rows = 600
rra[0].cur_row = 483
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[0].cdp_prep[1].value = NaN
rra[0].cdp_prep[1].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 700
rra[1].cur_row = 109
rra[1].pdp_per_row = 6
rra[1].xff = 5.0000000000e-01
rra[1].cdp_prep[0].value = 0.0000000000e+00
rra[1].cdp_prep[0].unknown_datapoints = 4
rra[1].cdp_prep[1].value = 0.0000000000e+00
rra[1].cdp_prep[1].unknown_datapoints = 4
rra[2].cf = "AVERAGE"
rra[2].rows = 775
rra[2].cur_row = 114
rra[2].pdp_per_row = 24
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = NaN
rra[2].cdp_prep[0].unknown_datapoints = 10
rra[2].cdp_prep[1].value = NaN
rra[2].cdp_prep[1].unknown_datapoints = 10
rra[3].cf = "AVERAGE"
rra[3].rows = 797
rra[3].cur_row = 730
rra[3].pdp_per_row = 288
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = NaN
rra[3].cdp_prep[0].unknown_datapoints = 274
rra[3].cdp_prep[1].value = NaN
rra[3].cdp_prep[1].unknown_datapoints = 274
rra[4].cf = "MAX"
rra[4].rows = 600
rra[4].cur_row = 585
rra[4].pdp_per_row = 1
rra[4].xff = 5.0000000000e-01
rra[4].cdp_prep[0].value = NaN
rra[4].cdp_prep[0].unknown_datapoints = 0
rra[4].cdp_prep[1].value = NaN
rra[4].cdp_prep[1].unknown_datapoints = 0
rra[5].cf = "MAX"
rra[5].rows = 700
rra[5].cur_row = 388
rra[5].pdp_per_row = 6
rra[5].xff = 5.0000000000e-01
rra[5].cdp_prep[0].value = -inf
rra[5].cdp_prep[0].unknown_datapoints = 4
rra[5].cdp_prep[1].value = -inf
rra[5].cdp_prep[1].unknown_datapoints = 4
rra[6].cf = "MAX"
rra[6].rows = 775
rra[6].cur_row = 74
rra[6].pdp_per_row = 24
rra[6].xff = 5.0000000000e-01
rra[6].cdp_prep[0].value = NaN
rra[6].cdp_prep[0].unknown_datapoints = 10
rra[6].cdp_prep[1].value = NaN
rra[6].cdp_prep[1].unknown_datapoints = 10
rra[7].cf = "MAX"
rra[7].rows = 797
rra[7].cur_row = 366
rra[7].pdp_per_row = 288
rra[7].xff = 5.0000000000e-01
rra[7].cdp_prep[0].value = NaN
rra[7].cdp_prep[0].unknown_datapoints = 274
rra[7].cdp_prep[1].value = NaN
rra[7].cdp_prep[1].unknown_datapoints = 274
rra[8].cf = "MIN"
rra[8].rows = 600
rra[8].cur_row = 282
rra[8].pdp_per_row = 1
rra[8].xff = 5.0000000000e-01
rra[8].cdp_prep[0].value = NaN
rra[8].cdp_prep[0].unknown_datapoints = 0
rra[8].cdp_prep[1].value = NaN
rra[8].cdp_prep[1].unknown_datapoints = 0
rra[9].cf = "MIN"
rra[9].rows = 700
rra[9].cur_row = 407
rra[9].pdp_per_row = 6
rra[9].xff = 5.0000000000e-01
rra[9].cdp_prep[0].value = inf
rra[9].cdp_prep[0].unknown_datapoints = 4
rra[9].cdp_prep[1].value = inf
rra[9].cdp_prep[1].unknown_datapoints = 4
rra[10].cf = "MIN"
rra[10].rows = 775
rra[10].cur_row = 322
rra[10].pdp_per_row = 24
rra[10].xff = 5.0000000000e-01
rra[10].cdp_prep[0].value = NaN
rra[10].cdp_prep[0].unknown_datapoints = 10
rra[10].cdp_prep[1].value = NaN
rra[10].cdp_prep[1].unknown_datapoints = 10
rra[11].cf = "MIN"
rra[11].rows = 797
rra[11].cur_row = 653
rra[11].pdp_per_row = 288
rra[11].xff = 5.0000000000e-01
rra[11].cdp_prep[0].value = NaN
rra[11].cdp_prep[0].unknown_datapoints = 274
rra[11].cdp_prep[1].value = NaN
rra[11].cdp_prep[1].unknown_datapoints = 274
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20101204/77114e69/attachment-0001.htm
More information about the rrd-users
mailing list