I've got problem. I made my own script to watch for records in our database, but it doesnt work.
Casti log file(seems all ok):
08/14/2007 07:25:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /home/kvadroom/domains/casti.kvadroom.ru/public_html/rra/kvadroom_foto_total_in_79.rrd --template foto_total_in:foto_total_deactive:foto_total_active 1187105101:55861092
rrdtool last(seems all ok)
[root@kvadroom rra]# rrdtool last kvadroom_foto_total_in_79.rrd
rrdtool: /usr/local/lib/libpng12.so.0: no version information available (required by /usr/lib/librrd.so.2)
1187105101
rrdtool info (not good, but last_ds correct)
Graph[root@kvadroom rra]# rrdtool info kvadroom_foto_total_in_79.rrd
rrdtool: /usr/local/lib/libpng12.so.0: no version information available (required by /usr/lib/librrd.so.2)
filename = "kvadroom_foto_total_in_79.rrd"
rrd_version = "0003"
step = 300
last_update = 1187105101
ds[foto_total_in].type = "DERIVE"
ds[foto_total_in].minimal_heartbeat = 600
ds[foto_total_in].min = 0.0000000000e+00
ds[foto_total_in].max = 3.0000000000e+04
ds[foto_total_in].last_ds = "5586"
ds[foto_total_in].value = 0.0000000000e+00
ds[foto_total_in].unknown_sec = 0
ds[foto_total_active].type = "DERIVE"
ds[foto_total_active].minimal_heartbeat = 600
ds[foto_total_active].min = 0.0000000000e+00
ds[foto_total_active].max = 3.0000000000e+04
ds[foto_total_active].last_ds = "1092"
ds[foto_total_active].value = 0.0000000000e+00
ds[foto_total_active].unknown_sec = 0
ds[foto_total_deactive].type = "DERIVE"
ds[foto_total_deactive].minimal_heartbeat = 600
ds[foto_total_deactive].min = 0.0000000000e+00
ds[foto_total_deactive].max = 3.0000000000e+04
ds[foto_total_deactive].last_ds = "1092"
ds[foto_total_deactive].value = 0.0000000000e+00
ds[foto_total_deactive].unknown_sec = 0
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[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 = 0.0000000000e+00
rra[1].cdp_prep[0].unknown_datapoints = 0
rra[1].cdp_prep[1].value = 0.0000000000e+00
rra[1].cdp_prep[1].unknown_datapoints = 0
rra[1].cdp_prep[2].value = 0.0000000000e+00
rra[1].cdp_prep[2].unknown_datapoints = 0
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 = 0.0000000000e+00
rra[2].cdp_prep[0].unknown_datapoints = 11
rra[2].cdp_prep[1].value = 0.0000000000e+00
rra[2].cdp_prep[1].unknown_datapoints = 11
rra[2].cdp_prep[2].value = 0.0000000000e+00
rra[2].cdp_prep[2].unknown_datapoints = 11
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 = 0.0000000000e+00
rra[3].cdp_prep[0].unknown_datapoints = 179
rra[3].cdp_prep[1].value = 0.0000000000e+00
rra[3].cdp_prep[1].unknown_datapoints = 179
rra[3].cdp_prep[2].value = 0.0000000000e+00
rra[3].cdp_prep[2].unknown_datapoints = 179
rra[4].cf = "MIN"
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[5].cf = "MIN"
rra[5].rows = 700
rra[5].pdp_per_row = 6
rra[5].xff = 5.0000000000e-01
rra[5].cdp_prep[0].value = 0.0000000000e+00
rra[5].cdp_prep[0].unknown_datapoints = 0
rra[5].cdp_prep[1].value = 0.0000000000e+00
rra[5].cdp_prep[1].unknown_datapoints = 0
rra[5].cdp_prep[2].value = 0.0000000000e+00
rra[5].cdp_prep[2].unknown_datapoints = 0
rra[6].cf = "MIN"
rra[6].rows = 775
rra[6].pdp_per_row = 24
rra[6].xff = 5.0000000000e-01
rra[6].cdp_prep[0].value = 0.0000000000e+00
rra[6].cdp_prep[0].unknown_datapoints = 11
rra[6].cdp_prep[1].value = 0.0000000000e+00
rra[6].cdp_prep[1].unknown_datapoints = 11
rra[6].cdp_prep[2].value = 0.0000000000e+00
rra[6].cdp_prep[2].unknown_datapoints = 11
rra[7].cf = "MIN"
rra[7].rows = 797
rra[7].pdp_per_row = 288
rra[7].xff = 5.0000000000e-01
rra[7].cdp_prep[0].value = 0.0000000000e+00
rra[7].cdp_prep[0].unknown_datapoints = 179
rra[7].cdp_prep[1].value = 0.0000000000e+00
rra[7].cdp_prep[1].unknown_datapoints = 179
rra[7].cdp_prep[2].value = 0.0000000000e+00
rra[7].cdp_prep[2].unknown_datapoints = 179
rra[8].cf = "MAX"
rra[8].rows = 600
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[8].cdp_prep[2].value = NaN
rra[8].cdp_prep[2].unknown_datapoints = 0
rra[9].cf = "MAX"
rra[9].rows = 700
rra[9].pdp_per_row = 6
rra[9].xff = 5.0000000000e-01
rra[9].cdp_prep[0].value = 0.0000000000e+00
rra[9].cdp_prep[0].unknown_datapoints = 0
rra[9].cdp_prep[1].value = 0.0000000000e+00
rra[9].cdp_prep[1].unknown_datapoints = 0
rra[9].cdp_prep[2].value = 0.0000000000e+00
rra[9].cdp_prep[2].unknown_datapoints = 0
rra[10].cf = "MAX"
rra[10].rows = 775
rra[10].pdp_per_row = 24
rra[10].xff = 5.0000000000e-01
rra[10].cdp_prep[0].value = 0.0000000000e+00
rra[10].cdp_prep[0].unknown_datapoints = 11
rra[10].cdp_prep[1].value = 0.0000000000e+00
rra[10].cdp_prep[1].unknown_datapoints = 11
rra[10].cdp_prep[2].value = 0.0000000000e+00
rra[10].cdp_prep[2].unknown_datapoints = 11
rra[11].cf = "MAX"
rra[11].rows = 797
rra[11].pdp_per_row = 288
rra[11].xff = 5.0000000000e-01
rra[11].cdp_prep[0].value = 0.0000000000e+00
rra[11].cdp_prep[0].unknown_datapoints = 179
rra[11].cdp_prep[1].value = 0.0000000000e+00
rra[11].cdp_prep[1].unknown_datapoints = 179
rra[11].cdp_prep[2].value = 0.0000000000e+00
rra[11].cdp_prep[2].unknown_datapoints = 179
rra[12].cf = "LAST"
rra[12].rows = 600
rra[12].pdp_per_row = 1
rra[12].xff = 5.0000000000e-01
rra[12].cdp_prep[0].value = NaN
rra[12].cdp_prep[0].unknown_datapoints = 0
rra[12].cdp_prep[1].value = NaN
rra[12].cdp_prep[1].unknown_datapoints = 0
rra[12].cdp_prep[2].value = NaN
rra[12].cdp_prep[2].unknown_datapoints = 0
rra[13].cf = "LAST"
rra[13].rows = 700
rra[13].pdp_per_row = 6
rra[13].xff = 5.0000000000e-01
rra[13].cdp_prep[0].value = 0.0000000000e+00
rra[13].cdp_prep[0].unknown_datapoints = 0
rra[13].cdp_prep[1].value = 0.0000000000e+00
rra[13].cdp_prep[1].unknown_datapoints = 0
rra[13].cdp_prep[2].value = 0.0000000000e+00
rra[13].cdp_prep[2].unknown_datapoints = 0
rra[14].cf = "LAST"
rra[14].rows = 775
rra[14].pdp_per_row = 24
rra[14].xff = 5.0000000000e-01
rra[14].cdp_prep[0].value = 0.0000000000e+00
rra[14].cdp_prep[0].unknown_datapoints = 11
rra[14].cdp_prep[1].value = 0.0000000000e+00
rra[14].cdp_prep[1].unknown_datapoints = 11
rra[14].cdp_prep[2].value = 0.0000000000e+00
rra[14].cdp_prep[2].unknown_datapoints = 11
rra[15].cf = "LAST"
rra[15].rows = 797
rra[15].pdp_per_row = 288
rra[15].xff = 5.0000000000e-01
rra[15].cdp_prep[0].value = 0.0000000000e+00
rra[15].cdp_prep[0].unknown_datapoints = 179
rra[15].cdp_prep[1].value = 0.0000000000e+00
rra[15].cdp_prep[1].unknown_datapoints = 179
rra[15].cdp_prep[2].value = 0.0000000000e+00
rra[15].cdp_prep[2].unknown_datapoints = 179
Any ideas how to fix it ?