This is not a problem of timestamp. If I want the average of 100 values between 1316613312 and 1316699712
I do : rrdtool fetch routeur-master-snmp-lan_in.rrd AVERAGE --end 1316699712 -r 864 -s 1316613312 I doesn't have 100 values. 1316699712 is a multiple of 864, 1316613312 too. 1316699712 – 1316613312 = 86400 86400 / 864 = 100 Romain ________________________________ De : [email protected] [mailto:[email protected]] De la part de LE GONIDEC Romain Envoyé : mercredi 21 septembre 2011 14:21 À : '[email protected]' Objet : [rrd-users] RRDTool Fetch : Recover data with a different resolution of the RRA I use RRDtool to retrieve data. Until now I was recovering my data according to the RRA. But today I want to recover my data differently. I would like to get that 100 values on the last day, a value every 864 seconds. So, I did : rrdtool fetch routeur-master-snmp-lan_in.rrd AVERAGE -r 864 -s -1d But but it gives me 51 values and not 100. I don't understand. Can you help me please? My RRD configuration : filename = "routeur-master-snmp-lan_in.rrd" rrd_version = "0003" step = 60 last_update = 1316604436 ds[sup].type = "COUNTER" ds[sup].minimal_heartbeat = 120 ds[sup].min = NaN ds[sup].max = NaN ds[sup].last_ds = "2173671760" ds[sup].value = 9.5730425682e+06 ds[sup].unknown_sec = 0 rra[0].cf = "AVERAGE" rra[0].rows = 372 rra[0].pdp_per_row = 1440 rra[0].xff = 5.0000000000e-01 rra[0].cdp_prep[0].value = 1.8936266242e+08 rra[0].cdp_prep[0].unknown_datapoints = 0 rra[1].cf = "LAST" rra[1].rows = 1440 rra[1].pdp_per_row = 1 rra[1].xff = 5.0000000000e-01 rra[1].cdp_prep[0].value = NaN rra[1].cdp_prep[0].unknown_datapoints = 0 rra[2].cf = "AVERAGE" rra[2].rows = 372 rra[2].pdp_per_row = 120 rra[2].xff = 5.0000000000e-01 rra[2].cdp_prep[0].value = 4.7453525971e+07 rra[2].cdp_prep[0].unknown_datapoints = 0 rra[3].cf = "AVERAGE" rra[3].rows = 336 rra[3].pdp_per_row = 30 rra[3].xff = 5.0000000000e-01 rra[3].cdp_prep[0].value = 1.3743371732e+07 rra[3].cdp_prep[0].unknown_datapoints = 0 Romain
_______________________________________________ rrd-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
