Question

RRD files retention doesnt seem to work, running out of space

  • 10 January 2024
  • 1 reply
  • 47 views

Badge +5

Hello, 
Seems like I have an issue. 
I have a configured retention : 
 


But I have .rrd files from May 04 2023 
Can I delete these files and keep only the last 90 days on the server ? 
Why the retention doesnt applied ? 
Im on 22.10 currently, planning to update next week. 

 


1 reply

Userlevel 4
Badge +13

Yes, you can delete them as long as they match your internal retention policies. A command example:

find /var/lib/centreon/metrics/ -not -path '*/\.rrd' -type f -mtime +90 -exec rm -f \{\} \;

Some updates that concern RRD

 

https://docs.centreon.com/docs/22.10/releases/centreon-os/

 

Reply