Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


[HOWTO] Define very BIG rra "without data loss"
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cacti Forum Index -> Informational/HOWTO's
Author Message
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12186
Location: Muenster, Germany

PostPosted: Thu Oct 26, 2006 11:44 am    Post subject: Reply with quote

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: 610
Location: Izmir/Turkey

PostPosted: Mon May 21, 2007 10:04 am    Post subject: Reply with quote

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: 12186
Location: Muenster, Germany

PostPosted: Mon May 21, 2007 2:44 pm    Post subject: Reply with quote

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: 610
Location: Izmir/Turkey

PostPosted: Tue May 22, 2007 12:04 am    Post subject: Reply with quote

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: 12186
Location: Muenster, Germany

PostPosted: Tue May 22, 2007 2:50 pm    Post subject: Reply with quote

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: 610
Location: Izmir/Turkey

PostPosted: Wed Mar 19, 2008 1:31 am    Post subject: Reply with quote

I just wanna see my past days data using zoom utility. For example: When my team head wants to see 72 days before with 5 min. average and my graph must be shows this graphic. I mean, cacti shows daily graph of 72 days before.
Let say 1 year..
That calculation is true or not:
Quote:
Step :1
X-Factor :0.5

Rows: 366 days *24 hr. * 12 sample = 105408
Timespan : 366 days * 24 days * 60 min * 60 sec = 31622400

(I use calculator )
If I change "Daily (5 Minute Average)" Round Roubin archive values,and if I select all "Consolidation function", I can reach my aim or not?
I think simple question but i am really confused.
This screenshot is my settingsand decribes what i tell you. Is this settings are correct?



rra.jpg
 Description:
 Filesize:  80.04 KB
 Viewed:  1572 Time(s)

rra.jpg


Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12186
Location: Muenster, Germany

PostPosted: Wed Mar 19, 2008 5:55 am    Post subject: Reply with quote

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: 610
Location: Izmir/Turkey

PostPosted: Wed Mar 19, 2008 6:41 am    Post subject: Reply with quote


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: 12186
Location: Muenster, Germany

PostPosted: Wed Mar 19, 2008 11:03 am    Post subject: Reply with quote

Yep
Reinhard
Back to top
TFC
Cacti Pro User


Joined: 09 Apr 2003
Posts: 610
Location: Izmir/Turkey

PostPosted: Thu Mar 20, 2008 2:32 am    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Informational/HOWTO's All times are GMT - 5 Hours
Goto page Previous  1, 2
Page 2 of 2

 



Powered by phpBB © 2001, 2005 phpBB Group