Chapter 1. Installation

Decompress cactistoric.tar.gz in your Cacti directory.

cd CACTI_DIR
tar xvzf PATH_TO_cactistoric.tar.gz
Customize the number of row a RRA should keep. I use 17280 rows in daily RRAs to have 2 month of 5 minutes average data. In Cacti go to Console->Data Sources->RRA's and modify the Row value of Daily (5 Minute Average).

Resize the already created RRAs with the command rrdtool resize. See RRDtool documentation http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/manual/rrdresize.html for more information. If you previously created RRAs with the Cacti default value, the RRAs to resize are 600 rows sized. The rrdtool resize allow you to know which RRAs needs to be resized. Generaly, it's RRA 0 and RRA 4, use the following command to resize them at 17280 rows.

for f in `find . -maxdepth 1 -name \*\.rrd`
do
    echo "-- Working on $f"
    echo "      Growing RRA 0"
    rrdtool resize $f 0 GROW 16680
    mv resize.rrd $f
    echo "      Growing RRA 4"
    rrdtool resize $f 4 GROW 16680
    mv resize.rrd $f
    echo "Done."
done