[collectd] Rrdtool plugin configuration

Cyril Feraudet collectd at feraudet.com
Wed Mar 30 16:40:02 CEST 2011


Hi all, 

I would like to have a polling interval of 60s and keeping detailled (by
minutes) datas during 1 year, but keeping optimized RRAs for hour, day,
month ad year view.

To do that I've set in collectd.conf : 

Interval 60 

<Plugin rrdtool>
    DataDir "/var/lib/collectd"
    RRARows 525600
</Plugin>

But created rrd seems wrong :

filename = "/var/lib/collectd/eqdw30198/cpu-0/cpu-idle.rrd"
rrd_version = "0003"
step = 60
last_update = 1301494545
ds[value].type = "DERIVE"
ds[value].minimal_heartbeat = 120
ds[value].min = 0.0000000000e+00
ds[value].max = NaN
ds[value].last_ds = "7045192"
ds[value].value = 0.0000000000e+00
ds[value].unknown_sec = 45
rra[0].cf = "AVERAGE"
rra[0].rows = 525600
rra[0].pdp_per_row = 1
rra[0].xff = 1.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[1].cf = "MIN"
rra[1].rows = 525600
rra[1].pdp_per_row = 1
rra[1].xff = 1.0000000000e-01
rra[1].cdp_prep[0].value = NaN
rra[1].cdp_prep[0].unknown_datapoints = 0
rra[2].cf = "MAX"
rra[2].rows = 525600
rra[2].pdp_per_row = 1
rra[2].xff = 1.0000000000e-01
rra[2].cdp_prep[0].value = NaN
rra[2].cdp_prep[0].unknown_datapoints = 0
rra[3].cf = "AVERAGE"
rra[3].rows = 525600
rra[3].pdp_per_row = 1
rra[3].xff = 1.0000000000e-01
rra[3].cdp_prep[0].value = NaN
rra[3].cdp_prep[0].unknown_datapoints = 0
rra[4].cf = "MIN"
rra[4].rows = 525600
rra[4].pdp_per_row = 1
rra[4].xff = 1.0000000000e-01
rra[4].cdp_prep[0].value = NaN
rra[4].cdp_prep[0].unknown_datapoints = 0
rra[5].cf = "MAX"
rra[5].rows = 525600
rra[5].pdp_per_row = 1
rra[5].xff = 1.0000000000e-01
rra[5].cdp_prep[0].value = NaN
rra[5].cdp_prep[0].unknown_datapoints = 0
rra[6].cf = "AVERAGE"
rra[6].rows = 525600
rra[6].pdp_per_row = 1
rra[6].xff = 1.0000000000e-01
rra[6].cdp_prep[0].value = NaN
rra[6].cdp_prep[0].unknown_datapoints = 0
rra[7].cf = "MIN"
rra[7].rows = 525600
rra[7].pdp_per_row = 1
rra[7].xff = 1.0000000000e-01
rra[7].cdp_prep[0].value = NaN
rra[7].cdp_prep[0].unknown_datapoints = 0
rra[8].cf = "MAX"
rra[8].rows = 525600
rra[8].pdp_per_row = 1
rra[8].xff = 1.0000000000e-01
rra[8].cdp_prep[0].value = NaN
rra[8].cdp_prep[0].unknown_datapoints = 0
rra[9].cf = "AVERAGE"
rra[9].rows = 525600
rra[9].pdp_per_row = 1
rra[9].xff = 1.0000000000e-01
rra[9].cdp_prep[0].value = NaN
rra[9].cdp_prep[0].unknown_datapoints = 0
rra[10].cf = "MIN"
rra[10].rows = 525600
rra[10].pdp_per_row = 1
rra[10].xff = 1.0000000000e-01
rra[10].cdp_prep[0].value = NaN
rra[10].cdp_prep[0].unknown_datapoints = 0
rra[11].cf = "MAX"
rra[11].rows = 525600
rra[11].pdp_per_row = 1
rra[11].xff = 1.0000000000e-01
rra[11].cdp_prep[0].value = NaN
rra[11].cdp_prep[0].unknown_datapoints = 0
rra[12].cf = "AVERAGE"
rra[12].rows = 527040
rra[12].pdp_per_row = 1
rra[12].xff = 1.0000000000e-01
rra[12].cdp_prep[0].value = NaN
rra[12].cdp_prep[0].unknown_datapoints = 0
rra[13].cf = "MIN"
rra[13].rows = 527040
rra[13].pdp_per_row = 1
rra[13].xff = 1.0000000000e-01
rra[13].cdp_prep[0].value = NaN
rra[13].cdp_prep[0].unknown_datapoints = 0
rra[14].cf = "MAX"
rra[14].rows = 527040
rra[14].pdp_per_row = 1
rra[14].xff = 1.0000000000e-01
rra[14].cdp_prep[0].value = NaN
rra[14].cdp_prep[0].unknown_datapoints = 0

What's wrong ?

Thanks in advance,

Cyril



More information about the collectd mailing list