Hello,
I have a problem with the average in the graphs cacti ...
I put screenshots and graphics configuration.
The average graph "traffic" isn't ok, it is not possible ...
The total value of Out and In is incorrect as it seems.
I also have a chart that calculates the RTT. When I take the instantaneous values, it's ok!
But once you take the average, nothing it's ok! The values given by cacti are impossible ...
My questions are:
On what basis are cacti to calculate the average? the values of the graphics displayed? The values recorded? or the values recorded after sampling?
Is sampling may be involved?
(I put a screen shot of my setup)
Compared to the chart "Traffic", you have a template that you are sure of the values returned by cacti?
For sampling, how should I configure it?
Thank you in advance for your help!
problem with average in cacti
Moderators: Developers, Moderators
problem with average in cacti
- Attachments
-
- graph_template1.JPG (106.37 KiB) Viewed 3095 times
-
- graph_template2.JPG (77.02 KiB) Viewed 3095 times
-
- total_bandwidth.JPG (63.43 KiB) Viewed 3095 times
-
- bandwidth_traffic_out.JPG (67.41 KiB) Viewed 3095 times
-
- graph.JPG (58.4 KiB) Viewed 3096 times
Re: problem with average in cacti
here is the rest of the screen shot and also graph the rtt and the configuration of the sampling
- Attachments
-
- total_in.JPG (68.98 KiB) Viewed 3095 times
-
- traffic_in_average.JPG (67.36 KiB) Viewed 3095 times
-
- Capture.JPG (30.69 KiB) Viewed 3095 times
-
- echantillonage.JPG (49.23 KiB) Viewed 3095 times
-
- rtt.JPG (47.77 KiB) Viewed 3095 times
Re: problem with average in cacti
To mention this part only,
http://oss.oetiker.ch/rrdtool/tut/rrd-beginners.en.html
http://www.vandenbogaerdt.nl/rrdtool/process.php
(keyword: PDP, CDP, STEP)
I understand 'AVERAGE' as the value calculated from actual data recorded in a period of given graph (=timespan settings), not from sampled data.
For example, Daily graph has 288 data points (=86400/300), Weekly has 2016 (=604800/300), ..
You can verify this by exporting graph to CSV and calculating average from inside data.
(If I'm misleading, please point out..)
Memo: Actual number of data in CSV may be less than mentioned above. (Daily has 287, Weekly has 2010, ...)
I think that two datasets(*) with their resolution are needed to decide the first point in graph (calculating the difference like as COUNTER), so first dataset was consumed.
(*) For Weekly, 1 dataset = 30 minutes = 6 data).
// Sorry my REALLY BAD English..
That's depend on RRDtool feature, and these pages may help..jeff705 wrote:On what basis are cacti to calculate the average? the values of the graphics displayed? The values recorded? or the values recorded after sampling?
http://oss.oetiker.ch/rrdtool/tut/rrd-beginners.en.html
http://www.vandenbogaerdt.nl/rrdtool/process.php
(keyword: PDP, CDP, STEP)
I understand 'AVERAGE' as the value calculated from actual data recorded in a period of given graph (=timespan settings), not from sampled data.
For example, Daily graph has 288 data points (=86400/300), Weekly has 2016 (=604800/300), ..
You can verify this by exporting graph to CSV and calculating average from inside data.
(If I'm misleading, please point out..)
Memo: Actual number of data in CSV may be less than mentioned above. (Daily has 287, Weekly has 2010, ...)
I think that two datasets(*) with their resolution are needed to decide the first point in graph (calculating the difference like as COUNTER), so first dataset was consumed.
(*) For Weekly, 1 dataset = 30 minutes = 6 data).
// Sorry my REALLY BAD English..
Re: problem with average in cacti
Oh, sorry, I've misguided.
In my cacti, I modified default RRA settings as follows:
When exporting from graph [by lib/rrd.php], cacti seems to select appropriate resolution (= most detailed one among RRAs which has actual data of given resolution?) automatically.
So I saw 2000+ data which exported from Weekly graph.
That's the case of my cacti. :oops:noname wrote:For example, Daily graph has 288 data points (=86400/300), Weekly has 2016 (=604800/300), ..
You can verify this by exporting graph to CSV and calculating average from inside data.
In my cacti, I modified default RRA settings as follows:
Code: Select all
Name Steps Rows
Daily (5 Minute Average) 1 115200 (=400 days)
Weekly (30 Minute Average) 6 19200 (=400 days)
Monthly (2 Hour Average) 24 4800 (=400 days)
So I saw 2000+ data which exported from Weekly graph.
Re: problem with average in cacti
i have the same problem, have you resolved it?
Who is online
Users browsing this forum: No registered users and 1 guest