Skip to main content
Version: 22.04

Introduction

This chapter describes how to install your Centreon monitoring platform.

The monitoring platform may be installed in several ways. However, we strongly recommend using Centreon repositories (packages) to install your platform. Enjoy our industrialization work during installation and update steps of the environment. Also enjoy optimizations installed by default on the system.

Centreon Installation can be performed from source (tar.gz) but the work is more complex. In addition the installation will only be supported by the community.

Before installation

  1. Be sure to follow the prerequisites installation and sizing (resources CPU, memory, disks, partitioning, etc ...).
  2. Take care to choose the type of architecture that should be set up for your needs.
  3. Download Centreon
  4. Finally, you can install the platform.

Unattended script

To quickly test Centreon and install a central server on CentOS 7 or on AlmaLinux 8 / Oracle Linux 8 / RHEL 8, you can use a script.

  1. Update your system:
dnf update
subscription-manager register --username my_username --password my_password --auto-attach --force
subscription-manager repos --enable codeready-builder-for-rhel-8-x86_64-rpms

Replace my_username and my_password by the credentials of your RedHat account.

  1. Run the following command as root:

    curl -L https://raw.githubusercontent.com/centreon/centreon/22.04.x/centreon/unattended.sh | sh

    The script will install a central server using version 22.04, from the stable repository, with minimal output on your terminal.

    In case of problems when running the script, execute it again using the following command:

    sh -x unattended.sh install -t central -v 22.04 -r stable -l DEBUG  2>&1 |tee -a /tmp/unattended$(date +"%m-%d-%Y-%H%M%S").log

    You will get a full log file with all errors in your tmp folder, named unattended(date).log.

  2. Once the script has run, all you have to do is to carry out the web installation steps.