Skip to main content
Version: ⭐ 24.10

Update a Centreon 24.10 platform

This chapter describes how to update your Centreon 24.10 platform (i.e. switch from version 24.10.x to version 24.10.y).

Perform a backup

Make sure that you have fully backed up your environment for the following servers:

  • central server,
  • database server.

Update the Centreon central server

Update the Centreon solution

Make sure all users are logged out from the Centreon web interface before starting the update procedure.

Clean the cache:

dnf clean all --enablerepo=*

Then upgrade all the components with the following command:

dnf update centreon\*

Now you need to finalize the update:

  1. Log on to the Centreon web interface to continue the update process. Click Next:

    image

  2. Click Next:

    image

  3. The release notes describe the main changes. Click Next:

    image

  4. This process performs the various upgrades. Click Next:

    image

  5. Your Centreon server is now up to date. Click Finish to access the login page:

    image

    If the Centreon BAM module is installed, refer to the update procedure.

  6. Deploy the central's configuration from the Centreon web UI by following this procedure.

Finally, restart Broker, Engine and Gorgone on the central server by running this command:

systemctl restart cbd centengine gorgoned

Update extensions

From Administration > Extensions > Manager, update all extensions, starting with the following:

  • License Manager,
  • Monitoring Connector Manager,
  • Auto Discovery.

Then you can update all other commercial extensions (such as MBI and MAP).

Update the Remote Servers

This procedure is the same as to update a Centreon central server.

At the end of the update, the configuration should be deployed from the central server.

Update the Pollers

  1. Clean the cache:

    dnf clean all --enablerepo=*
  2. Then upgrade all the components with the following command:

    dnf update centreon\* --exclude=centreon-plugin*

Accept the new GPG keys from the repositories as needed.

  1. Deploy the Poller's configuration from the Centreon web UI by following this procedure, and choose the Restart method for the Engine process.

  2. Finally, restart the Gorgone service if it is used on the Poller:

    systemctl restart centengine gorgoned
  3. Run the following command:

Nothing to do for this OS.

Unattended update

You can perform an unattended update of your platform using the unattended.sh script.

  1. Download the script using the following command:
curl -L https://download.centreon.com/24.10/unattended.sh -O /tmp/unattended
  1. Run the script:
  • For a central server:
bash unattended.sh update -t central -v 24.10 -r stable -s -p<my_admin_password> -l DEBUG  2>&1 |tee -a /tmp/unattended-$(date +"%m-%d-%Y-%H%M%S").log
  • For a remote server:
bash unattended.sh update -t central -v 24.10 -r stable -s -p<my_admin_password> -l DEBUG  2>&1 |tee -a /tmp/unattended-$(date +"%m-%d-%Y-%H%M%S").log
  • For a poller:
bash unattended.sh update -t poller -v 24.10 -r stable -l DEBUG  2>&1 |tee -a /tmp/unattended-$(date +"%m-%d-%Y-%H%M%S").log