Using Centreon el7 ISO¶
Step 1: Starting up the server¶
To install Centreon, start up your server from the Centreon ISO image in version el7. Start up with Install CentOS 7:
Step 2: Choosing a language¶
Choose the language for the installation process then click on Done:
Step 3: Selecting components¶
Click on the Installation Type menu:
You can choose different options:
- Central with database: Install Centreon (web interface and database), monitoring engine and broker.
- Central without database: Install Centreon (web interface only), monitoring engine and broker.
- Poller: Install poller (monitoring engine and broker only).
- Database: Install database server (use with Central server without database option).
Step 4: System configuration¶
Partitioning the disk¶
Click on the Installation Destination menu:
Select the hard disk drive and the I will configure partitioning option, then click on Done:
Using the + button create, your own partitioning file system following the instructions in documentation prerequisites, then click on Done:
A confirmation window appears. Click on Accept Changes to validate the partitioning:
Configuring the network¶
Click on the Network & Hostname menu:
Enable all network interfaces and define hostname, then click on Done:
Configuring the timezone¶
Click on the Date & Time menu:
Select timezone, then click on the configuration button:
To enable or add a NTP server, click on OK, then on Done:
Beginning the installation¶
Once configuration is complete, click on Begin Installation:
Click on Root Password:
Define and confirm root user password. Click on Done:
Wait for installation process to finish:
When the installation is complete, click on Reboot:
Updating the system packages¶
- Connect to your server using a terminal and execute the command:
# yum update
Accept all GPG keys:
- Then restart your server with the following command:
Log in to Centreon web interface via the URL: http://[SERVER_IP]/centreon. The Centreon setup wizard is displayed. Click on Next.
The Centreon setup wizard checks the availability of the modules. Click on Next.
Click on Next.
Click on Next.
Provide the information on the admin user, then click on Next.
By default, the ‘localhost’ server is defined and the root password is empty. If you use a remote database server, change these entries. In this case, you only need to define a password for the user accessing the Centreon databases, i.e., ‘Centreon’. Click on Next.
If the Add innodb_file_per_table=1 in my.cnf file under the [mysqld] section and restart MySQL Server. error message appears, perform the following operations:
Log in to the ‘root’ user on your server.
Modify this file:
Add these lines to the file:
Restart mysql service:
# systemctl restart mysql
Click on Refresh.
The Centreon setup wizard configures the databases. Click on Next.
At this point, you will be able to install the Centreon server modules.
Click on Install.
Once installation is complete, click on Next.
At this point, an advertisement informs you of the latest Centreon news and products. If your platform is connected to the internet, you will receive the up-to-date information. If you are not online, only information on the current version will be displayed.
The installation is complete. Click on Finish.
You can now log in.
You can change the default language of the web interface:
- Click on your profile on the top right of the banner
- Click on Edit profile
- Select your language in the **Language* field
- Click on Save
To start the monitoring engine :
On your web interface, go to Configuration ==> Pollers.
Keep the default options and click on Export configuration.
Select Central poller from the box input Pollers.
Uncheck Generate Configuration Files and Run monitoring engine debug (-v).
Check Move Export Files and Restart Monitoring Engine with option Restart selected.
Click on Export again.
Log in to the ‘root’ user on your server.
Start Centreon Broker
# systemctl start cbd
Start Centreon Engine
# systemctl start centengine
# systemctl start centcore
# systemctl start centreontrapd
Monitoring is now working. You can begin monitoring your IT system!
To make services automatically start during system bootup run these commands on the central server:
# systemctl enable centcore # systemctl enable centreontrapd # systemctl enable cbd # systemctl enable centengine
The Centreon web interface contains several menus, each with a specific function:
- Home lets you access the first home screen after logging in. It provides a summary of overall monitoring status.
- Monitoring provides a combined view of the status of all monitored items in real and delayed time using logs and performance graphics.
- Reporting provides an intuitive view (using diagrams) of the evolution of monitoring over a given period.
- Configuration allows you to configure all monitored items and the monitoring infrastructure.
- Administration allows you to configure the Centreon web interface and view the overall status of the servers.
Quick and easy monitoring configuration¶
Centreon is a highly versatile monitoring solution that can be configured to meet the specific needs of your IT infrastructure. To quickly configure Centreon and help you get started, you may want to use Centreon IMP. This tool provides you with Plugin Packs, which are bundled configuration templates that will dramatically reduce the time needed to implement the Centreon platform for monitoring the services in your network.
Centreon IMP requires the Centreon License Manager and Centreon Plugin Pack Manager in order to function.
If you haven’t installed any modules during the installation process, go to the Administration > Extensions > Modules menu.
Click on Install/Upgrade all and validate.
Once the installation is complete, click on Back. The modules are now installed.
Now proceed to Configuration -> Plugin packs -> Manager. 10 free Plugin Packs are provided to get you started. Five additional Packs are available once you register and over 150 more if you subscribe to the IMP offer (for more information: our website).
Go to the Quick Start chapter to configure your first monitoring.:align: center