Skip to main content

Using packages (poller)

You must run the installation procedure as a privileged user.

When you run a command, check its output. If you get an error message, stop the procedure and fix the issue.

Prerequisites​

After installing your host server, update your operating system using the following command:

dnf update

Additional configuration for EL 9​

If you intend to use Centreon in French, Spanish, Portuguese or German, install the corresponding packages:

dnf install glibc-langpack-fr
dnf install glibc-langpack-es
dnf install glibc-langpack-pt
dnf install glibc-langpack-de

Use the following command to check which languages are installed on your system:

locale -a

Accept all GPG keys and reboot your server if a kernel update is proposed.

Step 1: Pre-installation​

Disable SELinux​

During installation, SELinux should be disabled. To do this, edit the file /etc/selinux/config and replace enforcing with disabled. You can also run the following command:

sed -i s/^SELINUX=.*$/SELINUX=disabled/ /etc/selinux/config

Reboot your operating system to apply the change.

reboot

After system startup, perform a quick check of the SELinux status:

getenforce

You should have this result:

Disabled

Note that this deactivation should be temporary. SELinux should be reenabled after installation for security reasons.

Configure or disable the firewall​

If you have a firewall and it is active, add firewall rules. You can also disable the firewall during installation by running the following commands:

systemctl stop firewalld
systemctl disable firewalld

Note that this deactivation should be temporary. The firewall should be reenabled after installation for security reasons.

Install the repositories​

Dependencies​

dnf install dnf-plugins-core
dnf install epel-release
dnf config-manager --set-enabled crb

Centreon repository​

dnf install -y dnf-plugins-core
dnf config-manager --add-repo https://packages.centreon.com/rpm-standard/26.10/el9/centreon-26.10.repo
dnf clean all --enablerepo=*
dnf update

Step 2: Install the server​

To install the monitoring engine, run the following command:

dnf install -y centreon-poller

To make services start automatically during system bootup, run the following command:

systemctl enable centreon centengine centreontrapd snmptrapd gorgoned

Passive monitoring services can be started:

systemctl start centreontrapd snmptrapd gorgoned

Restart Centreon Engine:

systemctl restart centengine

Step 3: Attach the poller to a central or remote server​

Go to Attach a poller to a central or a remote server.

Step 4: Secure your platform​

Remember to secure your Centreon platform following our recommendations.