Install Centreon Monitoring Server on CentOS / RHEL 8 - CentLinux

Latest

Saturday, 15 January 2022

Install Centreon Monitoring Server on CentOS / RHEL 8

Centreon Monitoring Server installation on CentOS / Red Hat Enterprise Linux (RHEL) 8 with step by step process and tips.

 

Table of Contents:

 

What is Centreon?:

Originally called Oreon, Centreon is a solution for monitoring applications, systems and networks, based on the concepts of Nagios. The core of Centreon is Open Source, distributed under the GPL v2 license and free. Paid value-added add-ons are distributed by the publisher. Free and open source add-ons are developed by contributors on GitHub.

Centreon provides a simplified interface to make viewing the system status accessible to a greater number of users, including non-technicians, in particular using performance graphs. However, technicians still have access to the technical information of the scheduler. In 2005, the company Merethis (now Centreon) was founded and is responsible for uniting the community around this Open Source solution. (Source: Wikipedia)

 

Environment Specification:

We are using a minimal Red Hat Enterprise Linux 8 virtual machine with following specifications.

  • CPU - 3.4 Ghz (2 cores)
  • Memory - 2 GB
  • Storage - 20 GB
  • Operating System - Red Hat Enterprise Linux 8.5
  • Hostname – centreon-01.centlinux.com
  • IP Address - 192.168.116.243 /24

 

Update your Linux Server:

Connect with centreon-01.centlinux.com as root user by using a ssh client.

Build cache for installed yum repositories.

# dnf makecache
Updating Subscription Management repositories.
Red Hat Enterprise Linux 8 for x86_64 - BaseOS  2.7 kB/s | 4.1 kB     00:01
Red Hat CodeReady Linux Builder for RHEL 8 x86_ 4.1 kB/s | 4.5 kB     00:01
Red Hat Enterprise Linux 8 for x86_64 - AppStre 4.2 kB/s | 4.5 kB     00:01
Metadata cache created.

Update existing software packages in your Linux Server by using dnf command.

# dnf update -y

If the above command updates your Linux Kernel, then you should reboot your Linux server with new Kernel.

# reboot

After successful reboot, verify the versions of your Linux operating system and Kernel.

# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.5 (Ootpa)

# uname -r
4.18.0-348.7.1.el8_5.x86_64

 

Install Centreon Prerequisites:

The Centreon unattended installation script is good enough for installing all necessary prerequisites.

This applies to CentOS Linux, Rocky Linux and AlmaLinux.

However, in case of Red Hat Enterprise Linux (RHEL) 8 you have to manually install EPEL (Extra Packages for Enterprise Linux) before executing Centreon installation script.

You can execute following dnf command to install EPEL on your Linux server.

# dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

 

Install Centreon Monitoring Server:

Download and execute Centreon installation script by executing following command at Linux Bash prompt.

# curl -L -s https://raw.githubusercontent.com/centreon/centreon/master/unattended.sh | sh
2022-01-14 09:47:23-05:00 - WARN - No provided operation : default value [install] will be used
2022-01-14 09:47:23-05:00 - WARN - No topology provided : default value [central] will be used
2022-01-14 09:47:23-05:00 - WARN - No version provided : default value [21.10] will be used
2022-01-14 09:47:23-05:00 - WARN - No repository provided : default value [stable] will be used
2022-01-14 09:47:23-05:00 - INFO - Start to execute operation [install] with following configuration parameters:
2022-01-14 09:47:23-05:00 - INFO -  topology   :        [central]
2022-01-14 09:47:23-05:00 - INFO -  version    :        [21.10]
2022-01-14 09:47:23-05:00 - INFO -  repository :        [stable]
2022-01-14 09:47:23-05:00 - WARN - It will start in [5] seconds. If you don't want to wait, press any key to continue or Ctrl-C to exit

2022-01-14 09:47:23-05:00 - INFO - Check if the system OS is supported and set the environment variables
2022-01-14 09:47:24-05:00 - INFO - Your running OS is redhat-release-8.5-0.8.el8.x86_64 (version: 8.5)
2022-01-14 09:47:24-05:00 - INFO - Setting specific part for v8 (8.5)
Repository 'codeready-builder-for-rhel-8-x86_64-rpms' is enabled for this system.
2022-01-14 09:48:30-05:00 - INFO - Remi repositories installation...

Installed:
  remi-release-8.5-2.el8.remi.noarch

Updating Subscription Management repositories.
Error: No matching repo to modify: powertools.
2022-01-14 10:01:22-05:00 - INFO - Installing PHP 8.0 and enable it
Importing GPG key 0x5F11735A:
 Userid     : "Remi's RPM repository <remi@remirepo.net>"
 Fingerprint: 6B38 FEA7 231F 87F5 2B9C A9D8 5550 9759 5F11 735A
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-remi.el8
Importing GPG key 0x5F11735A:
 Userid     : "Remi's RPM repository <remi@remirepo.net>"
 Fingerprint: 6B38 FEA7 231F 87F5 2B9C A9D8 5550 9759 5F11 735A
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-remi.el8
Importing GPG key 0x5F11735A:
 Userid     : "Remi's RPM repository <remi@remirepo.net>"
 Fingerprint: 6B38 FEA7 231F 87F5 2B9C A9D8 5550 9759 5F11 735A
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-remi.el8

