[rrd-users] rrdfetch resolution for 15 minute averages returning 5 minute values
waseeley
waseeley at gmail.com
Thu Mar 28 22:48:31 CET 2013
I am trying to fetch 15 minute averages from an rrdfile created by OpenNMS
with 5 minute step intervals. Here is the rrdinfo output for the file:
filename = "/opt/opennms/share/rrd/response/10.224.6.41/icmp.rrd"
rrd_version = "0003"
step = 300
last_update = 1364504627
header_size = 1416
ds[icmp].index = 0
ds[icmp].type = "GAUGE"
ds[icmp].minimal_heartbeat = 600
ds[icmp].min = NaN
ds[icmp].max = NaN
ds[icmp].last_ds = "91385"
ds[icmp].value = 2.0744395000e+07
ds[icmp].unknown_sec = 0
rra[0].cf = "AVERAGE"
rra[0].rows = 2016
rra[0].cur_row = 1769
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[1].cf = "AVERAGE"
rra[1].rows = 1488
rra[1].cur_row = 675
rra[1].pdp_per_row = 12
rra[1].xff = 5.0000000000e-01
rra[1].cdp_prep[0].value = 0.0000000000e+00
rra[1].cdp_prep[0].unknown_datapoints = 0
rra[2].cf = "AVERAGE"
rra[2].rows = 366
rra[2].cur_row = 89
rra[2].pdp_per_row = 288
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = 1.4029383587e+07
rra[2].cdp_prep[0].unknown_datapoints = 123
rra[3].cf = "MAX"
rra[3].rows = 366
rra[3].cur_row = 89
rra[3].pdp_per_row = 288
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = 1.8350876000e+05
rra[3].cdp_prep[0].unknown_datapoints = 123
rra[4].cf = "MIN"
rra[4].rows = 366
rra[4].cur_row = 89
rra[4].pdp_per_row = 288
rra[4].xff = 5.0000000000e-01
rra[4].cdp_prep[0].value = 8.9930840000e+04
rra[4].cdp_prep[0].unknown_datapoints = 123
Here is the rrdfetch command:
rrdtool fetch /opt/opennms/share/rrd/response/10.224.6.41/icmp.rrd AVERAGE
--resolution 900 --start 1364356800 --end 1364443200
The start and end values are for midnight the previous day and midnight this
morning. Both are evening divisible by 900 seconds, per the rrdfetch man
page, yet I am getting values timestamped 300 seconds apart.
What am I doing wrong?
Thanks,
Bill
--
View this message in context: http://rrd-mailinglists.937164.n2.nabble.com/rrdfetch-resolution-for-15-minute-averages-returning-5-minute-values-tp7580862.html
Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.
More information about the rrd-users
mailing list