[rrd-users] MAX value differs on daily, weekly, monthly and yearly graphs.

Simone Morandini simone.morandini at mix-it.net
Thu Sep 1 19:10:18 MEST 2005


Hi all,

I'm having a little problem when graphing the bandwidth of our network,
in particular for the MAX value.
I have 4 graphs: daily, weekly, monthly and yearly, updated,
respectively, every 5 minutes, 30 minutes, 2 hours and 24 hours; the
number of primary data points is 1, 6, 24 and 288.
What I'd expect to happen, supposing that at a given moment a new
maximum occurs and remains for at least 24h, is that after 30 minutes
the weekly graph displays that value, after 2 hours the monthly graph
does the same, and so the yearly one after 24 hours, but this doesn't
happen. Plotted values are similar, but not exactly the same.
Maybe this helps: the step for this rrd file is 300, but every minute a
script collects data and update the rrd: executing 5 updates in five
minutes results in 5 overwritten values? Even in this case, however, I
don't understand how the MAX value is calculated.

Thanks in advance for any help,
Simone.

This is the output from rrdtool info:
-------------------------------------------
filename = "totaltraffic.rrd"
rrd_version = "0001"
step = 300
last_update = 1125585068
ds[ds0].type = "GAUGE"
ds[ds0].minimal_heartbeat = 600
ds[ds0].min = NaN
ds[ds0].max = 1.8750000000e+09
ds[ds0].last_ds = "UNKN"
ds[ds0].value = 7.4250077719e+10
ds[ds0].unknown_sec = 0
ds[ds1].type = "GAUGE"
ds[ds1].minimal_heartbeat = 600
ds[ds1].min = NaN
ds[ds1].max = 1.8750000000e+09
ds[ds1].last_ds = "UNKN"
ds[ds1].value = 3.8925745243e+10
ds[ds1].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[1].cf = "MAX"
rra[1].rows = 600
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[1].cdp_prep[1].value = NaN
rra[1].cdp_prep[1].unknown_datapoints = 0
rra[2].cf = "AVERAGE"
rra[2].rows = 600
rra[2].pdp_per_row = 6
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = NaN
rra[2].cdp_prep[0].unknown_datapoints = 0
rra[2].cdp_prep[1].value = NaN
rra[2].cdp_prep[1].unknown_datapoints = 0
rra[3].cf = "MAX"
rra[3].rows = 600
rra[3].pdp_per_row = 6
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = NaN
rra[3].cdp_prep[0].unknown_datapoints = 0
rra[3].cdp_prep[1].value = NaN
rra[3].cdp_prep[1].unknown_datapoints = 0
rra[4].cf = "AVERAGE"
rra[4].rows = 600
rra[4].pdp_per_row = 24
rra[4].xff = 5.0000000000e-01
rra[4].cdp_prep[0].value = 6.4468216413e+09
rra[4].cdp_prep[0].unknown_datapoints = 0
rra[4].cdp_prep[1].value = 3.4433048861e+09
rra[4].cdp_prep[1].unknown_datapoints = 0
rra[5].cf = "MAX"
rra[5].rows = 600
rra[5].pdp_per_row = 24
rra[5].xff = 5.0000000000e-01
rra[5].cdp_prep[0].value = 1.0877123379e+09
rra[5].cdp_prep[0].unknown_datapoints = 0
rra[5].cdp_prep[1].value = 5.7631878686e+08
rra[5].cdp_prep[1].unknown_datapoints = 0
rra[6].cf = "AVERAGE"
rra[6].rows = 600
rra[6].pdp_per_row = 288
rra[6].xff = 5.0000000000e-01
rra[6].cdp_prep[0].value = 1.2393403328e+11
rra[6].cdp_prep[0].unknown_datapoints = 0
rra[6].cdp_prep[1].value = 7.1858784166e+10
rra[6].cdp_prep[1].unknown_datapoints = 0
rra[7].cf = "MAX"
rra[7].rows = 600
rra[7].pdp_per_row = 288
rra[7].xff = 5.0000000000e-01
rra[7].cdp_prep[0].value = 1.0877123379e+09
rra[7].cdp_prep[0].unknown_datapoints = 0
rra[7].cdp_prep[1].value = 5.7631878686e+08
rra[7].cdp_prep[1].unknown_datapoints = 0

--
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