Installed:
  httpd-filesystem-2.4.37-43.module+el8.5.0+13064+c4b14997.noarch
  nginx-filesystem-1:1.14.1-9.module+el8.0.0+4108+af250afe.noarch
  oniguruma5php-6.9.7.1-1.el8.remi.x86_64
  php-cli-8.0.14-1.el8.remi.x86_64
  php-common-8.0.14-1.el8.remi.x86_64
  php-fpm-8.0.14-1.el8.remi.x86_64
  php-mbstring-8.0.14-1.el8.remi.x86_64
  php-xml-8.0.14-1.el8.remi.x86_64

2022-01-14 10:05:29-05:00 - INFO - Installing packages dnf-plugins-core epel-release
2022-01-14 10:05:38-05:00 - INFO - Updating package gnutls
2022-01-14 10:05:47-05:00 - INFO - Following Centreon repo will be used [centreon-stable*]
2022-01-14 10:05:47-05:00 - INFO - Systemd is running
2022-01-14 10:05:47-05:00 - INFO - Set runtime SELinux mode to [disabled]
2022-01-14 10:05:47-05:00 - WARN - Current SELinux mode is disabled. Nothing to do
2022-01-14 10:05:47-05:00 - INFO - Centreon official repositories installation...

Installed:
  centreon-release-21.10-2.el8.noarch

2022-01-14 10:09:50-05:00 - INFO - Centreon [central] installation from [centreon-stable*]
Importing GPG key 0x3FC49C1B:
 Userid     : "Centreon Enterprise Server Official Signing Key <admin@centreon.com>"
 Fingerprint: 1035 E42C B766 7952 EE42 DEE9 A97D AA5A 3FC4 9C1B
 From       : https://yum-gpg.centreon.com/RPM-GPG-KEY-CES
Importing GPG key 0x2F86D6A1:
 Userid     : "Fedora EPEL (8) <epel@fedoraproject.org>"
 Fingerprint: 94E2 79EB 8D8F 25B2 1810 ADF1 21EA 45AB 2F86 D6A1
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8

