Centreon MBI Web (Interface)

The tasks explained in this chapter must be performed on the Centreon main monitoring server.

Contact the CENTREON service desk to access and install the Centreon MBI repository on the Centreon monitoring server.

Installation

Run the following command:

yum install centreon-bi-server

Alternative : Installation from the source package

Warning

Follow the procedure as “root” user.

Decompress the package and follow this installation procedure:

tar zxf centreon-bi-server-18.10.0-php71.tar.gz
cd ccentreon-bi-server-18.10.0-php71/
./install -i

License

A license file, “mbi.license”, is provided by Centreon. Go to Administration > Extension and upload the license through the interface.

Activation of Centreon MBI

The menu Administration > Extension of Centreon allows you to activate the different modules detected by Centreon. One line references Centreon MBI. Click the icon in the “Actions” column to activate the module.

The following page will then be displayed (with the latest version). Click on Install module:

../_images/moduleInstalled.png

An information page indicates that no further procedures need to be run before or after installation. Click on Back.

General options

Set the following parameters in the General Options menu Reporting > Monitoring Business Intelligence > General Options :

Tab Option Value
Scheduler Options CBIS Host Reporting server IP Address
ETL Options Reporting engine uses a dedicated MySQL server Yes
Reporting Widgets* Reporting MySQL database Reporting database IP Address ( default = same as CBIS Host)

* The connection test will not yet work at this stage of the installation process.

Monitoring databases access configuration

Case #1: MySQL monitoring database is hosted on the Central monitoring server

Launch the command below to authorize the reporting server to connect to the monitoring server databases. Use the following option:

  • @ROOTPWD@: Root MySQL password of the monitoring databases server.If there is no password for “root” user, don’t specify the option root-password.
/usr/share/centreon/www/modules/centreon-bi-server/tools/centreonMysqlRights.pl --root-password=@ROOTPWD@

Case #2: MySQL monitoring database is hosted on a dedicated server

Connect by SSH to the database server, and the run the following commands:

mysql -u root -p
mysql> CREATE USER 'centreonbi'@'$BI_ENGINE_IP$' IDENTIFIED BY 'centreonbi';
mysql> GRANT ALL PRIVILEGES ON centreon.* TO 'centreonbi'@'$BI_ENGINE_IP$';
mysql> GRANT ALL PRIVILEGES ON centreon_storage.* TO 'centreonbi'@'$BI_ENGINE_IP$';
  • $BI_ENGINE_IP$: IP address of the reporting server.

Warning

If you’re using MySQL replication for your monitoring databases, certain views are created during installation of Centreon MBI. You need to exclude them from replication by adding the following line in the my.cnf file of the slave server.

replicate-wild-ignore-table=centreon.mod_bi_%v01,centreon.mod_bi_%V01

Then, create the views manually on the slave server by launching the following command line:

# mysql centreon < view_creation.sql

Please go to the next chapter to continue the installation.