Keep charts longer?

How long are the charts and tables kept? Is there a way to extend the length to 5 years?

Yes, the default config for creating rrd files is:

$config['rrd_rra']  = ' RRA:AVERAGE:0.5:1:2016 RRA:AVERAGE:0.5:6:1440 RRA:AVERAGE:0.5:24:1440 RRA:AVERAGE:0.5:288:1440 ';
$config['rrd_rra'] .= ' RRA:MIN:0.5:1:720 RRA:MIN:0.5:6:1440     RRA:MIN:0.5:24:775     RRA:MIN:0.5:288:797 ';
$config['rrd_rra'] .= ' RRA:MAX:0.5:1:720 RRA:MAX:0.5:6:1440     RRA:MAX:0.5:24:775     RRA:MAX:0.5:288:797 ';
$config['rrd_rra'] .= ' RRA:LAST:0.5:1:1440 ';

You can use the rrdtool docs to see what these values are and when you are done, paste the above into config.php and update the required values. Existing rrd files will NOT respect these values, you will need to run rrdtool tune and dump / import the data again.

So I did something like this in the config.
$config[‘syslog_purge’] = 1825;
$config[‘eventlog_purge’] = 1825;
$config[‘authlog_purge’] = 1825;
$config[‘perf_times_purge’] = 1825;
$config[‘device_perf_purge’] = 1825;
$config[‘rrd_purge’] = 1825;

To keep for 5 years. How do I run the rrdtool tune and dump and import again? Didnt see docs on this…
Thank You

The rrd_purge setting removes unused files (aka files that haven’t been modified in X amount of time).

Doesn’t have anything to do with data retention within RRDs. You need to use laf’s config settings for that. I think the convert from 1-min polling will work for rra changes too, but it hasn’t been tested.

The other settings work as you expect.