On Wed, Jun 23, 2010 at 01:48:03PM -0300, Martin Parodi wrote: > rrd files into /var/lib/jffnms/rrd is using 9.9gb and increasing every > minute, how can I control it? is there any way to control disk space? I didn't think rrd files grew, they are at their maximum size when they are created. All are my rrd files are the exact same size, or they're in "sets" of sizes all alike. 811k or 282k.
The quick, short answer: at a guess, adjust your resolution field on the interface types table. Long answer... So your problem can be one of two things: a) you have the right number of files, but each file is too big b) you are growing the number of files The first can be fixed, if you want to reduce disk space, by adjusting the RRAs. It's not that simple though. RRA is defined by the interface type, it is usually AVERAGE:0.5:1:<resolution> and resolution is 103680 This means for each stored value is made up of one PDP, or polled value (that's the 1 in the setup). So each 5 minute poll equals one stored value. How many? 103680. This is almost a year's worth of data. 103680 is how many "5 minutes" in 360 days. If you don't want a years worth of 5 minute data, adjust the resolution for an interface type. You can also do more advanced RRA things, but its best to lookup rrdcreate and friends for that. If you want N days of of data, you need N * 24 * 12 as the resolution. Continually getting "new" rrd files usually means there is something wrong with autodiscovery and it is rediscovering the same interfaces over and over. If you are getting this you probably get a lot of phantom interface down and then new interface discovered events. Things that dynamically add and drop "interfaces" such as a wireless AP with its list of peers can also give this problem. - Craig -- Craig Small GnuPG:1C1B D893 1418 2AF4 45EE 95CB C76C E5AC 12CA DFA5 http://www.enc.com.au/ csmall at : enc.com.au http://www.debian.org/ Debian GNU/Linux, software should be Free ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ jffnms-users mailing list jffnms-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jffnms-users