Installed:
  Digest-MD5-File-0.08-1.el8.noarch
  MariaDB-client-10.5.8-1.el8.x86_64
  MariaDB-common-10.5.8-1.el8.x86_64
  MariaDB-server-10.5.8-1.el8.x86_64
  MariaDB-shared-10.5.8-1.el8.x86_64
  apr-1.6.3-12.el8.x86_64
  apr-util-1.6.1-6.el8.x86_64
  apr-util-bdb-1.6.1-6.el8.x86_64
  apr-util-openssl-1.6.1-6.el8.x86_64
  bc-1.07.1-5.el8.x86_64
  boost-program-options-1.66.0-10.el8.x86_64
  bzip2-1.0.6-26.el8.x86_64
  cairo-1.15.12-3.el8.x86_64
  centreon-21.10.2-4.el8.noarch
  centreon-auto-discovery-server-21.10.1-1.el8.noarch
  centreon-base-config-centreon-engine-21.10.2-4.el8.noarch
  centreon-broker-21.10.0-6.el8.x86_64
  centreon-broker-cbd-21.10.0-6.el8.x86_64
  centreon-broker-cbmod-21.10.0-6.el8.x86_64
  centreon-broker-core-21.10.0-6.el8.x86_64
  centreon-broker-storage-21.10.0-6.el8.x86_64
  centreon-clib-21.10.0-6.el8.x86_64
  centreon-common-21.10.2-4.el8.noarch
  centreon-connector-21.10.0-6.el8.x86_64
  centreon-connector-perl-21.10.0-6.el8.x86_64
  centreon-connector-ssh-21.10.0-6.el8.x86_64
  centreon-database-21.10.2-4.el8.noarch
  centreon-engine-21.10.0-6.el8.x86_64
  centreon-engine-daemon-21.10.0-6.el8.x86_64
  centreon-engine-extcommands-21.10.0-6.el8.x86_64
  centreon-gorgone-21.10.1-1.el8.noarch
  centreon-gorgone-centreon-config-21.10.1-1.el8.noarch
  centreon-license-manager-21.10.0-1.el8.noarch
  centreon-license-manager-common-21.10.0-1.el8.noarch
  centreon-perl-libs-21.10.2-4.el8.noarch
  centreon-plugin-Applications-Databases-Mysql-20220113-084434.el8.noarch
  centreon-plugin-Applications-Monitoring-Centreon-Central-20220113-084434.el8.noarch
  centreon-plugin-Applications-Monitoring-Centreon-Database-20220113-084434.el8.noarch
  centreon-plugin-Applications-Monitoring-Centreon-Map4-Jmx-20220113-084434.el8.noarch
  centreon-plugin-Applications-Monitoring-Centreon-Poller-20220113-084434.el8.noarch
  centreon-plugin-Applications-Protocol-Dns-20220113-084434.el8.noarch
  centreon-plugin-Applications-Protocol-Ftp-20220113-084434.el8.noarch
  centreon-plugin-Applications-Protocol-Http-20220113-084434.el8.noarch
  centreon-plugin-Applications-Protocol-Ldap-20220113-084434.el8.noarch
  centreon-plugin-Hardware-Printers-Generic-Snmp-20220113-084434.el8.noarch
  centreon-plugin-Hardware-Ups-Standard-Rfc1628-Snmp-20220113-084434.el8.noarch
  centreon-plugin-Network-Cisco-Standard-Snmp-20220113-084434.el8.noarch
  centreon-plugin-Operatingsystems-Linux-Snmp-20220113-084434.el8.noarch
  centreon-plugin-Operatingsystems-Windows-Snmp-20220113-084434.el8.noarch
  centreon-poller-centreon-engine-21.10.2-4.el8.noarch
  centreon-pp-manager-21.10.0-2.el8.noarch
  centreon-trap-21.10.2-4.el8.noarch
  centreon-web-21.10.2-4.el8.noarch
  centreon-widget-engine-status-21.10.0-2.el8.noarch
  centreon-widget-global-health-21.10.1-1.el8.noarch
  centreon-widget-graph-monitoring-21.10.0-2.el8.noarch
  centreon-widget-grid-map-21.10.0-2.el8.noarch
  centreon-widget-host-monitoring-21.10.0-2.el8.noarch
  centreon-widget-hostgroup-monitoring-21.10.0-2.el8.noarch
  centreon-widget-httploader-21.10.0-2.el8.noarch
  centreon-widget-live-top10-cpu-usage-21.10.0-2.el8.noarch
  centreon-widget-live-top10-memory-usage-21.10.0-2.el8.noarch
  centreon-widget-service-monitoring-21.10.0-2.el8.noarch
  centreon-widget-servicegroup-monitoring-21.10.0-2.el8.noarch
  centreon-widget-tactical-overview-21.10.0-2.el8.noarch
  dejavu-fonts-common-2.35-7.el8.noarch
  dejavu-sans-mono-fonts-2.35-7.el8.noarch
  dwz-0.12-10.el8.x86_64
  efi-srpm-macros-3-3.el8.noarch
  fontconfig-2.13.1-4.el8.x86_64
  fontpackages-filesystem-1.44-22.el8.noarch
  fribidi-1.0.4-8.el8.x86_64
  galera-4-26.4.6-1.el8.x86_64
  gd3php-2.3.3-4.el8.remi.x86_64
  ghc-srpm-macros-1.4.2-7.el8.noarch
  go-srpm-macros-2-17.el8.noarch
  graphite2-1.3.10-10.el8.x86_64
  harfbuzz-1.7.5-3.el8.x86_64
  httpd-2.4.37-43.module+el8.5.0+13064+c4b14997.x86_64
  httpd-tools-2.4.37-43.module+el8.5.0+13064+c4b14997.x86_64
  jbigkit-libs-2.1-14.el8.x86_64
  libX11-1.6.8-5.el8.x86_64
  libX11-common-1.6.8-5.el8.noarch
  libXau-1.0.9-3.el8.x86_64
  libXext-1.3.4-1.el8.x86_64
  libXft-2.3.3-1.el8.x86_64
  libXpm-3.5.12-8.el8.x86_64
  libXrender-0.9.10-7.el8.x86_64
  libdatrie-0.2.9-7.el8.x86_64
  libicu69-69.1-1.el8.remi.x86_64
  libimagequant-2.12.5-1.el8.x86_64
  libjpeg-turbo-1.5.3-12.el8.x86_64
  libraqm-0.7.0-4.el8.x86_64
  libsodium-1.0.18-2.el8.x86_64
  libssh2-1.9.0-5.el8.x86_64
  libthai-0.1.27-2.el8.x86_64
  libtiff-4.0.9-20.el8.x86_64
  libunwind-1.3.1-3.el8.x86_64
  libwebp-1.0.0-5.el8.x86_64
  libxcb-1.13.1-1.el8.x86_64
  libzip-1.8.0-1.el8.remi.x86_64
  lm_sensors-libs-3.4.0-23.20180522git70f7e08.el8.x86_64
  lsof-4.93.2-1.el8.x86_64
  lua-5.3.4-12.el8.x86_64
  mailcap-2.1.48-3.el8.noarch
  make-1:4.2.1-10.el8.x86_64
  mod_http2-1.15.7-3.module+el8.4.0+8625+d397f3da.x86_64
  nagios-common-4.4.6-4.el8.x86_64
  nagios-plugins-2.3.3-5.el8.x86_64
  nagios-plugins-dhcp-2.3.3-5.el8.x86_64
  nagios-plugins-icmp-2.3.3-5.el8.x86_64
  net-snmp-1:5.8-22.el8.x86_64
  net-snmp-agent-libs-1:5.8-22.el8.x86_64
  net-snmp-libs-1:5.8-22.el8.x86_64
  net-snmp-perl-1:5.8-22.el8.x86_64
  net-snmp-utils-1:5.8-22.el8.x86_64
  ocaml-srpm-macros-5-4.el8.noarch
  openblas-srpm-macros-2-2.el8.noarch
  openpgm-5.2.122-21.el8.x86_64
  pango-1.42.4-8.el8.x86_64
  perl-4:5.26.3-420.el8.x86_64
  perl-Algorithm-Diff-1.1903-9.el8.noarch
  perl-Archive-Tar-2.30-1.el8.noarch
  perl-Archive-Zip-1.60-3.el8.noarch
  perl-Attribute-Handlers-0.99-420.el8.noarch
  perl-Authen-SASL-2.16-13.el8.noarch
  perl-B-Debug-1.26-2.el8.noarch
  perl-B-Hooks-EndOfScope-0.21-6.el8.noarch
  perl-CPAN-2.18-397.el8.noarch
  perl-CPAN-Meta-2.150010-396.el8.noarch
  perl-CPAN-Meta-Requirements-2.140-396.el8.noarch
  perl-CPAN-Meta-YAML-0.018-397.el8.noarch
  perl-Carp-1.42-396.el8.noarch
  perl-Carp-Assert-0.21-17.el8.noarch
  perl-Class-Data-Inheritable-0.08-27.el8.noarch
  perl-Class-Inspector-1.32-2.el8.noarch
  perl-Class-Method-Modifiers-2.12-8.el8.noarch
  perl-Class-Singleton-1.5-9.el8.noarch
  perl-Clone-0.39-5.el8.x86_64
  perl-Clone-Choose-0.010-7.el8.noarch
  perl-Compress-Bzip2-2.26-6.el8.x86_64
  perl-Compress-Raw-Bzip2-2.081-1.el8.x86_64
  perl-Compress-Raw-Zlib-2.081-1.el8.x86_64
  perl-Config-Perl-V-0.30-1.el8.noarch
  perl-Convert-ASN1-0.27-17.el8.noarch
  perl-Cpanel-JSON-XS-4.26-1.el8.x86_64
  perl-Crypt-CBC-2.33-25.el8.noarch
  perl-CryptX-0.068-1.el8.x86_64
  perl-DBD-MySQL-4.046-3.module+el8.1.0+2938+301254e2.x86_64
  perl-DBD-SQLite-1.58-2.module+el8.1.0+2940+f62455ee.x86_64
  perl-DBI-1.641-3.module+el8.3.0+6481+fbe55708.x86_64
  perl-DB_File-1.842-1.el8.x86_64
  perl-Data-Dump-1.23-7.module+el8.3.0+6498+9eecfe51.noarch
  perl-Data-Dumper-2.167-399.el8.x86_64
  perl-Data-OptList-0.110-6.el8.noarch
  perl-Data-Section-0.200007-3.el8.noarch
  perl-Date-ISO8601-0.005-2.el8.noarch
  perl-DateTime-2:1.50-1.el8.x86_64
  perl-DateTime-Locale-1.17-2.el8.noarch
  perl-DateTime-TimeZone-2.19-1.el8.noarch
  perl-DateTime-TimeZone-SystemV-0.010-3.el8.noarch
  perl-DateTime-TimeZone-Tzfile-0.011-3.el8.noarch
  perl-Devel-CallChecker-0.008-3.el8.x86_64
  perl-Devel-Caller-2.06-15.el8.x86_64
  perl-Devel-LexAlias-0.05-16.el8.x86_64
  perl-Devel-PPPort-3.36-5.el8.x86_64
  perl-Devel-Peek-1.26-420.el8.x86_64
  perl-Devel-SelfStubber-1.06-420.el8.noarch
  perl-Devel-Size-0.81-2.el8.x86_64
  perl-Devel-StackTrace-1:2.03-2.el8.noarch
  perl-Digest-1.17-395.el8.noarch
  perl-Digest-HMAC-1.03-17.module+el8.3.0+6498+9eecfe51.noarch
  perl-Digest-MD5-2.55-396.el8.x86_64
  perl-Digest-SHA-1:6.02-1.el8.x86_64
  perl-Dist-CheckConflicts-0.11-11.el8.noarch
  perl-DynaLoader-Functions-0.003-2.el8.noarch
  perl-Encode-4:2.97-3.el8.x86_64
  perl-Encode-Locale-1.05-10.module+el8.3.0+6498+9eecfe51.noarch
  perl-Encode-devel-4:2.97-3.el8.x86_64
  perl-Env-1.04-395.el8.noarch
  perl-Errno-1.28-420.el8.x86_64
  perl-Eval-Closure-0.14-5.el8.noarch
  perl-Exception-Class-1.44-2.el8.noarch
  perl-Exporter-5.72-396.el8.noarch
  perl-Exporter-Easy-0.18-1.el8.noarch
  perl-Exporter-Tiny-1.002002-1.el8.noarch
  perl-ExtUtils-CBuilder-1:0.280230-2.el8.noarch
  perl-ExtUtils-Command-1:7.34-1.el8.noarch
  perl-ExtUtils-Embed-1.34-420.el8.noarch
  perl-ExtUtils-Install-2.14-4.el8.noarch
  perl-ExtUtils-MM-Utils-1:7.34-1.el8.noarch
  perl-ExtUtils-MakeMaker-1:7.34-1.el8.noarch
  perl-ExtUtils-Manifest-1.70-395.el8.noarch
  perl-ExtUtils-Miniperl-1.06-420.el8.noarch
  perl-ExtUtils-ParseXS-1:3.35-2.el8.noarch
  perl-File-Fetch-0.56-2.el8.noarch
  perl-File-HomeDir-1.002-4.el8.noarch
  perl-File-Listing-6.04-17.module+el8.3.0+6498+9eecfe51.noarch
  perl-File-Path-2.15-2.el8.noarch
  perl-File-ShareDir-1.104-3.el8.noarch
  perl-File-Temp-0.230.600-1.el8.noarch
  perl-File-Which-1.22-2.el8.noarch
  perl-Filter-2:1.58-2.el8.x86_64
  perl-Filter-Simple-0.94-2.el8.noarch
  perl-GSSAPI-0.28-25.el8.x86_64
  perl-Getopt-Long-1:2.50-4.el8.noarch
  perl-HTML-Parser-3.72-15.module+el8.3.0+6498+9eecfe51.x86_64
  perl-HTML-Tagset-3.20-34.module+el8.3.0+6498+9eecfe51.noarch
  perl-HTTP-Cookies-6.04-2.module+el8.3.0+6498+9eecfe51.noarch
  perl-HTTP-Daemon-6.06-1.el8.noarch
  perl-HTTP-Daemon-SSL-1.04-30.el8.noarch
  perl-HTTP-Date-6.02-19.module+el8.3.0+6498+9eecfe51.noarch
  perl-HTTP-Message-6.18-1.module+el8.3.0+6498+9eecfe51.noarch
  perl-HTTP-Negotiate-6.01-19.module+el8.3.0+6498+9eecfe51.noarch
  perl-HTTP-ProxyPAC-0.31-1.el8.noarch
  perl-HTTP-Tiny-0.074-1.el8.noarch
  perl-Hash-Merge-0.300-8.el8.noarch
  perl-IO-1.38-420.el8.x86_64
  perl-IO-Compress-2.081-1.el8.noarch
  perl-IO-HTML-1.001-11.module+el8.3.0+6498+9eecfe51.noarch
  perl-IO-Interface-1.09-16.el8.x86_64
  perl-IO-Socket-IP-0.39-5.el8.noarch
  perl-IO-Socket-Multicast-1.12-12.el8.x86_64
  perl-IO-Socket-SSL-2.066-4.module+el8.3.0+6446+594cad75.noarch
  perl-IO-Zlib-1:1.10-420.el8.noarch
  perl-IPC-Cmd-2:1.02-1.el8.noarch
  perl-IPC-SysV-2.07-397.el8.x86_64
  perl-IPC-System-Simple-1.25-17.el8.noarch
  perl-JMX-Jmx4Perl-1.13-1.el8.noarch
  perl-JSON-2.97.001-2.el8.noarch
  perl-JSON-MaybeXS-1.004003-1.el8.noarch
  perl-JSON-PP-1:2.97.001-3.el8.noarch
  perl-JSON-Path-0.431-1.el8.noarch
  perl-JSON-XS-1:3.04-3.el8.x86_64
  perl-LDAP-1:0.66-7.el8.noarch
  perl-LV-0.006-1.el8.noarch
  perl-LWP-MediaTypes-6.02-15.module+el8.3.0+6498+9eecfe51.noarch
  perl-LWP-Protocol-https-6.09-1.el8.noarch
  perl-Libssh-Session-0.8-2.el8.x86_64
  perl-Locale-Codes-3.57-1.el8.noarch
  perl-Locale-Maketext-1.28-396.el8.noarch
  perl-Locale-Maketext-Simple-1:0.21-420.el8.noarch
  perl-MIME-Base64-3.15-396.el8.x86_64
  perl-MRO-Compat-0.13-4.el8.noarch
  perl-Mail-Sender-1:0.903-7.el8.noarch
  perl-Math-BigInt-1:1.9998.11-7.el8.noarch
  perl-Math-BigInt-FastCalc-0.500.600-6.el8.x86_64
  perl-Math-BigRat-0.2614-1.el8.noarch
  perl-Math-Complex-1.59-420.el8.noarch
  perl-Memoize-1.03-420.el8.noarch
  perl-Module-Build-2:0.42.24-5.el8.noarch
  perl-Module-CoreList-1:5.20181130-1.el8.noarch
  perl-Module-CoreList-tools-1:5.20181130-1.el8.noarch
  perl-Module-Find-0.15-1.el8.noarch
  perl-Module-Implementation-0.09-15.el8.noarch
  perl-Module-Load-1:0.32-395.el8.noarch
  perl-Module-Load-Conditional-0.68-395.el8.noarch
  perl-Module-Loaded-1:0.08-420.el8.noarch
  perl-Module-Metadata-1.000033-395.el8.noarch
  perl-Module-Runtime-0.016-2.el8.noarch
  perl-Mozilla-CA-20160104-7.module+el8.3.0+6498+9eecfe51.noarch
  perl-NTLM-1.09-17.module+el8.3.0+6498+9eecfe51.noarch
  perl-Net-Curl-0.44-1.el8.x86_64
  perl-Net-DNS-1.15-1.el8.noarch
  perl-Net-FTPSSL-0.42-3.el8.noarch
  perl-Net-HTTP-6.17-2.module+el8.3.0+6498+9eecfe51.noarch
  perl-Net-NTP-1.5-1.el8.noarch
  perl-Net-Ping-2.55-420.el8.noarch
  perl-Net-SSLeay-1.88-1.module+el8.3.0+6446+594cad75.x86_64
  perl-NetAddr-IP-4.079-7.el8.x86_64
  perl-Package-Generator-1.106-11.el8.noarch
  perl-Package-Stash-0.37-9.el8.noarch
  perl-Package-Stash-XS-0.28-17.el8.x86_64
  perl-PadWalker-2.3-2.el8.x86_64
  perl-Params-Check-1:0.38-395.el8.noarch
  perl-Params-Classify-0.015-2.el8.x86_64
  perl-Params-Util-1.07-22.el8.x86_64
  perl-Params-ValidationCompiler-0.27-1.el8.noarch
  perl-PathTools-3.74-1.el8.x86_64
  perl-Perl-OSType-1.010-396.el8.noarch
  perl-PerlIO-via-QuotedPrint-0.08-395.el8.noarch
  perl-Pod-Checker-4:1.73-395.el8.noarch
  perl-Pod-Escapes-1:1.07-395.el8.noarch
  perl-Pod-Html-1.22.02-420.el8.noarch
  perl-Pod-Parser-1.63-396.el8.noarch
  perl-Pod-Perldoc-3.28-396.el8.noarch
  perl-Pod-Simple-1:3.35-395.el8.noarch
  perl-Pod-Usage-4:1.69-395.el8.noarch
  perl-Readonly-2.05-5.el8.noarch
  perl-Ref-Util-0.203-4.el8.noarch
  perl-Ref-Util-XS-0.117-2.el8.x86_64
  perl-Role-Tiny-2.000006-2.el8.noarch
  perl-Scalar-List-Utils-3:1.49-2.el8.x86_64
  perl-Schedule-Cron-1.01-3.el8.noarch
  perl-SelfLoader-1.23-420.el8.noarch
  perl-Socket-4:2.027-3.el8.x86_64
  perl-Socket6-0.28-6.el8.x86_64
  perl-Software-License-0.103013-2.el8.noarch
  perl-Specio-0.42-2.el8.noarch
  perl-Storable-1:3.11-3.el8.x86_64
  perl-Sub-Exporter-0.987-15.el8.noarch
  perl-Sub-Exporter-Progressive-0.001013-5.el8.noarch
  perl-Sub-Identify-0.14-6.el8.x86_64
  perl-Sub-Install-0.928-14.el8.noarch
  perl-Sys-SigAction-0.23-14.el8.noarch
  perl-Sys-Syslog-0.35-397.el8.x86_64
  perl-Term-ANSIColor-4.06-396.el8.noarch
  perl-Term-Cap-1.17-395.el8.noarch
  perl-TermReadKey-2.37-7.el8.x86_64
  perl-Test-1.30-420.el8.noarch
  perl-Test-Harness-1:3.42-1.el8.noarch
  perl-Test-Simple-1:1.302135-1.el8.noarch
  perl-Text-Balanced-2.03-395.el8.noarch
  perl-Text-Diff-1.45-2.el8.noarch
  perl-Text-Glob-0.11-4.el8.noarch
  perl-Text-ParseWords-3.30-395.el8.noarch
  perl-Text-Soundex-3.05-8.el8.x86_64
  perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch
  perl-Text-Template-1.51-1.el8.noarch
  perl-Text-Unidecode-1.30-5.el8.noarch
  perl-Thread-Queue-3.13-1.el8.noarch
  perl-Time-HiRes-4:1.9758-2.el8.x86_64
  perl-Time-Local-1:1.280-1.el8.noarch
  perl-Time-ParseDate-2015.103-13.el8.noarch
  perl-Time-Piece-1.31-420.el8.x86_64
  perl-TimeDate-1:2.30-15.module+el8.3.0+6498+9eecfe51.noarch
  perl-Try-Tiny-0.30-7.module+el8.3.0+6498+9eecfe51.noarch
  perl-Types-Serialiser-1.0-12.el8.noarch
  perl-URI-1.73-3.el8.noarch
  perl-UUID-0.28-1.el8.x86_64
  perl-Unicode-Collate-1.25-2.el8.x86_64
  perl-Unicode-Normalize-1.25-396.el8.x86_64
  perl-Variable-Magic-0.62-3.el8.x86_64
  perl-WWW-RobotRules-6.02-18.module+el8.3.0+6498+9eecfe51.noarch
  perl-XML-LibXML-1:2.0132-2.el8.x86_64
  perl-XML-NamespaceSupport-1.12-4.el8.noarch
  perl-XML-Parser-2.44-11.el8.x86_64
  perl-XML-SAX-1.00-1.el8.noarch
  perl-XML-SAX-Base-1.09-4.el8.noarch
  perl-XML-Simple-2.25-1.el8.noarch
  perl-XML-XPath-1.42-3.el8.noarch
  perl-YAML-LibYAML-1:0.70-1.el8.x86_64
  perl-ZMQ-Constants-1.04-23.el8.noarch
  perl-ZMQ-LibZMQ4-0.01-1.el8.x86_64
  perl-autodie-2.29-396.el8.noarch
  perl-bignum-0.49-2.el8.noarch
  perl-common-sense-3.7.4-8.el8.x86_64
  perl-constant-1.33-396.el8.noarch
  perl-devel-4:5.26.3-420.el8.x86_64
  perl-encoding-4:2.22-3.el8.x86_64
  perl-experimental-0.019-2.el8.noarch
  perl-inc-latest-2:0.500-9.el8.noarch
  perl-interpreter-4:5.26.3-420.el8.x86_64
  perl-libnet-3.11-3.el8.noarch
  perl-libnetcfg-4:5.26.3-420.el8.noarch
  perl-libs-4:5.26.3-420.el8.x86_64
  perl-libwww-perl-6.34-1.module+el8.3.0+6498+9eecfe51.noarch
  perl-local-lib-2.000024-2.el8.noarch
  perl-macros-4:5.26.3-420.el8.x86_64
  perl-namespace-autoclean-0.28-10.el8.noarch
  perl-namespace-clean-0.27-7.el8.noarch
  perl-open-1.11-420.el8.noarch
  perl-parent-1:0.237-1.el8.noarch
  perl-perlfaq-5.20180605-1.el8.noarch
  perl-podlators-4.11-1.el8.noarch
  perl-srpm-macros-1-25.el8.noarch
  perl-threads-1:2.21-2.el8.x86_64
  perl-threads-shared-1.58-2.el8.x86_64
  perl-utils-5.26.3-420.el8.noarch
  perl-version-6:0.99.24-1.el8.x86_64
  perltidy-20180220-1.el8.noarch
  php-fedora-autoloader-1.0.1-2.el8.remi.noarch
  php-gd-8.0.14-1.el8.remi.x86_64
  php-intl-8.0.14-1.el8.remi.x86_64
  php-ldap-8.0.14-1.el8.remi.x86_64
  php-mysqlnd-8.0.14-1.el8.remi.x86_64
  php-pdo-8.0.14-1.el8.remi.x86_64
  php-pear-1:1.10.13-1.el8.remi.noarch
  php-pecl-gnupg-1.5.1-1.el8.remi.8.0.x86_64
  php-pecl-zip-1.20.0-1.el8.remi.8.0.x86_64
  php-process-8.0.14-1.el8.remi.x86_64
  php-snmp-8.0.14-1.el8.remi.x86_64
  php-sourceguardian-loader-8.0-1.el8.x86_64
  pixman-0.38.4-1.el8.x86_64
  python-rpm-macros-3-41.el8.noarch
  python-srpm-macros-3-41.el8.noarch
  python3-pyparsing-2.1.10-7.el8.noarch
  python3-rpm-macros-3-41.el8.noarch
  qt5-srpm-macros-5.15.2-1.el8.noarch
  redhat-logos-httpd-84.5-1.el8.noarch
  redhat-rpm-config-125-1.el8.noarch
  rrdtool-1.7.0-16.el8.x86_64
  rrdtool-perl-1.7.0-16.el8.x86_64
  rsync-3.1.3-12.el8.x86_64
  rust-srpm-macros-5-2.el8.noarch
  socat-1.7.4.1-1.el8.x86_64
  systemtap-sdt-devel-4.5-3.el8.x86_64
  unzip-6.0-45.el8_4.x86_64
  zeromq-4.3.4-2.el8.x86_64
  zip-3.0-23.el8.x86_64

