Skip to main content
Question

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

  • January 10, 2024
  • 1 reply
  • 262 views

Forum|alt.badge.img+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

ponchoh
Centreonian
Forum|alt.badge.img+14
  • Centreonian
  • January 10, 2024

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/