Installation

Prerequisites

License

Regardless of Centreon IMP or Centreon EPP mode, a license is required to manage Plugin Packs. If you use Centreon IMP in connected mode, your license will be directly downloaded to your server. Otherwise, contact the Centreon support team.

Software

Software Required version
Centreon 18.10
perl-Libssh-Session >= 0.4
Monitoring engine Centreon Engine
Discovery plugins Centreon Plugins

Centreon Enterprise Server

Centreon Auto Discovery web interface

If you own a central server based on Centron ISO and if you have access to the Centreon Auto Discovery module you can install it using following command on Centreon central server:

$ yum install centreon-auto-discovery-server

Once done, the next step is to activate the module.

Discovery plugins

Following the Centreon Plugins installation guide to install plugins on all pollers of your monitoring platform.

Module activation

Centreon CLAPI configuration

Centreon Auto Discovery module uses Centreon CLAPI to manage services configuration and the restart of pollers for which configuration has changed after the execution of the cron job.

To let the module to use Centreon CLAPI, it is necessary to configure the Centreon CLAPI user. To do it, modify user in file:

# /etc/centreon/centreon_autodisco.pm

Modify the clapi_user and clapi_password parameters. Save modifications and close the file.

Web installation

Connect to the Centreon’s web interface using an account allowed to administer products and go to the Administration > Modules menu.

Click on the installation icon located inside the Actions column and corresponding to the Centreon Auto Discovery module:

../_images/install_1.png

Click on the Install module button:

../_images/install_2.png

The module is now installed and activated inside Centreon. Click Back to go back to the module list:

../_images/install_3.png

The module is now installed:

../_images/install_4.png

Installation supplement for the discovery from pollers

When a host is monitored by a remote collector, the discovery will be made from it. Thus to executed distant commands it is necessary to allow the Apache process to access the centreon SSH keys user. To do this run the following commands:

# mkdir /var/www/.ssh/
# cp /var/spool/centreon/.ssh/* /var/www/.ssh/
# chown -R apache. /var/www/.ssh
# chmod 600  /var/www/.ssh/id_rsa