2022-01-14 10:23:53-05:00 - INFO - PHP configuration
2022-01-14 10:23:54-05:00 - INFO - PHP date.timezone set to [America/New_York]
2022-01-14 10:23:54-05:00 - INFO - Secure MariaDB setup...
2022-01-14 10:23:54-05:00 - WARN - We are applying some requests that will enhance your MariaDB setup security
2022-01-14 10:23:54-05:00 - WARN - Please consult the official documentation https://mariadb.com/kb/en/mysql_secure_installation/ for more details
2022-01-14 10:23:54-05:00 - WARN - You can use mysqladmin in order to set a new password for user root
2022-01-14 10:23:54-05:00 - INFO - Restarting MariaDB service first
2022-01-14 10:23:54-05:00 - INFO - Executing SQL requests
2022-01-14 10:23:55-05:00 - INFO - Successfully applied the SQL requests for enhancing your MariaDB
2022-01-14 10:23:55-05:00 - INFO - Update firewall configuration...
2022-01-14 10:24:16-05:00 - INFO - Reloading firewall rules
success
2022-01-14 10:24:19-05:00 - INFO - Enable and restart services ...
Created symlink /etc/systemd/system/multi-user.target.wants/mariadb.service → /usr/lib/systemd/system/mariadb.service.
Created symlink /etc/systemd/system/multi-user.target.wants/php-fpm.service → /usr/lib/systemd/system/php-fpm.service.
Created symlink /etc/systemd/system/multi-user.target.wants/httpd.service → /usr/lib/systemd/system/httpd.service.
Created symlink /etc/systemd/system/multi-user.target.wants/snmpd.service → /usr/lib/systemd/system/snmpd.service.
Created symlink /etc/systemd/system/multi-user.target.wants/snmptrapd.service → /usr/lib/systemd/system/snmptrapd.service.
Created symlink /etc/systemd/system/multi-user.target.wants/gorgoned.service → /etc/systemd/system/gorgoned.service.
Created symlink /etc/systemd/system/centreon.service.wants/gorgoned.service → /etc/systemd/system/gorgoned.service.
Created symlink /etc/systemd/system/centreon.service.wants/centreontrapd.service → /usr/lib/systemd/system/centreontrapd.service.
Created symlink /etc/systemd/system/centreon.service.wants/cbd.service → /usr/lib/systemd/system/cbd.service.
Created symlink /etc/systemd/system/centreon.service.wants/centengine.service → /usr/lib/systemd/system/centengine.service.
Created symlink /etc/systemd/system/multi-user.target.wants/centreon.service → /usr/lib/systemd/system/centreon.service.

