|
|
| Author |
Message |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12295 Location: Muenster, Germany
|
Posted: Thu Oct 26, 2006 11:44 am Post subject: |
|
|
| james0 wrote: | | When I first look at the RRA, it shows a whole year, and the Average and MAX are X and Y. When I zoom in on todays data(and todays data is the only data in the RRA so far), the average and max increase. Why is this? | Please have a look at my rrdtool related links of my signature. They will (try to) explain.
At least with rrdtool 1.2.x, there's a DEF option knows as reduce=<CF>. It may affect those differences, see http://oss.oetiker.ch/rrdtool/doc/rrdgraph_data.en.html. This is not (yet) supported by cacti. But you may fiddle around with this to cope with your problem.
Reinhard
|
|
| Back to top |
|
 |
TFC Cacti Pro User
Joined: 09 Apr 2003 Posts: 612 Location: Izmir/Turkey
|
Posted: Mon May 21, 2007 10:04 am Post subject: |
|
|
I have little question-actually need confirmation:
If I have to look past 1 month with 5 min. average:
| Code: | Rows= 31 (day)*24(hour)*12( data point per hr.) = 8928
Timespan= 31(day)*24(hour)*60(min.)*60(sec.)=2678400
Steps=1 |
so for 2 month: | Code: |
Timespan=62 (day)*24(hour)*12( data point per hr.) = 17856
Timespan= 62(day)*24(hour)*60(min.)*60(sec.)=5356800
Steps=1
|
is it right?
|
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12295 Location: Muenster, Germany
|
Posted: Mon May 21, 2007 2:44 pm Post subject: |
|
|
The math is correct, I did not check the numbers (assuming you've used your calculator correctly )
Reinhard
|
|
| Back to top |
|
 |
TFC Cacti Pro User
Joined: 09 Apr 2003 Posts: 612 Location: Izmir/Turkey
|
Posted: Tue May 22, 2007 12:04 am Post subject: |
|
|
I used your calculation formulas
In your "how to" documenti I saw that steps value is 3. What does "steps" exactly means?
|
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12295 Location: Muenster, Germany
|
Posted: Tue May 22, 2007 2:50 pm Post subject: |
|
|
| TFC wrote: | I used your calculation formulas
In your "how to" documenti I saw that steps value is 3. What does "steps" exactly means? | Should have been 300, not 3. STEP defines the interval between two polling cycles. Find more help at man rrdcreate
Reinhard
|
|
| Back to top |
|
 |
TFC Cacti Pro User
Joined: 09 Apr 2003 Posts: 612 Location: Izmir/Turkey
|
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12295 Location: Muenster, Germany
|
Posted: Wed Mar 19, 2008 5:55 am Post subject: |
|
|
The math is correct.
The screenshot shows correct entries.
The file will be HUUUUUUGE.
And, you will not wnat to hear this, YOU WON'T GET EXPECTED RESULTS.
Why?
Please see a few posts above, tackling the topic of "graphical consolidation". Shortly: Do you know a computer display, which shows up 105408 horizontal pixels, one pixel for each raw data value of a complete year?
So rrdtool has to squeeze 105408 pixels into your graph, let's say defined to be 800 pixels wide. This cannot be done without consolidation.
Of course, when zooming into the graph, you will still be able to see all pixels e.g. one year in the past with full resolution. But not the whole year with full resolution.
Reinhard
PS: Please refer to first link of my sig, RRDTool Chapter, about consolidation. Depending on the question your boss want's to have answered, you can do it WITH consolidation in about most cases.
|
|
| Back to top |
|
 |
TFC Cacti Pro User
Joined: 09 Apr 2003 Posts: 612 Location: Izmir/Turkey
|
Posted: Wed Mar 19, 2008 6:41 am Post subject: |
|
|
I just want to query for past and query one day period. I dont wanna show whole year in one graph.
Under this circumtance, my values are correct?
|
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12295 Location: Muenster, Germany
|
Posted: Wed Mar 19, 2008 11:03 am Post subject: |
|
|
Yep
Reinhard
|
|
| Back to top |
|
 |
TFC Cacti Pro User
Joined: 09 Apr 2003 Posts: 612 Location: Izmir/Turkey
|
Posted: Thu Mar 20, 2008 2:32 am Post subject: |
|
|
When I dis this, something became weird
I didn't see anything in daily graph but i saw something in Weekly graph.
I am really really confused
I read rrdtutorial but that is too complicated
I want very simple thinh, i feel that
I just wanna see daily traffic graph of 3 months ago for 5 min average (I think 5 min average is equal to no consolidation that means no summarizing)
I just need some simple and basic help
thank you..
|
|
| Back to top |
|
 |
|