Skip to main content

Hello everyone,

I would like to ask a question to the centreon community because I have a problem.

Recently, when I try to connect to my centreon via the web page I get the following error message “Unable to connect to database”.

I've started to inspect and I've realized by doing a df -h that I have a full disk (I've attached a screenshot).

I also did a systemctl status mariadb.service.d. I've also attached a screenshot of the result.

Could someone please help me with this.

Thank you in advance.

 

 

 

 

Certainly the space, is there a way to expand?

You can also look into 

 

 

Finally, some info about partitioning

https://docs.centreon.com/docs/installation/prerequisites/#characteristics-of-the-servers

 

This is how your central server should be partitioned:

Volume group (LVM) File system Description Size
  /boot boot images 1 GB
vg_root / system root 20 GB
vg_root swap swap 4 GB
vg_root /var/log contains all log files 10 GB
vg_data /var/lib/centreon contains mostly RRD files 34 GB
vg_data /var/lib/centreon-broker contains broker retention files 5 GB
vg_data /var/lib/centreon-engine contains engine retention files 5 GB
vg_data /var/lib/mysql (only if the DBMS is on the central server) database 106 GB
vg_data /var/cache/centreon/backup backup directory 10 GB

If you perform backups, use the following characteristics:

  • size of the /var/lib/mysql partition * 0,6
  • this size is meant for 1 full backup and 6 partial ones
  • this is only an estimate, size should be checked manually
vg_data   Free space (unallocated) 5 GB

 

Hope it can get you going. 🤞


Reply