Re: Cacti created rrd files - have I understood correctly?

Gandalf <[email protected]>
Newsgroups gmane.network.cacti.user
Message-ID <[email protected]>
This is mostly described correctly.
I already made some remarks about "loosing accuracy". It always depends on what
you want to see from those graphs ...

For example, many networkers want to have information about peak interface usage.
Thus, before talking about "loosing accuracy", you should first replace the CF
for traffic AREA and LINE in the default graphs. By default, it is AVERAGE =>
thus, a historical view will show "lower" values than expected. You should
better use MAXIMUM to display the peak values when aggregating.
In fact "not loosing accuracy" will NOT help here and still display wrong "peak
data"!!!

I explained this every now and then, my keyword for this is "graphical
consolidation". Google for that on the cacti sites to find a lengthy explanation ...

Reinhard

On 04.07.2013 18:02, James Bensley wrote:
> Oh! I pasted the info from the wrong rrd file :)
> 
> That was not in the default style of Cacti, the output below is from a
> default style Cacti created rrd file. So it looks like we have two
> data sources for a router interface, trafifc_in and traffic_out. We
> then have four consolidate functions. Comparing this rrdtool output to
> that in my last email, assuming I have understood the various
> tutorials and guides correctly, it is these four consolidate functions
> defined here that are removing data accuracy over time, yes;
> 
> We have two streams, AVERAGE and MAX and four stages of resolution
> (four sets of consolidate parameters for both MAX and AVERAGE).
> 
> Is that correct?
> 
> In my previous email, that graph should never loose accuracy, correct?
> Because the consolidate function has pdp_per_row =1 and no cdp
> configuration?
> 
> Many thanks as always,
> James.
> 
> root@server:/var/lib/cacti/rra# rrdtool info lalala.rrd
> filename = "lalala"
> rrd_version = "0003"
> step = 300
> last_update = 1372952702
> ds[traffic_out].type = "COUNTER"
> ds[traffic_out].minimal_heartbeat = 600
> ds[traffic_out].min = 0.0000000000e+00
> ds[traffic_out].max = 1.0000000000e+09
> ds[traffic_out].last_ds = "1437943606"
> ds[traffic_out].value = 5.1824832215e+03
> ds[traffic_out].unknown_sec = 0
> ds[traffic_in].type = "COUNTER"
> ds[traffic_in].minimal_heartbeat = 600
> ds[traffic_in].min = 0.0000000000e+00
> ds[traffic_in].max = 1.0000000000e+09
> ds[traffic_in].last_ds = "2703612970"
> ds[traffic_in].value = 6.6731006711e+03
> ds[traffic_in].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 = "AVERAGE"
> rra[1].rows = 700
> rra[1].pdp_per_row = 6
> rra[1].xff = 5.0000000000e-01
> rra[1].cdp_prep[0].value = 1.5153367923e+04
> rra[1].cdp_prep[0].unknown_datapoints = 0
> rra[1].cdp_prep[1].value = 1.0064346431e+04
> rra[1].cdp_prep[1].unknown_datapoints = 0
> rra[2].cf = "AVERAGE"
> rra[2].rows = 775
> rra[2].pdp_per_row = 24
> rra[2].xff = 5.0000000000e-01
> rra[2].cdp_prep[0].value = 6.1901419972e+04
> rra[2].cdp_prep[0].unknown_datapoints = 0
> rra[2].cdp_prep[1].value = 7.0289048628e+04
> rra[2].cdp_prep[1].unknown_datapoints = 0
> rra[3].cf = "AVERAGE"
> rra[3].rows = 797
> rra[3].pdp_per_row = 288
> rra[3].xff = 5.0000000000e-01
> rra[3].cdp_prep[0].value = 4.9867273042e+05
> rra[3].cdp_prep[0].unknown_datapoints = 0
> rra[3].cdp_prep[1].value = 6.3343303006e+05
> rra[3].cdp_prep[1].unknown_datapoints = 0
> rra[4].cf = "MAX"
> rra[4].rows = 600
> rra[4].pdp_per_row = 1
> rra[4].xff = 5.0000000000e-01
> rra[4].cdp_prep[0].value = NaN
> rra[4].cdp_prep[0].unknown_datapoints = 0
> rra[4].cdp_prep[1].value = NaN
> rra[4].cdp_prep[1].unknown_datapoints = 0
> rra[5].cf = "MAX"
> rra[5].rows = 700
> rra[5].pdp_per_row = 6
> rra[5].xff = 5.0000000000e-01
> rra[5].cdp_prep[0].value = 9.8909800000e+03
> rra[5].cdp_prep[0].unknown_datapoints = 0
> rra[5].cdp_prep[1].value = 3.3895041333e+03
> rra[5].cdp_prep[1].unknown_datapoints = 0
> rra[6].cf = "MAX"
> rra[6].rows = 775
> rra[6].pdp_per_row = 24
> rra[6].xff = 5.0000000000e-01
> rra[6].cdp_prep[0].value = 9.8909800000e+03
> rra[6].cdp_prep[0].unknown_datapoints = 0
> rra[6].cdp_prep[1].value = 3.4896453545e+03
> rra[6].cdp_prep[1].unknown_datapoints = 0
> rra[7].cf = "MAX"
> rra[7].rows = 797
> rra[7].pdp_per_row = 288
> rra[7].xff = 5.0000000000e-01
> rra[7].cdp_prep[0].value = 9.8909800000e+03
> rra[7].cdp_prep[0].unknown_datapoints = 0
> rra[7].cdp_prep[1].value = 3.4976059667e+03
> rra[7].cdp_prep[1].unknown_datapoints = 0
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
> 
> Build for Windows Store.
> 
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> cacti-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cacti-user
> 

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.