I did some searching on previous postings, but I could not find the answer.
What do I have to do to create/display 3 and 5 (even 10 and 15) year graphs?
I toyed around with the "RRA" and attempted to create a new archive called "3 Year", but I must confess that I did not understand the fileds required: Xfiles, Steps and Rows.
Any help would be appreciated.
Have a great day.
Graphs for Longer than 1 Year (3, and 5 years)
Moderators: Developers, Moderators
-
- Posts: 33
- Joined: Fri Jan 10, 2003 3:16 am
- Location: Antwerpen (Belgium)
- Contact:
Hi,
That is not that difficult ;
1) First check what you "default polling" is ? Do you collect avery 300 seconds (5 minutes ?)
2) At what "resolution" do you want these long-term trends ? 3 or 5 years should be fine with a resolution of '1 day average' or something
OK, now how to do this ;
- On the CACTI main menu, go to "Available RRA's"
(you'll see a few that are already there, like Weekly,Monthly...)
- Right-uppper ; press "Add"
- NAME : Give it a name, like "3YEARTREND"
- Consolidation functions, select AVERAGE (you can select the other but that will consume extra diskspace)
- X-factor ; don't touch, leave it to 0.5 like the others
- STEPS ;
Ok, assume you poll every 300 seconds (5 minutes) and this 3-year trend graph needs to be "1 day average". So ask yourself the question, howmany times does 5 minutes "fit" into 1 day ? (so 288 steps of data are aggregated into 1 item of data of you large 3-year trend)
1 day = 24 hours = 1440 minutes => 1440 / 5 = 288 steps
- ROWS ; Ask yourself , howmany of these "steps" do I need to have my full 3 year ? (so howmany data do you want to keep in the RRA) => 1 STEP = 5 minutes
3 years = 1095 days = 26280 hours = 1 567 800 minutes and we divide this by 5 (as we collect every 5 minutes) = 315360
YOUR FILE WILL BECOME PRETTY LARGE .... TRY IT!
Once you have "defined" this, you should probably check if all the configured datasources/templated will use this new RRA that you created besided your "Daily, Weekly, Monthly RRA"
Voila, that's is I think.
Does this make sense to you ?
Regards,
Jan
That is not that difficult ;
1) First check what you "default polling" is ? Do you collect avery 300 seconds (5 minutes ?)
2) At what "resolution" do you want these long-term trends ? 3 or 5 years should be fine with a resolution of '1 day average' or something
OK, now how to do this ;
- On the CACTI main menu, go to "Available RRA's"
(you'll see a few that are already there, like Weekly,Monthly...)
- Right-uppper ; press "Add"
- NAME : Give it a name, like "3YEARTREND"
- Consolidation functions, select AVERAGE (you can select the other but that will consume extra diskspace)
- X-factor ; don't touch, leave it to 0.5 like the others
- STEPS ;
Ok, assume you poll every 300 seconds (5 minutes) and this 3-year trend graph needs to be "1 day average". So ask yourself the question, howmany times does 5 minutes "fit" into 1 day ? (so 288 steps of data are aggregated into 1 item of data of you large 3-year trend)
1 day = 24 hours = 1440 minutes => 1440 / 5 = 288 steps
- ROWS ; Ask yourself , howmany of these "steps" do I need to have my full 3 year ? (so howmany data do you want to keep in the RRA) => 1 STEP = 5 minutes
3 years = 1095 days = 26280 hours = 1 567 800 minutes and we divide this by 5 (as we collect every 5 minutes) = 315360
YOUR FILE WILL BECOME PRETTY LARGE .... TRY IT!
Once you have "defined" this, you should probably check if all the configured datasources/templated will use this new RRA that you created besided your "Daily, Weekly, Monthly RRA"
Voila, that's is I think.
Does this make sense to you ?
Regards,
Jan
"Never Trust A Computer You Can't Throw Out A Window" - Steve Wozniak
I thought I understood this but now I am a little confused again.
So you have 288 steps for 3 years worth of 1 day averages.
3 years = 1095.75 days, so wouldnt you go with 1096 rows?
Mike
Wouldnt this be for keeping 3 years worth of 5 minutes averages and not 3 years worth of one day averages?- ROWS ; Ask yourself , howmany of these "steps" do I need to have my full 3 year ? (so howmany data do you want to keep in the RRA) => 1 STEP = 5 minutes
3 years = 1095 days = 26280 hours = 1 567 800 minutes and we divide this by 5 (as we collect every 5 minutes) = 315360
So you have 288 steps for 3 years worth of 1 day averages.
3 years = 1095.75 days, so wouldnt you go with 1096 rows?
Mike
-
- Posts: 33
- Joined: Fri Jan 10, 2003 3:16 am
- Location: Antwerpen (Belgium)
- Contact:
Mike,
>Wouldnt this be for keeping 3 years worth of 5 minutes averages and >not 3 years worth of one day averages?
>So you have 288 steps for 3 years worth of 1 day averages.
>3 years = 1095.75 days, so wouldnt you go with 1096 rows?
Hmm, I guess I missed somewhere along the line ;-(
So, suppose you box is set to poll (through CRON) every 5 minutes (300 seconds)
Make a RRA with X-FACTOR = 0.5 (the default)
STEPS : (1 day = 24 hours = 1440 minutes and divide this by 5 = 288 steps)
ROWS : 3 years = 1095 days
With this you create a RRA that will have 1 datapoint for every day (aggregates 288 steps of 5 minutes each) for 1095 days long (3 years)
This should be correct...
Sorry...
Jan
>Wouldnt this be for keeping 3 years worth of 5 minutes averages and >not 3 years worth of one day averages?
>So you have 288 steps for 3 years worth of 1 day averages.
>3 years = 1095.75 days, so wouldnt you go with 1096 rows?
Hmm, I guess I missed somewhere along the line ;-(
So, suppose you box is set to poll (through CRON) every 5 minutes (300 seconds)
Make a RRA with X-FACTOR = 0.5 (the default)
STEPS : (1 day = 24 hours = 1440 minutes and divide this by 5 = 288 steps)
ROWS : 3 years = 1095 days
With this you create a RRA that will have 1 datapoint for every day (aggregates 288 steps of 5 minutes each) for 1095 days long (3 years)
This should be correct...
Sorry...
Jan
"Never Trust A Computer You Can't Throw Out A Window" - Steve Wozniak
Who is online
Users browsing this forum: No registered users and 3 guests