Incorrect Graph painting

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
User avatar
kramsay
Posts: 35
Joined: Fri Jan 21, 2005 1:42 pm

Incorrect Graph painting

Post by kramsay »

I am a bit confused by what I am seeing on the following two graphs.

The first graph (rra2)is a drilled down graph and the MAX value agrees with what has been drawn. This also agrees with the value in the rrd file.

The second graph (rra1) is the default graph in Cacti. However , as you can see , the graph does not reflect the actual value in the rrd for the time around 19.30.

Can someone tell me why ? I've read and thought i understood the rrdtool manual :cry:
Attachments
This is the second drilled down graph.
This is the second drilled down graph.
rr2.jpg (30.15 KiB) Viewed 2029 times
This is the default graph
This is the default graph
rr1.jpg (33.08 KiB) Viewed 2031 times
=(8-0-)
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

This can't be judged from the graphs alone. Please visit Graph management, select the Graph and switch to DEBUG.
My assumption is, that the legend refers to the MAX consolidation function whereas the graph refers to AVERAGE.
Using a graph of the last day only will make no difference for both (because consolidation in fact does not occur for the timespan of the first RRA), but going further into the past will do.
Reinhard
User avatar
kramsay
Posts: 35
Joined: Fri Jan 21, 2005 1:42 pm

Post by kramsay »

Your assumption is correct Reinhard.

Code: Select all

DEF:a="/var/www/html/rra/chi01_bcpktsrcvd_sink_830.rrd":bcPktsRcvd_sink:AVERAGE \
DEF:b="/var/www/html/rra/chi01_bcpktsrcvd_sink_830.rrd":bcPktsRcvd_sink:LAST \
DEF:c="/var/www/html/rra/chi01_bcpktsrcvd_sink_830.rrd":bcPktsRcvd_sink:MAX \


AREA:a#F51D30FF:"bcPktsRcvd_sink \:"  \
GPRINT:b:LAST:"Current\:%8.2lf %s"  \
GPRINT:c:MAX:"Maximum\:%8.2lf %s\n"  \
However, I am still puzzled (i.e. the light has not gone on yet :-? ) as to why the 24hr graph does not paint the same information as the 4 hour graph as both graphs employ the same step value of 1 in their RRA definitions. I feel there is something fundamental I just don't get.....
Below is the actual value in the RRD file at 7.30pm

Code: Select all

1224030600: 6.1202185792e-02 0.0000000000e+00 0.0000000000e+00 2.0655737705e+00 0.0000000000e+00 3.0601092896e-02 2.0655737705e+00 0.0000000000e+00
=(8-0-)
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please post "rrdtool info" results for this file
Reinhard
User avatar
kramsay
Posts: 35
Joined: Fri Jan 21, 2005 1:42 pm

Post by kramsay »

Hi Reinhard . Here's the rrdinfo results :

Code: Select all

