[rrd-users] rrdtool not storing data, returns nothing.
swarog at gmaz.org
swarog at gmaz.org
Wed Oct 25 23:51:16 MEST 2006
Hello,
Maybe I'm missing something obvious, but I'm honestly unable to trace it.
Each of the updates is not returning anything. If issued in pipe mode it
return 'OK'.
<lastupdate> shows correct time of last update, but ds data is not
updatated. As you can see <last_ds> is UNKN.
---
rrd_version = "0003"
step = 3600
last_update = 1162357348
ds[speed].type = "GAUGE"
ds[speed].minimal_heartbeat = 600
ds[speed].min = 0.0000000000e+00
ds[speed].max = NaN
ds[speed].last_ds = "UNKN"
ds[speed].value = 0.0000000000e+00
ds[speed].unknown_sec = 148
ds[rtime].type = "GAUGE"
ds[rtime].minimal_heartbeat = 600
ds[rtime].min = 0.0000000000e+00
ds[rtime].max = NaN
ds[rtime].last_ds = "UNKN"
ds[rtime].value = 0.0000000000e+00
ds[rtime].unknown_sec = 148
ds[enabled].type = "GAUGE"
ds[enabled].minimal_heartbeat = 600
ds[enabled].min = 0.0000000000e+00
ds[enabled].max = NaN
ds[enabled].last_ds = "UNKN"
ds[enabled].value = 0.0000000000e+00
ds[enabled].unknown_sec = 148
ds[memory].type = "GAUGE"
ds[memory].minimal_heartbeat = 600
ds[memory].min = 0.0000000000e+00
ds[memory].max = NaN
ds[memory].last_ds = "UNKN"
ds[memory].value = 0.0000000000e+00
ds[memory].unknown_sec = 148
ds[numberofrecords].type = "GAUGE"
ds[numberofrecords].minimal_heartbeat = 600
ds[numberofrecords].min = 0.0000000000e+00
ds[numberofrecords].max = NaN
ds[numberofrecords].last_ds = "UNKN"
ds[numberofrecords].value = 0.0000000000e+00
ds[numberofrecords].unknown_sec = 148
ds[version].type = "ABSOLUTE"
ds[version].minimal_heartbeat = 600
ds[version].min = 0.0000000000e+00
ds[version].max = NaN
ds[version].last_ds = "UNKN"
ds[version].value = 0.0000000000e+00
ds[version].unknown_sec = 148
rra[0].cf = "AVERAGE"
rra[0].rows = 600
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[0].cdp_prep[2].value = NaN
rra[0].cdp_prep[2].unknown_datapoints = 0
rra[0].cdp_prep[3].value = NaN
rra[0].cdp_prep[3].unknown_datapoints = 0
rra[0].cdp_prep[4].value = NaN
rra[0].cdp_prep[4].unknown_datapoints = 0
rra[0].cdp_prep[5].value = NaN
rra[0].cdp_prep[5].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 700
rra[1].pdp_per_row = 6
rra[1].xff = 5.0000000000e-01
rra[1].cdp_prep[0].value = NaN
rra[1].cdp_prep[0].unknown_datapoints = 5
rra[1].cdp_prep[1].value = NaN
rra[1].cdp_prep[1].unknown_datapoints = 5
rra[1].cdp_prep[2].value = NaN
rra[1].cdp_prep[2].unknown_datapoints = 5
rra[1].cdp_prep[3].value = NaN
rra[1].cdp_prep[3].unknown_datapoints = 5
rra[1].cdp_prep[4].value = NaN
rra[1].cdp_prep[4].unknown_datapoints = 5
rra[1].cdp_prep[5].value = NaN
rra[1].cdp_prep[5].unknown_datapoints = 5
rra[2].cf = "AVERAGE"
rra[2].rows = 775
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 = 5
rra[2].cdp_prep[1].value = NaN
rra[2].cdp_prep[1].unknown_datapoints = 5
rra[2].cdp_prep[2].value = NaN
rra[2].cdp_prep[2].unknown_datapoints = 5
rra[2].cdp_prep[3].value = NaN
rra[2].cdp_prep[3].unknown_datapoints = 5
rra[2].cdp_prep[4].value = NaN
rra[2].cdp_prep[4].unknown_datapoints = 5
rra[2].cdp_prep[5].value = NaN
rra[2].cdp_prep[5].unknown_datapoints = 5
rra[3].cf = "AVERAGE"
rra[3].rows = 797
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 = 29
rra[3].cdp_prep[1].value = NaN
rra[3].cdp_prep[1].unknown_datapoints = 29
rra[3].cdp_prep[2].value = NaN
rra[3].cdp_prep[2].unknown_datapoints = 29
rra[3].cdp_prep[3].value = NaN
rra[3].cdp_prep[3].unknown_datapoints = 29
rra[3].cdp_prep[4].value = NaN
rra[3].cdp_prep[4].unknown_datapoints = 29
rra[3].cdp_prep[5].value = NaN
rra[3].cdp_prep[5].unknown_datapoints = 29
rra[4].cf = "MAX"
rra[4].rows = 600
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[4].cdp_prep[2].value = NaN
rra[4].cdp_prep[2].unknown_datapoints = 0
rra[4].cdp_prep[3].value = NaN
rra[4].cdp_prep[3].unknown_datapoints = 0
rra[4].cdp_prep[4].value = NaN
rra[4].cdp_prep[4].unknown_datapoints = 0
rra[4].cdp_prep[5].value = NaN
rra[4].cdp_prep[5].unknown_datapoints = 0
rra[5].cf = "MAX"
rra[5].rows = 700
rra[5].pdp_per_row = 6
rra[5].xff = 5.0000000000e-01
rra[5].cdp_prep[0].value = NaN
rra[5].cdp_prep[0].unknown_datapoints = 5
rra[5].cdp_prep[1].value = NaN
rra[5].cdp_prep[1].unknown_datapoints = 5
rra[5].cdp_prep[2].value = NaN
rra[5].cdp_prep[2].unknown_datapoints = 5
rra[5].cdp_prep[3].value = NaN
rra[5].cdp_prep[3].unknown_datapoints = 5
rra[5].cdp_prep[4].value = NaN
rra[5].cdp_prep[4].unknown_datapoints = 5
rra[5].cdp_prep[5].value = NaN
rra[5].cdp_prep[5].unknown_datapoints = 5
rra[6].cf = "MAX"
rra[6].rows = 775
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 = 5
rra[6].cdp_prep[1].value = NaN
rra[6].cdp_prep[1].unknown_datapoints = 5
rra[6].cdp_prep[2].value = NaN
rra[6].cdp_prep[2].unknown_datapoints = 5
rra[6].cdp_prep[3].value = NaN
rra[6].cdp_prep[3].unknown_datapoints = 5
rra[6].cdp_prep[4].value = NaN
rra[6].cdp_prep[4].unknown_datapoints = 5
rra[6].cdp_prep[5].value = NaN
rra[6].cdp_prep[5].unknown_datapoints = 5
rra[7].cf = "MAX"
rra[7].rows = 797
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 = 29
rra[7].cdp_prep[1].value = NaN
rra[7].cdp_prep[1].unknown_datapoints = 29
rra[7].cdp_prep[2].value = NaN
rra[7].cdp_prep[2].unknown_datapoints = 29
rra[7].cdp_prep[3].value = NaN
rra[7].cdp_prep[3].unknown_datapoints = 29
rra[7].cdp_prep[4].value = NaN
rra[7].cdp_prep[4].unknown_datapoints = 29
rra[7].cdp_prep[5].value = NaN
rra[7].cdp_prep[5].unknown_datapoints = 29
--- SCRIPT
#!/usr/bin/perl -w
my $step = 3600;
my $time = time()+$step;
for(my $c=0;$c<50;$c++) {
$cmd = "rrdtool update
/home/ana/rrds//polisher/polisher_v5_1h/goldmine_crawlerslave.rrd
-t speed:rtime:enabled:memory:numberofrecords:version
${time}:222.00:323:0:409:4315280:20157";
`$cmd`;
$time+=$step;
}
-- RESULT
> rrdtool dump
/home/ana/rrds//polisher/polisher_v5_1h/goldmine_crawlerslave.rrd |grep
'2006-10-25' |grep -v NaN
--
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://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the rrd-users
mailing list