Installed:
  centreon-broker-selinux-0.0.5-1.x86_64
  centreon-common-selinux-0.0.10-1.x86_64
  centreon-engine-selinux-0.0.8-1.x86_64
  centreon-gorgoned-selinux-0.0.3-1.x86_64
  centreon-plugins-selinux-0.0.4-1.x86_64
  centreon-web-selinux-0.0.6-1.x86_64

2022-01-14 10:28:01-05:00 - INFO - Centreon SELinux rules are installed. Please consult the documentation https://docs.centreon.com/21.10/en/administration/secure-platform.html for more details.
2022-01-14 10:28:01-05:00 - INFO - Set runtime SELinux mode to [permissive]
2022-01-14 10:28:01-05:00 - INFO - Change SELinux config to mode [permissive]
2022-01-14 10:28:01-05:00 - WARN - Modifying /etc/selinux/config. You must reboot your machine.
2022-01-14 10:28:01-05:00 - INFO - Follow the steps described in Centreon documentation: https://docs.centreon.com/21.10/en/installation/web-and-post-installation.html
2022-01-14 10:28:01-05:00 - INFO - Centreon [central] successfully installed !

****** IMPORTANT ******
As you will need password for user MariaDB [root], random password are generated
Passwords are currently saved in [/etc/centreon/generated.tobesecured]
Random password generated for user [MariaDB user : root] is [Yjg1OTVlZjU0YmU0ZjQyM2IyZDA2YmM4]