filename = "chimds01_bcpktsrcvd_sink_830.rrd"
rrd_version = "0003"
step = 60
last_update = 1224161224
ds[ppPktsSent_src].type = "COUNTER"
ds[ppPktsSent_src].minimal_heartbeat = 120
ds[ppPktsSent_src].min = 0.0000000000e+00
ds[ppPktsSent_src].max = 1.0000000000e+02
ds[ppPktsSent_src].last_ds = "355"
ds[ppPktsSent_src].value = 0.0000000000e+00
ds[ppPktsSent_src].unknown_sec = 0
ds[bcPktsSent_sink].type = "COUNTER"
ds[bcPktsSent_sink].minimal_heartbeat = 120
ds[bcPktsSent_sink].min = 0.0000000000e+00
ds[bcPktsSent_sink].max = 1.0000000000e+02
ds[bcPktsSent_sink].last_ds = "207"
ds[bcPktsSent_sink].value = 0.0000000000e+00
ds[bcPktsSent_sink].unknown_sec = 0
ds[ppPktsSent_sink].type = "COUNTER"
ds[ppPktsSent_sink].minimal_heartbeat = 120
ds[ppPktsSent_sink].min = 0.0000000000e+00
ds[ppPktsSent_sink].max = 1.0000000000e+02
ds[ppPktsSent_sink].last_ds = "8"
ds[ppPktsSent_sink].value = 0.0000000000e+00
ds[ppPktsSent_sink].unknown_sec = 0
ds[bcPktsSent_src].type = "COUNTER"
ds[bcPktsSent_src].minimal_heartbeat = 120
ds[bcPktsSent_src].min = 0.0000000000e+00
ds[bcPktsSent_src].max = 1.0000000000e+02
ds[bcPktsSent_src].last_ds = "8787"
ds[bcPktsSent_src].value = 0.0000000000e+00
ds[bcPktsSent_src].unknown_sec = 0
ds[ppPktsRcvd_sink].type = "COUNTER"
ds[ppPktsRcvd_sink].minimal_heartbeat = 120
ds[ppPktsRcvd_sink].min = 0.0000000000e+00
ds[ppPktsRcvd_sink].max = 1.0000000000e+02
ds[ppPktsRcvd_sink].last_ds = "1"
ds[ppPktsRcvd_sink].value = 0.0000000000e+00
ds[ppPktsRcvd_sink].unknown_sec = 0
ds[ppPktsRcvd_src].type = "COUNTER"
ds[ppPktsRcvd_src].minimal_heartbeat = 120
ds[ppPktsRcvd_src].min = 0.0000000000e+00
ds[ppPktsRcvd_src].max = 1.0000000000e+02
ds[ppPktsRcvd_src].last_ds = "2"
ds[ppPktsRcvd_src].value = 0.0000000000e+00
ds[ppPktsRcvd_src].unknown_sec = 0
ds[bcPktsRcvd_sink].type = "COUNTER"
ds[bcPktsRcvd_sink].minimal_heartbeat = 120
ds[bcPktsRcvd_sink].min = 0.0000000000e+00
ds[bcPktsRcvd_sink].max = 1.0000000000e+02
ds[bcPktsRcvd_sink].last_ds = "8790"
ds[bcPktsRcvd_sink].value = 0.0000000000e+00
ds[bcPktsRcvd_sink].unknown_sec = 0
ds[bcPktsRcvd_src].type = "COUNTER"
ds[bcPktsRcvd_src].minimal_heartbeat = 120
ds[bcPktsRcvd_src].min = 0.0000000000e+00
ds[bcPktsRcvd_src].max = 1.0000000000e+02
ds[bcPktsRcvd_src].last_ds = "323"
ds[bcPktsRcvd_src].value = 0.0000000000e+00
ds[bcPktsRcvd_src].unknown_sec = 0
rra[0].cf = "AVERAGE"
rra[0].rows = 10080
rra[0].cur_row = 9105
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[0].cdp_prep[2].value = NaN
rra[0].cdp_prep[2].unknown_datapoints = 0
rra[0].cdp_prep[3].value = NaN
rra[0].cdp_prep[3].unknown_datapoints = 0
rra[0].cdp_prep[4].value = NaN
rra[0].cdp_prep[4].unknown_datapoints = 0
rra[0].cdp_prep[5].value = NaN
rra[0].cdp_prep[5].unknown_datapoints = 0
rra[0].cdp_prep[6].value = NaN
rra[0].cdp_prep[6].unknown_datapoints = 0
rra[0].cdp_prep[7].value = NaN
rra[0].cdp_prep[7].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 25920
rra[1].cur_row = 9034
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[1].cdp_prep[2].value = NaN
rra[1].cdp_prep[2].unknown_datapoints = 0
rra[1].cdp_prep[3].value = NaN
rra[1].cdp_prep[3].unknown_datapoints = 0
rra[1].cdp_prep[4].value = NaN
rra[1].cdp_prep[4].unknown_datapoints = 0
rra[1].cdp_prep[5].value = NaN
rra[1].cdp_prep[5].unknown_datapoints = 0
rra[1].cdp_prep[6].value = NaN
rra[1].cdp_prep[6].unknown_datapoints = 0
rra[1].cdp_prep[7].value = NaN
rra[1].cdp_prep[7].unknown_datapoints = 0
rra[2].cf = "AVERAGE"
rra[2].rows = 2250
rra[2].cur_row = 174
rra[2].pdp_per_row = 24
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = 0.0000000000e+00
rra[2].cdp_prep[0].unknown_datapoints = 0
rra[2].cdp_prep[1].value = 0.0000000000e+00
rra[2].cdp_prep[1].unknown_datapoints = 0
rra[2].cdp_prep[2].value = 0.0000000000e+00
rra[2].cdp_prep[2].unknown_datapoints = 0
rra[2].cdp_prep[3].value = 0.0000000000e+00
rra[2].cdp_prep[3].unknown_datapoints = 0
rra[2].cdp_prep[4].value = 0.0000000000e+00
rra[2].cdp_prep[4].unknown_datapoints = 0
rra[2].cdp_prep[5].value = 0.0000000000e+00
rra[2].cdp_prep[5].unknown_datapoints = 0
rra[2].cdp_prep[6].value = 0.0000000000e+00
rra[2].cdp_prep[6].unknown_datapoints = 0
rra[2].cdp_prep[7].value = 0.0000000000e+00
rra[2].cdp_prep[7].unknown_datapoints = 0
rra[3].cf = "AVERAGE"
rra[3].rows = 9000
rra[3].cur_row = 7881
rra[3].pdp_per_row = 6
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = 0.0000000000e+00
rra[3].cdp_prep[0].unknown_datapoints = 0
rra[3].cdp_prep[1].value = 0.0000000000e+00
rra[3].cdp_prep[1].unknown_datapoints = 0
rra[3].cdp_prep[2].value = 0.0000000000e+00
rra[3].cdp_prep[2].unknown_datapoints = 0
rra[3].cdp_prep[3].value = 0.0000000000e+00
rra[3].cdp_prep[3].unknown_datapoints = 0
rra[3].cdp_prep[4].value = 0.0000000000e+00
rra[3].cdp_prep[4].unknown_datapoints = 0
rra[3].cdp_prep[5].value = 0.0000000000e+00
rra[3].cdp_prep[5].unknown_datapoints = 0
rra[3].cdp_prep[6].value = 0.0000000000e+00
rra[3].cdp_prep[6].unknown_datapoints = 0
rra[3].cdp_prep[7].value = 0.0000000000e+00
rra[3].cdp_prep[7].unknown_datapoints = 0
rra[4].cf = "AVERAGE"
rra[4].rows = 797
rra[4].cur_row = 259
rra[4].pdp_per_row = 288
rra[4].xff = 5.0000000000e-01
rra[4].cdp_prep[0].value = 0.0000000000e+00
rra[4].cdp_prep[0].unknown_datapoints = 0
rra[4].cdp_prep[1].value = 1.1666666667e-01
rra[4].cdp_prep[1].unknown_datapoints = 0
rra[4].cdp_prep[2].value = 0.0000000000e+00
rra[4].cdp_prep[2].unknown_datapoints = 0
rra[4].cdp_prep[3].value = 0.0000000000e+00
rra[4].cdp_prep[3].unknown_datapoints = 0
rra[4].cdp_prep[4].value = 0.0000000000e+00
rra[4].cdp_prep[4].unknown_datapoints = 0
rra[4].cdp_prep[5].value = 0.0000000000e+00
rra[4].cdp_prep[5].unknown_datapoints = 0
rra[4].cdp_prep[6].value = 0.0000000000e+00
rra[4].cdp_prep[6].unknown_datapoints = 0
rra[4].cdp_prep[7].value = 1.1666666667e-01
rra[4].cdp_prep[7].unknown_datapoints = 0
rra[5].cf = "MIN"
rra[5].rows = 10080
rra[5].cur_row = 9435
rra[5].pdp_per_row = 1
rra[5].xff = 5.0000000000e-01
rra[5].cdp_prep[0].value = NaN
rra[5].cdp_prep[0].unknown_datapoints = 0
rra[5].cdp_prep[1].value = NaN
rra[5].cdp_prep[1].unknown_datapoints = 0
rra[5].cdp_prep[2].value = NaN
rra[5].cdp_prep[2].unknown_datapoints = 0
rra[5].cdp_prep[3].value = NaN
rra[5].cdp_prep[3].unknown_datapoints = 0
rra[5].cdp_prep[4].value = NaN
rra[5].cdp_prep[4].unknown_datapoints = 0
rra[5].cdp_prep[5].value = NaN
rra[5].cdp_prep[5].unknown_datapoints = 0
rra[5].cdp_prep[6].value = NaN
rra[5].cdp_prep[6].unknown_datapoints = 0
rra[5].cdp_prep[7].value = NaN
rra[5].cdp_prep[7].unknown_datapoints = 0
rra[6].cf = "MIN"
rra[6].rows = 25920
rra[6].cur_row = 9017
rra[6].pdp_per_row = 1
rra[6].xff = 5.0000000000e-01
rra[6].cdp_prep[0].value = NaN
rra[6].cdp_prep[0].unknown_datapoints = 0
rra[6].cdp_prep[1].value = NaN
rra[6].cdp_prep[1].unknown_datapoints = 0
rra[6].cdp_prep[2].value = NaN
rra[6].cdp_prep[2].unknown_datapoints = 0
rra[6].cdp_prep[3].value = NaN
rra[6].cdp_prep[3].unknown_datapoints = 0
rra[6].cdp_prep[4].value = NaN
rra[6].cdp_prep[4].unknown_datapoints = 0
rra[6].cdp_prep[5].value = NaN
rra[6].cdp_prep[5].unknown_datapoints = 0
rra[6].cdp_prep[6].value = NaN
rra[6].cdp_prep[6].unknown_datapoints = 0
rra[6].cdp_prep[7].value = NaN
rra[6].cdp_prep[7].unknown_datapoints = 0
rra[7].cf = "MIN"
rra[7].rows = 9000
rra[7].cur_row = 7869
rra[7].pdp_per_row = 6
rra[7].xff = 5.0000000000e-01
rra[7].cdp_prep[0].value = 0.0000000000e+00
rra[7].cdp_prep[0].unknown_datapoints = 0
rra[7].cdp_prep[1].value = 0.0000000000e+00
rra[7].cdp_prep[1].unknown_datapoints = 0
rra[7].cdp_prep[2].value = 0.0000000000e+00
rra[7].cdp_prep[2].unknown_datapoints = 0
rra[7].cdp_prep[3].value = 0.0000000000e+00
rra[7].cdp_prep[3].unknown_datapoints = 0
rra[7].cdp_prep[4].value = 0.0000000000e+00
rra[7].cdp_prep[4].unknown_datapoints = 0
rra[7].cdp_prep[5].value = 0.0000000000e+00
rra[7].cdp_prep[5].unknown_datapoints = 0
rra[7].cdp_prep[6].value = 0.0000000000e+00
rra[7].cdp_prep[6].unknown_datapoints = 0
rra[7].cdp_prep[7].value = 0.0000000000e+00
rra[7].cdp_prep[7].unknown_datapoints = 0
rra[8].cf = "MIN"
rra[8].rows = 2250
rra[8].cur_row = 1019
rra[8].pdp_per_row = 24
rra[8].xff = 5.0000000000e-01
rra[8].cdp_prep[0].value = 0.0000000000e+00
rra[8].cdp_prep[0].unknown_datapoints = 0
rra[8].cdp_prep[1].value = 0.0000000000e+00
rra[8].cdp_prep[1].unknown_datapoints = 0
rra[8].cdp_prep[2].value = 0.0000000000e+00
rra[8].cdp_prep[2].unknown_datapoints = 0
rra[8].cdp_prep[3].value = 0.0000000000e+00
rra[8].cdp_prep[3].unknown_datapoints = 0
rra[8].cdp_prep[4].value = 0.0000000000e+00
rra[8].cdp_prep[4].unknown_datapoints = 0
rra[8].cdp_prep[5].value = 0.0000000000e+00
rra[8].cdp_prep[5].unknown_datapoints = 0
rra[8].cdp_prep[6].value = 0.0000000000e+00
rra[8].cdp_prep[6].unknown_datapoints = 0
rra[8].cdp_prep[7].value = 0.0000000000e+00
rra[8].cdp_prep[7].unknown_datapoints = 0
rra[9].cf = "MIN"
rra[9].rows = 797
rra[9].cur_row = 111
rra[9].pdp_per_row = 288
rra[9].xff = 5.0000000000e-01
rra[9].cdp_prep[0].value = 0.0000000000e+00
rra[9].cdp_prep[0].unknown_datapoints = 0
rra[9].cdp_prep[1].value = 0.0000000000e+00
rra[9].cdp_prep[1].unknown_datapoints = 0
rra[9].cdp_prep[2].value = 0.0000000000e+00
rra[9].cdp_prep[2].unknown_datapoints = 0
rra[9].cdp_prep[3].value = 0.0000000000e+00
rra[9].cdp_prep[3].unknown_datapoints = 0
rra[9].cdp_prep[4].value = 0.0000000000e+00
rra[9].cdp_prep[4].unknown_datapoints = 0
rra[9].cdp_prep[5].value = 0.0000000000e+00
rra[9].cdp_prep[5].unknown_datapoints = 0
rra[9].cdp_prep[6].value = 0.0000000000e+00
rra[9].cdp_prep[6].unknown_datapoints = 0
rra[9].cdp_prep[7].value = 0.0000000000e+00
rra[9].cdp_prep[7].unknown_datapoints = 0
rra[10].cf = "MAX"
rra[10].rows = 10080
rra[10].cur_row = 2427
rra[10].pdp_per_row = 1
rra[10].xff = 5.0000000000e-01
rra[10].cdp_prep[0].value = NaN
rra[10].cdp_prep[0].unknown_datapoints = 0
rra[10].cdp_prep[1].value = NaN
rra[10].cdp_prep[1].unknown_datapoints = 0
rra[10].cdp_prep[2].value = NaN
rra[10].cdp_prep[2].unknown_datapoints = 0
rra[10].cdp_prep[3].value = NaN
rra[10].cdp_prep[3].unknown_datapoints = 0
rra[10].cdp_prep[4].value = NaN
rra[10].cdp_prep[4].unknown_datapoints = 0
rra[10].cdp_prep[5].value = NaN
rra[10].cdp_prep[5].unknown_datapoints = 0
rra[10].cdp_prep[6].value = NaN
rra[10].cdp_prep[6].unknown_datapoints = 0
rra[10].cdp_prep[7].value = NaN
rra[10].cdp_prep[7].unknown_datapoints = 0
rra[11].cf = "MAX"
rra[11].rows = 25920
rra[11].cur_row = 15193
rra[11].pdp_per_row = 1
rra[11].xff = 5.0000000000e-01
rra[11].cdp_prep[0].value = NaN
rra[11].cdp_prep[0].unknown_datapoints = 0
rra[11].cdp_prep[1].value = NaN
rra[11].cdp_prep[1].unknown_datapoints = 0
rra[11].cdp_prep[2].value = NaN
rra[11].cdp_prep[2].unknown_datapoints = 0
rra[11].cdp_prep[3].value = NaN
rra[11].cdp_prep[3].unknown_datapoints = 0
rra[11].cdp_prep[4].value = NaN
rra[11].cdp_prep[4].unknown_datapoints = 0
rra[11].cdp_prep[5].value = NaN
rra[11].cdp_prep[5].unknown_datapoints = 0
rra[11].cdp_prep[6].value = NaN
rra[11].cdp_prep[6].unknown_datapoints = 0
rra[11].cdp_prep[7].value = NaN
rra[11].cdp_prep[7].unknown_datapoints = 0
rra[12].cf = "MAX"
rra[12].rows = 9000
rra[12].cur_row = 1737
rra[12].pdp_per_row = 6
rra[12].xff = 5.0000000000e-01
rra[12].cdp_prep[0].value = 0.0000000000e+00
rra[12].cdp_prep[0].unknown_datapoints = 0
rra[12].cdp_prep[1].value = 0.0000000000e+00
rra[12].cdp_prep[1].unknown_datapoints = 0
rra[12].cdp_prep[2].value = 0.0000000000e+00
rra[12].cdp_prep[2].unknown_datapoints = 0
rra[12].cdp_prep[3].value = 0.0000000000e+00
rra[12].cdp_prep[3].unknown_datapoints = 0
rra[12].cdp_prep[4].value = 0.0000000000e+00
rra[12].cdp_prep[4].unknown_datapoints = 0
rra[12].cdp_prep[5].value = 0.0000000000e+00
rra[12].cdp_prep[5].unknown_datapoints = 0
rra[12].cdp_prep[6].value = 0.0000000000e+00
rra[12].cdp_prep[6].unknown_datapoints = 0
rra[12].cdp_prep[7].value = 0.0000000000e+00
rra[12].cdp_prep[7].unknown_datapoints = 0
rra[13].cf = "MAX"
rra[13].rows = 2250
rra[13].cur_row = 1770
rra[13].pdp_per_row = 24
rra[13].xff = 5.0000000000e-01
rra[13].cdp_prep[0].value = 0.0000000000e+00
rra[13].cdp_prep[0].unknown_datapoints = 0
rra[13].cdp_prep[1].value = 0.0000000000e+00
rra[13].cdp_prep[1].unknown_datapoints = 0
rra[13].cdp_prep[2].value = 0.0000000000e+00
rra[13].cdp_prep[2].unknown_datapoints = 0
rra[13].cdp_prep[3].value = 0.0000000000e+00
rra[13].cdp_prep[3].unknown_datapoints = 0
rra[13].cdp_prep[4].value = 0.0000000000e+00
rra[13].cdp_prep[4].unknown_datapoints = 0
rra[13].cdp_prep[5].value = 0.0000000000e+00
rra[13].cdp_prep[5].unknown_datapoints = 0
rra[13].cdp_prep[6].value = 0.0000000000e+00
rra[13].cdp_prep[6].unknown_datapoints = 0
rra[13].cdp_prep[7].value = 0.0000000000e+00
rra[13].cdp_prep[7].unknown_datapoints = 0
rra[14].cf = "MAX"
rra[14].rows = 797
rra[14].cur_row = 83
rra[14].pdp_per_row = 288
rra[14].xff = 5.0000000000e-01
rra[14].cdp_prep[0].value = 0.0000000000e+00
rra[14].cdp_prep[0].unknown_datapoints = 0
rra[14].cdp_prep[1].value = 3.1111111111e-02
rra[14].cdp_prep[1].unknown_datapoints = 0
rra[14].cdp_prep[2].value = 0.0000000000e+00
rra[14].cdp_prep[2].unknown_datapoints = 0
rra[14].cdp_prep[3].value = 0.0000000000e+00
rra[14].cdp_prep[3].unknown_datapoints = 0
rra[14].cdp_prep[4].value = 0.0000000000e+00
rra[14].cdp_prep[4].unknown_datapoints = 0
rra[14].cdp_prep[5].value = 0.0000000000e+00
rra[14].cdp_prep[5].unknown_datapoints = 0
rra[14].cdp_prep[6].value = 0.0000000000e+00
rra[14].cdp_prep[6].unknown_datapoints = 0
rra[14].cdp_prep[7].value = 3.1111111111e-02
rra[14].cdp_prep[7].unknown_datapoints = 0
rra[15].cf = "LAST"
rra[15].rows = 10080
rra[15].cur_row = 1178
rra[15].pdp_per_row = 1
rra[15].xff = 5.0000000000e-01
rra[15].cdp_prep[0].value = NaN
rra[15].cdp_prep[0].unknown_datapoints = 0
rra[15].cdp_prep[1].value = NaN
rra[15].cdp_prep[1].unknown_datapoints = 0
rra[15].cdp_prep[2].value = NaN
rra[15].cdp_prep[2].unknown_datapoints = 0
rra[15].cdp_prep[3].value = NaN
rra[15].cdp_prep[3].unknown_datapoints = 0
rra[15].cdp_prep[4].value = NaN
rra[15].cdp_prep[4].unknown_datapoints = 0
rra[15].cdp_prep[5].value = NaN
rra[15].cdp_prep[5].unknown_datapoints = 0
rra[15].cdp_prep[6].value = NaN
rra[15].cdp_prep[6].unknown_datapoints = 0
rra[15].cdp_prep[7].value = NaN
rra[15].cdp_prep[7].unknown_datapoints = 0
rra[16].cf = "LAST"
rra[16].rows = 25920
rra[16].cur_row = 21446
rra[16].pdp_per_row = 1
rra[16].xff = 5.0000000000e-01
rra[16].cdp_prep[0].value = NaN
rra[16].cdp_prep[0].unknown_datapoints = 0
rra[16].cdp_prep[1].value = NaN
rra[16].cdp_prep[1].unknown_datapoints = 0
rra[16].cdp_prep[2].value = NaN
rra[16].cdp_prep[2].unknown_datapoints = 0
rra[16].cdp_prep[3].value = NaN
rra[16].cdp_prep[3].unknown_datapoints = 0
rra[16].cdp_prep[4].value = NaN
rra[16].cdp_prep[4].unknown_datapoints = 0
rra[16].cdp_prep[5].value = NaN
rra[16].cdp_prep[5].unknown_datapoints = 0
rra[16].cdp_prep[6].value = NaN
rra[16].cdp_prep[6].unknown_datapoints = 0
rra[16].cdp_prep[7].value = NaN
rra[16].cdp_prep[7].unknown_datapoints = 0
rra[17].cf = "LAST"
rra[17].rows = 9000
rra[17].cur_row = 7312
rra[17].pdp_per_row = 6
rra[17].xff = 5.0000000000e-01
rra[17].cdp_prep[0].value = 0.0000000000e+00
rra[17].cdp_prep[0].unknown_datapoints = 0
rra[17].cdp_prep[1].value = 0.0000000000e+00
rra[17].cdp_prep[1].unknown_datapoints = 0
rra[17].cdp_prep[2].value = 0.0000000000e+00
rra[17].cdp_prep[2].unknown_datapoints = 0
rra[17].cdp_prep[3].value = 0.0000000000e+00
rra[17].cdp_prep[3].unknown_datapoints = 0
rra[17].cdp_prep[4].value = 0.0000000000e+00
rra[17].cdp_prep[4].unknown_datapoints = 0
rra[17].cdp_prep[5].value = 0.0000000000e+00
rra[17].cdp_prep[5].unknown_datapoints = 0
rra[17].cdp_prep[6].value = 0.0000000000e+00
rra[17].cdp_prep[6].unknown_datapoints = 0
rra[17].cdp_prep[7].value = 0.0000000000e+00
rra[17].cdp_prep[7].unknown_datapoints = 0
rra[18].cf = "LAST"
rra[18].rows = 2250
rra[18].cur_row = 226
rra[18].pdp_per_row = 24
rra[18].xff = 5.0000000000e-01
rra[18].cdp_prep[0].value = 0.0000000000e+00
rra[18].cdp_prep[0].unknown_datapoints = 0
rra[18].cdp_prep[1].value = 0.0000000000e+00
rra[18].cdp_prep[1].unknown_datapoints = 0
rra[18].cdp_prep[2].value = 0.0000000000e+00
rra[18].cdp_prep[2].unknown_datapoints = 0
rra[18].cdp_prep[3].value = 0.0000000000e+00
rra[18].cdp_prep[3].unknown_datapoints = 0
rra[18].cdp_prep[4].value = 0.0000000000e+00
rra[18].cdp_prep[4].unknown_datapoints = 0
rra[18].cdp_prep[5].value = 0.0000000000e+00
rra[18].cdp_prep[5].unknown_datapoints = 0
rra[18].cdp_prep[6].value = 0.0000000000e+00
rra[18].cdp_prep[6].unknown_datapoints = 0
rra[18].cdp_prep[7].value = 0.0000000000e+00
rra[18].cdp_prep[7].unknown_datapoints = 0
rra[19].cf = "LAST"
rra[19].rows = 797
rra[19].cur_row = 95
rra[19].pdp_per_row = 288
rra[19].xff = 5.0000000000e-01
rra[19].cdp_prep[0].value = 0.0000000000e+00
rra[19].cdp_prep[0].unknown_datapoints = 0
rra[19].cdp_prep[1].value = 0.0000000000e+00
rra[19].cdp_prep[1].unknown_datapoints = 0
rra[19].cdp_prep[2].value = 0.0000000000e+00
rra[19].cdp_prep[2].unknown_datapoints = 0
rra[19].cdp_prep[3].value = 0.0000000000e+00
rra[19].cdp_prep[3].unknown_datapoints = 0
rra[19].cdp_prep[4].value = 0.0000000000e+00
rra[19].cdp_prep[4].unknown_datapoints = 0
rra[19].cdp_prep[5].value = 0.0000000000e+00
rra[19].cdp_prep[5].unknown_datapoints = 0
rra[19].cdp_prep[6].value = 0.0000000000e+00
rra[19].cdp_prep[6].unknown_datapoints = 0
rra[19].cdp_prep[7].value = 0.0000000000e+00
rra[19].cdp_prep[7].unknown_datapoints = 0


