You can change this BUT you will need to delete and re-create all your RRDs which means you will lose all your data.

If you just want higher accuracy and save the high-resolution measurements for a longer period than 7 days you can set this in your config.php:
$config['rrd']['rra'] = $config['rrd']['rra_300']['accurate'];
This will save the measurements for 93 days before downsampling it at the cost of disk space of course and you will still need to delete all your current RRDs for this to take effect.

If you want to save data for more than 4 years you will need to edit the RRA-values, this is a bit more complicated and requires you to understand the RRD format.
You can find the defaults in observium/includes/defaults.inc.php at line 130
You will need to create a new array with your new values and then set that as $config['rrd']['rra'] and then delete your RRD-files for it to take effect.

/Markus

Den mån 26 juni 2023 kl 18:06 skrev Stuart Dyer via observium <observium@lists.observium.org>:

Hi Everyone,

 

Running Observium CE 23.1.12493, noted that observium keeps 4 years, 1 day of data, as per the faq, https://docs.observium.org/faq/

 

Is there a way to change this, I only run 10 devices and im happy to scale up the disk and cpu / ram ?

 

Regards,

 

Stuart Dyer

IT Administrator

 

Phone: +61 2 8020 2063  |  E-mail: stuart.dyer@innovit.com

 

innovit-logo (002) trans 2018

 

Bringing quality to Master Data

MLC Centre, Level 56
19-29 Martin Place

Sydney NSW 2000

Tel:  +612 8020 2000
Fax:  +612 8020 2099

Web: www.innovit.com

Australasia | North America | Europe

Follow us on LinkedIn

 

This electronic mail is solely for the use of the addressee and may contain information, which is confidential or privileged. If you receive this electronic mail in error, please delete it from your system immediately and notify the sender by electronic mail or using any of the following contact details.

 

 

_______________________________________________
observium mailing list -- observium@lists.observium.org
To unsubscribe send an email to observium-leave@lists.observium.org