When I generate a graph for weekly, the value is 4 but when I generate for monthly, the value is about 2.1
I try to fetch the data and the value is 4. data is the same when fetching with the timestamp for a week/month
My rrd info:
filename = "icscf_1_tpip_total.rrd"
rrd_version = "0003"
step = 900
last_update = 1610441186
header_size = 6176
ds[max_in].index = 2
ds[max_in].type = "GAUGE"
ds[max_in].minimal_heartbeat = 1000
ds[max_in].min = NaN
ds[max_in].max = NaN
ds[max_in].last_ds = "2.0"
ds[max_in].value = 1.7200000000e+02
ds[max_in].unknown_sec = 0
rra[0].cf = "AVERAGE"
rra[0].rows = 96
rra[0].cur_row = 85
rra[0].pdp_per_row = 1
rra[0].xff = 0.0000000000e+00
rra[0].cdp_prep[2].value = NaN
rra[0].cdp_prep[2].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 96
rra[1].cur_row = 34
rra[1].pdp_per_row = 1
rra[1].xff = 0.0000000000e+00
rra[1].cdp_prep[2].value = NaN
rra[1].cdp_prep[2].unknown_datapoints = 0
rra[2].cf = "AVERAGE"
rra[2].rows = 2880
rra[2].cur_row = 1828
rra[2].pdp_per_row = 1
rra[2].xff = 0.0000000000e+00
rra[2].cdp_prep[2].value = NaN
rra[2].cdp_prep[2].unknown_datapoints = 0
rra[3].cf = "MAX"
rra[3].rows = 52
rra[3].cur_row = 43
rra[3].pdp_per_row = 672
rra[3].xff = 0.0000000000e+00
rra[3].cdp_prep[2].value = 4.0000000000e+00
rra[3].cdp_prep[2].unknown_datapoints = 489
My RRD command: Weekly:
rrdtool graph /.../Maximum_incoming_call.png
--start 1610104905
--end 1610709705
--title Maximum_incoming_call
--lower-limit 0
--alt-autoscale-max
--slope-mode
--units=si
--alt-y-grid TEXTALIGN:left COMMENT:"1 G = 1.000.000.000 | 1 M = 1.000.000 | 1 k = 1.000 \n"
DEF:test0="/..../icscf_1_tpip_total.rrd":max_in:AVERAGE
LINE:test0#FF0000:"tpip total"
--width 600
--height 352
Monthly:
rrdtool graph
/.../Maximum_incoming_call.png
--start 1608117756
--end 1610709756
--title Maximum_incoming_call
--lower-limit 0
--alt-autoscale-max
--slope-mode
--units=si
--alt-y-grid TEXTALIGN:left COMMENT:"1 G = 1.000.000.000 | 1 M = 1.000.000 | 1 k = 1.000 \n"
DEF:test0="/..../icscf_1_tpip_total.rrd":max_in:AVERAGE
LINE:test0#FF0000:"tpip total"
--width 600
--height 352
I don't know why It's working good for weekly but monthly is display only a half like in the imagine.
My rrdtool fetch:
rrdtool fetch icscf_1_tpip_total.rrd AVERAGE --start 1610104905 --end 1610709705
max_in
.....
1610418600: 4.0000000000e+00
.....
rrdtool fetch icscf_1_tpip_total.rrd AVERAGE --start 1608117756 --end 1610709756
max_in
....
1610418600: 4.0000000000e+00
....