Using Centreon el7 ISO

Installation

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:

../_images/01_bootmenu.png

Step 2: Choosing a language

Choose the language for the installation process and click on Continue:

../_images/02_select_install_lang.png

Step 3: Selecting components

Click on the Installation Type menu:

../_images/03_menu_type_install.png

You have different options to choose from:

After selecting your installation type, click Done.

Step 4: System configuration

Partitioning the disk

Click on the Installation Destination menu:

../_images/05_menu_filesystem.png

Select the hard disk drive and the I will configure partitioning option. Then click on Done:

../_images/06_select_disk.png

Using the + button, create your own partitioning file system following the instructions in documentation prerequisites. Then click on Done:

../_images/07_partitioning_filesystem.png

Note

It is recommended to use LVM as the default partitioning scheme.

A confirmation window appears. Click on Accept Changes to validate the partitioning:

../_images/08_apply_changes.png

Configuring the timezone

Click on the Date & Time menu:

../_images/11_menu_timezone.png

Select the time zone and then click the gear button to configure the NTP server:

../_images/12_select_timzeone.png

Type in the name of the NTP server you wish to use and click the plus button. Or, select one from the list of predefined NTP servers then click OK and then Done:

../_images/13_enable_ntp.png

Note

It is okay that you can’t enable the “network time” option in this screen. It will become enabled automatically when you configure the network and hostname.

Configuring the network

Click on the Network & Hostname menu:

../_images/09_menu_network.png

Enable all network interfaces by clicking the button in the top right from off to on. Then click on Done:

../_images/10_network_hostname.png

Beginning the installation

Once configuration is complete, click on Begin Installation:

../_images/14_begin_install.png

Click on Root Password:

../_images/15_menu_root_password.png

Define and confirm the root user password. Click on Done:

../_images/16_define_root_password.png

Wait for the installation process to finish. You can also use this time to add additional users to the system if you desire.

../_images/17_wait_install.png

When the installation is complete, click on Reboot:

../_images/18_reboot_server.png

Updating the system packages

Connect to your server using a terminal, and execute the command:
# yum update
../_images/19_update_system.png

Accept all GPG keys if you are prompted:

../_images/20_accept_gpg_key.png
Then restart your server with the following command:
# reboot

Configuration

Note

To get the IP address of your Centreon server, uses the command:

# ip addr

Log in to Centreon web interface via the URL: http://[SERVER_IP]/centreon. The Centreon setup wizard is displayed. Click on Next.

../_images/acentreonwelcome.png

The Centreon setup wizard checks the availability of the modules. Click on Next.

../_images/acentreoncheckmodules.png

Click on Next.

../_images/amonitoringengine2.png

Click on Next.

../_images/abrokerinfo2.png

Provide the information on the admin user, then click on Next.

../_images/aadmininfo.png

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.

../_images/adbinfo.png

Note

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:

  1. Log in to the root user on your server.

  2. Modify this file:

    /etc/my.cnf
  3. Add these lines to the file:

    [mysqld]
    innodb_file_per_table=1
    
  4. Restart the mysql service:

    # systemctl restart mysql
    
  5. Click on Refresh.

The Centreon setup wizard configures the databases. Click on Next.

../_images/adbconf.png

You will now be able to install the Centreon server modules.

Click on Install.

../_images/module_installationa.png

Once installation is complete, click on Next.

../_images/module_installationb.png

At this point, an advertisement informs you of the latest Centreon news and products. If your platform is connected to the internet, the information you receive will be up to date. If you are not online, only information on the current version will be displayed.

../_images/aendinstall.png

The installation is complete. Click on Finish.

You can now log in.

../_images/aconnection.png

You can change the default language of the web interface:

  1. Click on your profile on the top right of the banner.
  2. Click on Edit profile.
  3. Select your language in the Language field.
  4. Click on Save.
../_images/alanguage.png

To start the monitoring engine:

  1. From your web interface, go to Configuration > Pollers.

  2. Keep the default options and click on Export configuration.

  3. Select Central poller from the box input Pollers.

  4. Uncheck Generate Configuration Files and Run monitoring engine debug (-v).

  5. Check Move Export Files and Restart Monitoring Engine with the Restart option selected.

  6. Click on Export again.

  7. Log on to the root user on your server.

  8. Start Centreon Broker:

    # systemctl start cbd
    
  9. Start Centreon Engine:

    # systemctl start centengine
    
  10. Start centcore:

    # systemctl start centcore
    
  11. Start centreontrapd:

    # systemctl start centreontrapd
    

Monitoring is now working. You can begin monitoring your IT system.

To automatically start services at system bootup, run these commands on the central server:

# systemctl enable centcore
# systemctl enable centreontrapd
# systemctl enable cbd
# systemctl enable centengine
# systemctl enable centreon

The Centreon web interface contains several menus, each with a specific function:

../_images/amenu.png
  • Home lets you access the first home screen after logging in. It provides a summary of overall monitoring status. Your workspace may be blank for now. Once you configure customizable widgets, you will see data and charts according to your customization.
  • 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.

../_images/install_imp_1.png

Once the installation is complete, click on Back. The modules are now installed.

../_images/install_imp_2.png

Now proceed to Configuration > Plugin packs > Manager. Ten free Plugin Packs are provided to get you started. Five additional Packs are available once you register, and over 300 more if you subscribe to the IMP offer (for more information: our website).

../_images/install_imp_3.png

Configure the proxy to allow the Centreon server to access the internet, and then go to the quick start chapter to configure your first monitoring.