Skip to main content

Hello can anyone please tell me how can i manage my data? my partitions always get full and i keep increase disk space or doing log rotation etc I’ve configured log rotation for these files in /var/log/centreon-broker/ and /var/log/centreon-engine/

But I don’t know how to fix the /var/lib/centreon/metrics directory, its gotten so large in few days? i have so far 144 hosts and about 3k services:

I’m not sure what to do 

HI ​@Joxavy , the  /var/lib/centreon/metrics directory contains a file for each metrics of each service of each host.

The more resources you monitor, the larger the directory size will be.

Can you check disk size prerequisites from https://docs.centreon.com/docs/installation/prerequisites/#characteristics-of-the-servers?


I would have suggested the same as Laurent, but your sizes looks fine aside of the /var/log that is a big small based on recommendation (here 5GB when recommended is 10GB).

So either your services push a LOT of metrics in those directories as RDD files, or maybe you retention time is a bit too long making you keep those files for longer, you can check this here Data management | Centreon Documentation but as you said that this seem to apear in a few days, i’m not sure that this would be the cause.

If you can maybe look at the services to see if you have a specific one that pushes lots of metrics that maybe you don’t need, then you could limit the amount of performance data stored and limit the disk usage.


Reply