Using virtual machines (VMs)

Two preconfigured virtual machines are available on the Centreon download web site.

These virtual machines are available in OVA (VMware) and OVF (VirtualBox) format.

Note

The OVA/OVF may not have a network adapter configured. If so, you will have to configure a network adapter in your virtual machine before you proceed.

Centreon Central server

Importing

The first step is to import the OVF File. Go to File > Deploy OVF Template and select a file. Because the menu selections are actually linked to your specific VMWare configuration, we are unable to provide more information. Be advised that best practice is to use Thin Provision to save as much free space as possible on the disk.

Connecting

Log into the CLI of your Centreon VM. The server has a default password.

To connect to the web UI use: admin/centreon.

You can also connect to the server via SSH using the account: root/centreon. The root password of the DBMS is not initialized.

Note

For security reasons, we highly recommend for you to change these passwords after installation.

On your first login to Centreon CLI, you will see a banner that describes additional oerations to be performed. It is imperative that you complete the instructions, especially operations 4 and 5.

Note

To remove this message, delete the /etc/profile.d/centreon.sh file.

Poller

Deploying the Poller from a virtual machine is almost the same as from the central server. You have to exchange SSH keys and configure the Poller through the web interface.

Exchanging SSH keys

The communication between the central server and a poller server is done via SSH.

You must exchange the SSH keys between the servers.

If you don’t have any private SSH keys on the central server for the centreon user:

# su - centreon
$ ssh-keygen -t rsa

Copy this key to the new server:

# su - centreon
$ ssh-copy-id -i .ssh/id_rsa.pub centreon@IP_POLLER

The password of the centreon user is centreon. It can be easily changed using the passwd command.

Note

Hit enter when it prompts for a file to save the key to use the default location, or, create one in a specified directory. Leave the passphrase blank if you wish. However it is not recommended. You will receive a key fingerprint and a randomart image.

On the Web interface

Configuring a new poller in Centreon

As of Centreon version 18.10, a new wizard has been added for defining a new poller on the Centreon platform.

Note

You also have the option of adding a new poller manually, but we recommend using the following procedure.

Go to the Configuration > Pollers menu and click on Add server with wizard to configure a new poller.

Select Add a Centreon Poller and click on Next:

../_images/wizard_add_poller_1.png

Type in the name, the IP address of the poller and IP address of the Central Server. Click on Next:

../_images/wizard_add_poller_2.png

Note

The IP address of the poller is the IP address or the FQDN used to access this poller from the Central Server.

The IP address of the Central Server is the IP address or the FQDN used to access the Central Server from the poller.

If you want to link the poller to the Centreon Server, click on Apply:

../_images/wizard_add_poller_3.png

Otherwise, if you want to link the poller to an existing Centreon Remote Server, select one from the list. Then click Apply:

Note

If you want to change the direction of the flow between the Centreon Server (or the Remote Server and the Poller, check the Advanced: reverse Centreon Broker communication flow checkbox. In this case, it will be necessary to export the configuration of the collector as well as the server to which it will be attached.

In a few seconds the wizard will configure your new poller.

../_images/wizard_add_poller_5.png

Go to the Quick Start chapter to configure your first monitoring.