Vous êtes ici:

Menu

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  localhost
restart SNMP
service snmpd restart

Centreon-Web

Configure Centreon UI
Stacks Image 847
Click on Next
Stacks Image 324830
Click on Next
Stacks Image 873
Click on Next
Stacks Image 886
Click on Next
Stacks Image 899
Define the admin user and click on Next.
Stacks Image 912
Add password for MySQL and create password for Centreon’s database.
Stacks Image 925
Click on Next
Stacks Image 938
Click on Finish
Stacks Image 324839
Centreon is ready
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.
Stacks Image 1351677
Apply Centron’s configuration
Stacks Image 324848
Start Centreon’s services
systemctl start centcore.service
systemctl start centreontrapd.service
or
service centcore start
service centreontrapd start
Stacks Image 324857
Engine and Broker are OK
Stacks Image 1351682
Services is pending
Stacks Image 324866
Centreon-engine is ready
News Centreon 2.7.8, Centreon plugins are automatically added to Centreon in /usr/lib/centreon/plugins. New Macro $CENTREONPLUGINS$ was added.
Stacks Image 1351654
New macro for Centreon Plugins

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.service
for Poller
systemctl stop centengine.service
systemctl stop centreontrapd.service
Make the update.
for Central
apt-get update
apt-get install centreon-central centreon-clapi
for Poller
apt-get update
apt-get install centreon-poller
Upgrade Centreon UI
Stacks Image 1351697
Click on Next
Stacks Image 1351700
Click on Next
Stacks Image 1351703
Click on Next
Stacks Image 1351706
Click on Next
Stacks Image 1351709
Click on Finish
Modify the engine init script and centreontrapd init script for each Poller. Select Configuration -> Pollers
Stacks Image 1351714
Modify Monitoring Engine Init Script
Modify the init engine script for the broker. Select Administration -> Parameters -> Monitoring
Stacks Image 1351717
Modify Start script for broker daemon
Apply configuration without restart Engine for each poller
Stacks Image 1351724
Apply configuration
Start configuration
for Central
service cbd start
service centengine start
service centcore start
service centreontrapd start
for 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
Stacks Image 324947
Click on Next
Stacks Image 324956
Click on Next
Stacks Image 324965
Click on Next
Stacks Image 324974
Click on Finish
update configuration
Stacks Image 324989
Click on Finish
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

Stacks Image 325010
Warning
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
 Vous êtes ici: