How to update Centreon-1.4.2 to Centreon-1.4.2.1 ?

From Wiki Centreon

Jump to: navigation, search

BE CAREFULL ! You must upgrade in version 1.4.2 before upgrading in version 1.4.2.1 (1.4.2.1 is 1.4.2 debugged) !!

We will try to help you in a short tutorial.

  • Before you begin, make a backup copy of your actual Centreon directory and database (if you want to):
   $> cp -rp centreon centreon-old
   $> /usr/bin/mysqldump -u root -p centreon > centreon.sql
   $> /usr/bin/mysqldump -u root -p ods > ods.sql


  • Download centreon-1.4.2.1.tar.gz and copy centreon-1.4.2.1.tar.gz to your server. Here we put centreon-1.4.2.1.tar.gz in /root
  • unzip centreon-1.4.2.1.tar.gz :

<bash>

   $> tar -xvzf centreon-1.4.2.1.tar.gz

</bash>

  • FILE UPGRADE

launch upgrade script : <bash>

   $> cd /root/centreon-1.4.2.1
   $>./install.sh

</bash>

Answer to all questions for upgrading your version.
  • Don't forget to do a dos2unix on your plugins.
if you have installed nagios plugins in /usr/local/nagios/libexec
$> dos2unix /usr/local/nagios/libexec/process-* /usr/local/nagios/libexec/check_centreon_*


  • SQL UPGRADE

Now you go on your Centreon web frontend to make your sql upgrade.

http://your_oreon_ip/oreon/ or http://your_oreon_ip/centreon/

Apply patch 'UpdateDB-1.4.2_to_1.4.2.1.sql', and press 'next' until you can log on Centreon web page.

Personal tools