Hi @Nyxtorm wi will analyze this quickly and try to fix it!
Hi @Nyxtorm this has been fixed with 24.04.1, sorry for the inconvenience.
Hello @Nyxtorm
You’re right it’s a bug but it’s already fixed in 24.04.1:
https://docs.centreon.com/docs/releases/centreon-os/#24041
If you already have the bug (conf.pm and centreontrapd.pm empty), updating your platform to 24.04.1 will not fill them. The fix is only for new upgrade from version < 24.04.
With the version 24.04.0 the files are replaced by default files but the original ones (with your configuration) are saved in a .rpmsave:
- conf.pm.rpmsave
- centreontrapd.pm.rpmsave
You can copy them to retrieve your configuration:
cp /etc/centreon/conf.pm.rpmsave /etc/centreon/conf.pm
cp /etc/centreon/centreontrapd.pm.rpmsave /etc/centreon/centreontrapd.pm
Hi @Laurent @sduret,
Thank you for your answers.
Unfortunately, there are no *.rpmsave files on the Debian installation.
I retrieved the file from a backup for my Central, but I don't have a copy for my second poller, which is a fresh install.
In addition, my file contains values to files that don't exist or no longer exist, for example:
# Centreon Centcore Command File
$cmdFile = "/var/lib/centreon/centcore.cmd";
Is there a clean template for the latest version of Centreon 24.04.1, or is there a way to regenerate the /etc/centreon/conf.pm file?
Thanks for your help.
@Nyxtorm
I check it and I have an empty conf.pm file on all my pollers, it’s normal for a fresh install.
You normally don’t need to edit it.