Please save them securely and then delete this file!

The Centreon installation process is completely unattended and take a while to complete.

But the installation script configures SELinux, Linux Firewall, Systemd Services and all necessary file permissions and required settings.

Note down the MariaDB root user password and delete the password file as suggested by the Centreon installer.

# rm -f /etc/centreon/generated.tobesecured

Open URL http://centreon-01.centlinux.com in a web browser.

You are at the "Welcome to Centreon Setup" page, Click on "Next" button.


The web setup performs dependency checkup. Since, you are installing Centreon by using unattended installation script, hence all the dependencies already resolved by the installer.

Click on "Next".


Set the Centreon monitoring engine paths or go with the default settings and Click on "Next".


Set remaining Centreon monitoring engine paths related to Broker module or go with the default settings and Click on "Next".


Provide Centreon admin user information. Don't forget to set a strong password here. 

Click on "Next".


Provide the information about your MariaDB database. 

The MariaDB database server is also installed by the Centreon unattended installation script. 

And you have been provided the password at the end of Centreon installation.

Enter that password here in this page and click on "Next".


Centreon monitoring server installation is in progress. 

Let it complete and then click on "Next".


Select your required Centreon Modules and Click on "Next".


Centreon modules has been installed. Click on "Next" to continue.


Finally you are the "Installation Finished" page. Click on Finish to end Centreon setup.

You are automatically redired to the Centreon monitoring server login page. 

Login as admin user.


After successful login, you will reach at the Centreon montoring server web console.


Conclusion:

In this article, you have successfully installed Centreon monitoring server on CentOS / Red Hat Enterprise Linux (RHEL) 8 or similar Linux distros.

No comments:

Post a Comment