Instructions
For Jessie 32 bits and 64 bits
Install Centreon central
install centreon. New 2.7.8, Centreon plugins are automatically added to Centreon in /usr/lib/centreon/plugins. New 2.7.4, the widgets are automatically added to Centreon.
apt-get install centreon-central
Add password for mariaDB
Configure date.timezone in php.ini
use script of centreon-clapi’s package
/usr/share/centreon/examples/clapi/init_timezone.sh -t Europe/Paris -r
or manual configuration
vi /etc/php5/apache2/php.ini
[Date] ; Defines the default timezone used by the date functions ; http://php.net/date.timezone date.timezone = Europe/Paris
reload apache
service apache2 reload
SNMP
Configure SNMP and restart
config /etc/snmp/snmpd.conf
rocommunity public localhostrestart SNMP
service snmpd restart
Centreon-Web
Configure Centreon UI
Start Centreon-Broker’s services
service cbd start
Version 2.8.5 does not contain configuration examples. You can use this example.
centreon -u admin -p password -i /usr/share/centreon/examples/clapi/example_config_initial.txt
Add the notifications commands for the admin.
Apply Centron’s configuration
Start Centreon’s services
systemctl start centcore.service systemctl start centreontrapd.serviceor
service centcore start service centreontrapd start
News Centreon 2.7.8, Centreon plugins are automatically added to Centreon in /usr/lib/centreon/plugins. New Macro $CENTREONPLUGINS$ was added.
Update Centreon 2.7.x to 2.8.5
The configuration and processes of the broker are different. It will be necessary to stop all services (Central and Polling) before starting the update.
for Central
systemctl stop cbd_central-broker.service systemctl stop cbd_central-rrd.service systemctl stop centengine.service systemctl stop centcore.service systemctl stop centreontrapd.servicefor Poller
systemctl stop centengine.service systemctl stop centreontrapd.service
Make the update.
for Central
apt-get update apt-get install centreon-central centreon-clapifor Poller
apt-get update apt-get install centreon-poller
Upgrade Centreon UI
Modify the engine init script and centreontrapd init script for each Poller. Select Configuration -> Pollers
Modify the init engine script for the broker. Select Administration -> Parameters -> Monitoring
Apply configuration without restart Engine for each poller
Start configuration
for Central
service cbd start service centengine start service centcore start service centreontrapd startfor Poller
service centengine start service centreontrapd start
Update Centreon 2.7.x to 2.7.8
Centreon-plugins package dependencies have changed since the 2.7.8 version of Centreon. Use apt-get dist-upgrade. During the installation, a message may appear.
Paramétrage de centreon-poller (2.7.8-1) ... Fichier de configuration « /etc/centreon/centreontrapd.pm » deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi ==> Modifié (par vous ou par un script) depuis l'installation. ==> Le distributeur du paquet a fourni une version mise à jour. Que voulez-vous faire ? Vos options sont les suivantes : Y ou I : installer la version du responsable du paquet N ou O : garder votre version actuellement installée D : afficher les différences entre les versions Z : suspendre ce processus pour examiner la situation L'action par défaut garde votre version actuelle. *** centreontrapd.pm (Y/I/N/O/D/Z) [défaut=N] ?
Centreon-plugins package dependencies have changed since the 2.7.8 version of Centreon. Use apt-get dist-upgrade. During the installation, a message may appear.
Answer N (Default). Add macro $CENTREONPLUGINS$ with script add_macro_plugin.sh in package centreon-clapi 2.7.8
/usr/share/centreon/examples/clapi/add_macro_plugin.sh admin password
Update Centreon 2.6.x to 2.7.1
Debian package dependencies have changed since the 2.7.1 version of Centreon. Use apt-get dist-upgrade. Before update, stop broker and engine services.
systemctl stop centengine.service systemctl stop cbd_central-rrd.service systemctl stop cbd_central-broker.service
Update mirror
apt-get update
Install Centreon, use dist-upgrade.
apt-get dist-upgrade
Configure date.timezone in php.ini
[Date] ; Defines the default timezone used by the date functions ; http://php.net/date.timezone date.timezone = Europe/Paris
reload apache
service apache2 reload
Upgrade Centreon UI
update configuration
restart services
systemctl stop cbd_central-rrd.service systemctl stop cbd_central-broker.service systemctl start centengine.service
Other examples
Install central without database
apt-get install centreon-central-without-db
Install poller
apt-get install centreon-poller
Add password for Centreon User
passwd centreon Entrez le nouveau mot de passe UNIX : Retapez le nouveau mot de passe UNIX : passwd : le mot de passe a été mis à jour avec succès
For configuration, see this web page. Sorry in french ;-)
Install poller with module centreon-poller-display
For poller
apt-get install centreon-poller-display
For module central
apt-get install centreon-poller-display-central
For configuration, see this web page. Sorry in french ;-)
Install centreon-clapi
Since version 2.7.1, the package contains only scripts.
apt-get install centreon-clapi
The scripts for newbies is locate to /usr/share/centreon/examples/clapi. For configuration, see this web page (sorry in french).
Install language french
apt-get install centreon-lang-fr