Update Centreon MBI reporting server

This chapter describes how to update the reporting Server package.

First, stop the services :

service cbis stop

Make sure that Centreon repository is installed on the reporting server, otherwise install it:

CentOS6 / RHEL6

wget http://yum.centreon.com/standard/3.4/el6/stable/noarch/RPMS/centreon-release-3.4-4.el6.noarch.rpm
rpm -Uvh centreon-release-3.4-4.el6.noarch.rpm

CentOS7 / RHEL7

wget http://yum.centreon.com/standard/3.4/el7/stable/noarch/RPMS/centreon-release-3.4-4.el7.centos.noarch.rpm
rpm -Uvh centreon-release-3.4-4.el7.centos.noarch.rpm

Upgrading the reporting-server

Warning

Centreon MBI 3.x is not compatible anymore with the Interactive Viewer feature. Make sure to uninstall centreon-bi-iserver before updating Centreon MBI using the following procedure : Uninstall iServer package.

The backup system has been integrated in the software so please make sure to uninstall the following package before updating : centreon-bi-backup-engine.

Then execute the following command:

yum update centreon-bi-reporting-server

If coming from Centreon MBI 2.x, please perform the actions below

Reporting Widgets configuration

First execute the following command :

/usr/share/centreon-bi/etl/importData.pl -r --centreon-only

Then, to be able to use the reporting widget, the server hosting Centreon’s interface need to have access (read) to the reporting MySQL server. To do so, connect to the MySQL of the reporting server and execute the following command :

mysql>GRANT SELECT on centreon.* to centreonbi@'IP-INTERFACE-CENTREON' identified by 'centreonbi';
mysql>GRANT SELECT on centreon_storage.* to centreonbi@'IP-INTERFACE-CENTREON' identified by 'centreonbi';

If you want to change the user and/or password, make sure to update the following configuration Reporting > Monitoring Business Intelligence > General Options | Reporting Widgets

Check that the connection to the reporting database is ok :

../_images/reportingWidgets.png