Instructions
For Wheezy 64 bits only, only version <= 2.7.8
Install Centreon
install centreon. 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 MySQL
use script of centreon-clapi’s package
/usr/share/centreon/examples/clapi/init_timezone.sh -t Europe/Paris -r
or manual configuration
Configure date.timezone in php.ini
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
Apply Centron’s configuration
Start Centreon’s services
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.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.
service centengine stop service cbd stop
Update mirror
apt-get update
Install Centreon, use dist-upgrade.
apt-get dist-upgrade
Configure date.timezone in php.ini
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
Upgrade Centreon UI
update configuration
restart services
service cbd start service centengine start
Other examples
1. 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 ;-)
2. Install poller with module centreon-poller-display
apt-get install centreon-poller-display
For configuration, see this web page. Sorry in french ;-)
3. Install Centreon-Engine
apt-get install centreon-engine centreon-connector-perl centreon-connector-ssh
4. Install Centreon-Broker
apt-get install centreon-broker
5. Install Centreon with MariaDB
For Wheezy 64 bits only
Install this package
Install this package
apt-get install python-software-properties
Fetch and install the GnuPG key
apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db
Add the main repository to your sources.list
add-apt-repository 'deb http://ftp.igh.cnrs.fr/pub/mariadb/repo/10.0/debian wheezy main'
Update apt
apt-get update
Install the packages MariaDB and Centreon
apt-get install mariadb-server centreon-ui centreon-poller
6. Install scripts 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).
7. Install language french
apt-get install centreon-lang-fr