Using packages
Pre-installation stepsβ
Disable SELinuxβ
SELinux should be disabled. To do this, you have to edit the file /etc/selinux/config and replace enforcing by disabled, or by running the following command:
sed -i s/^SELINUX=.*$/SELINUX=disabled/ /etc/selinux/config
Reboot your operating system to apply the change.
After system startup, perform a quick check of the SELinux status:
$ getenforce
Disabled
Configure or disable firewallβ
Add firewall rules or disable the firewall by running the following commands:
systemctl stop firewalld
systemctl disable firewalld
Install the repositoryβ
To install Centreon software from the repository, you should first install the centreon-release package, which will provide the repository file.
Install the Centreon repository using this command:
yum install -y https://yum.centreon.com/standard/20.04/el7/stable/noarch/RPMS/centreon-release-20.04-1.el7.centos.noarch.rpm
Installationβ
To install the monitoring engine, run the command:
yum install -y centreon-poller-centreon-engine
To make services start automatically during system bootup, run the following command:
systemctl enable centreon centengine centreontrapd snmptrapd
Passive monitoring services can be started:
systemctl start centreontrapd snmptrapd
Active monitoring service will be started following the generation of its configuration.
Add the Poller to configurationβ
Go to the Add a Poller to configuration.
Secure your platformβ
Don't forget to secure your Centreon platform following our recommendations