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] RESIZE existing RRAs of existing RRDs
Goto page Previous  1, 2, 3, 4
 
Post new topic   Reply to topic    Cacti Forum Index -> Informational/HOWTO's
Author Message
maxclark



Joined: 09 Feb 2006
Posts: 12

PostPosted: Wed Oct 04, 2006 5:32 pm    Post subject: Thank You Reply with quote

Thanks for posting this.
Back to top
fmangeant
Cacti Guru User


Joined: 19 Sep 2003
Posts: 2325
Location: Sophia-Antipolis, France

PostPosted: Thu Nov 23, 2006 9:26 am    Post subject: Reply with quote

Thanks Reinhard !

I used to modify RRAs juste after installing Cacti, but I forgot to do so on my secondary server. A few minutes after running the script, RRD files were at the desired size

BTW, this thread should be made sticky...
Back to top
mokeybrains



Joined: 22 Aug 2005
Posts: 38
Location: San Francisco, CA

PostPosted: Tue Mar 06, 2007 1:57 am    Post subject: resize ... with shrink? Reply with quote

I resized a bunch or RRAs. my test one (which I did first and verified) I accidentally resized twice and 'grew' it twice. Is there an easy way to shrink the RRA? Feature request for next resize.pl version!

Also, RE: wanting to see fine granularity a year ago: that's absurd, no one should be looking that far back. Move on to the future!
Back to top
gandalf
Developer


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

PostPosted: Tue Mar 06, 2007 2:58 pm    Post subject: Re: resize ... with shrink? Reply with quote

mokeybrains wrote:
I resized a bunch or RRAs. my test one (which I did first and verified) I accidentally resized twice and 'grew' it twice. Is there an easy way to shrink the RRA? Feature request for next resize.pl version!
To be honest, that should be a question of only a few lines of code. But I never though this would be of any use. Cactitians only like to blow their filesystems
If you need a quick shot: replace GROW by SHRINK in the code and this should do ...
Reinhard
Back to top
mokeybrains



Joined: 22 Aug 2005
Posts: 38
Location: San Francisco, CA

PostPosted: Tue Mar 06, 2007 3:57 pm    Post subject: Save your disks! Reply with quote

Ha! You would think that Cactitians would care about system performance... but then again, load and cpu graphs near 0 are boring.

Attached is a little patch to allow you to us resize to grow or unGrow your RRD files.

The '-G' flag will shrink, while the -g flag will still grow. You can, in a fit of confusion, use them both and the difference of the two will be applied to your RRD file.



resize.pl-patch.txt
 Description:
A patch for resize.pl which allows you to SHRINK as well as GROW your RRD files.

Download
 Filename:  resize.pl-patch.txt
 Filesize:  2.74 KB
 Downloaded:  201 Time(s)

Back to top
Ahuber



Joined: 16 Nov 2006
Posts: 44
Location: BC, kootenays

PostPosted: Tue Apr 03, 2007 6:13 pm    Post subject: Reply with quote

I just wanted to mention, ... My rrd's are 32mb, some are 80mbs (depending on how many DS). And they only hold 1 minute resolution for the entire year (365 days)
After reading this post, that's not right, is it?
Back to top
mokeybrains



Joined: 22 Aug 2005
Posts: 38
Location: San Francisco, CA

PostPosted: Tue Apr 03, 2007 6:22 pm    Post subject: hard to believe ... Reply with quote

I find it hard to believe that anyone would really want to look at any data on a minute granularity from half a year ago. No, I am not trying to bait any one, but really, I monitor 51 devices, and the last thing I need is granularity from a long time ago: it just doesn't help in debugging machines or billing customers...

Back to top
Ahuber



Joined: 16 Nov 2006
Posts: 44
Location: BC, kootenays

PostPosted: Tue Apr 03, 2007 6:44 pm    Post subject: Reply with quote

Unfortunatley I agree with you monkey brains. But I'm trying to work out that mistake, by saving my graphs, becuase if it's more than 2 months old data, I only want to see what it averaged over 2 or 4 hours. We do need some granularity to detect trends over the course of 8 to 12 or more months, but not at a minute. I am reading many posts to consolidate, it's kinda hard right now, but I am determined. I don't know how large an rra should be at a per minute over 12 months, does anyone know?
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, 3, 4
Page 4 of 4

 



Powered by phpBB © 2001, 2005 phpBB Group