=(8-0-)
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

You're a victim of what I like to call "graphical consolidation".
Your interval is set to 60 sec., the first consolidation level has 10080 data points.
So you may cover up to 7 days without consolidation.
That looks indeed fine, so what happens?

Take it this way: To show 7 days of "un-consolidated" data will clearly require a single pixel on your monitor for each data point. Got me?
Now imagine, that this will require a display that has at least 10080 data points horizontally. I'm quite sure, that such a device does not currently exist.
Even for a days worth of data, this will make 60*24 = 1440 data points. I'm quite sure that your graphs width is not that huge.

So, what will rrdtool do if you request to print 1440 data points giving an image width of only 500? It will take 3 data points, build an AVERAGE (this is the default and may be overridden) and print the average to a single pixel of your graph.

In other words, giving a width of 500 pixels, the maximum number of datapoints will be 500. This roughly makes for about (500/60 ~) 8 hours of data that you may watch at "un-consolidated".

Find more help at http://docs.cacti.net/?q=node/75
Reinhard
User avatar
kramsay
Posts: 35
Joined: Fri Jan 21, 2005 1:42 pm

Post by kramsay »

Thanks Gandalf. That makes perfect sense and intuitively I thought it must be some sort of averaging that was causing the discrepency.

Man I wish Tobi ( or some kind person) would write a comprehensive, detailed manual for RRDTool... it is a reasonably simple piece of software to basically understand but there are many facets to it.
=(8-0-)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest