Vous êtes ici:

Menu

Instructions

Using Centreon-Deb is very simple :

Stacks Image 1086449
Warning
Only Debian Stretch 64 bits and Raspbian Stretch.
Version 19.04.4 replaces the Centreon plugins of the github with the Fatpacked plugins

1. Add the main repository to your sources.list

For Stretch 64 bits and Raspbian Stretch, add this line to your /etc/apt/sources.list file :
deb http://mirror.sugarbug.fr/centreon/ stretch main

2. Fetch and install the GnuPG key

For Debian Stretch
wget -O - http://mirror.sugarbug.fr/centreon/sugarbug.fr.gpg.key | apt-key add -
For Raspbian Stretch
wget -O - http://mirror.sugarbug.fr/centreon/sugarbug.fr.gpg.key | sudo apt-key add -

3. Install repo for php 7.1 and update apt

For Debian Stretch, only for Central
apt-get install apt-transport-https lsb-release ca-certificates -y
wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" >> /etc/apt/sources.list.d/php.list
apt-get update
For Raspbian Stretch, only for Central
sudo /bin/sh -c 'echo "deb http://repozytorium.mati75.eu/raspbian stretch-backports main contrib non-free" > /etc/apt/sources.list.d/php.list'
sudo apt-get install dirmngr -y
sudo gpg --keyserver pgpkeys.mit.edu --recv-key CCD91D6111A06851
sudo gpg --armor --export CCD91D6111A06851 | sudo apt-key add -

4. Install

For Debian Stretch
for Central
apt-get install centreon-central
for Poller
apt-get install centreon-poller
For Raspbian Stretch
for Central
sudo apt-get install centreon-central
for Poller
sudo apt-get install centreon-poller

Old versions debian Jessie and Wheezy

1. Add the main repository to your sources.list

For Jessie (32-64 bits) and Raspbian 32 bits, add this line to your /etc/apt/sources.list file :
deb http://mirror.sugarbug.fr/centreon-2826/ jessie main
For Wheezy 64 bits and only Centreon-Web <= 2.7.8, add this line to your /etc/apt/sources.list file :
deb http://mirror.sugarbug.fr/centreon-2826/ wheezy main

2. Fetch and install the GnuPG key

For Debian
wget http://mirror.sugarbug.fr/centreon-2826/sugarbug.gpg
apt-key add sugarbug.gpg
For Raspbian
wget http://mirror.sugarbug.fr/centreon-2826/sugarbug.gpg
sudo apt-key add sugarbug.gpg

3. Update apt

Stacks Image 324440
Warning
For update 18.10.2 to 18.10.3
apt-get upgrade
apt-get upgrade -f

For update 2.7.x to 2.8.5, use :
apt-get install centreon-central

For update 2.7.x to 2.7.8, use :
apt-get dist-upgrade

For update 2.6.x to 2.7.1, use :
apt-get dist-upgrade

For Debian
apt-get update
For Raspbian
sudo apt-get update
For install, see Debian Jessie or Debian Whezzy

4. History depot

In order to allow to use the old versions of the Centreon repositories, I made available the previous repositories :
- http://mirror.sugarbug.fr/centreon-1904/ : centreon-web 19.04, centreon-broker 19.04, centreon-engine 19.04
- http://mirror.sugarbug.fr/centreon-181004/ : centreon-web 18.10.4, centreon-broker 18.10.1, centreon-engine 18.10.0
- http://mirror.sugarbug.fr/centreon-181003/ : centreon-web 18.10.3, centreon-broker 18.10.1, centreon-engine 18.10.0
- http://mirror.sugarbug.fr/centreon-181002/ : centreon-web 18.10.2, centreon-broker 18.10.1, centreon-engine 18.10.0
- http://mirror.sugarbug.fr/centreon-2826/ : centreon-web 2.8.26, centreon-broker 3.0.14, centreon-engine 1.8.1
- http://mirror.sugarbug.fr/centreon-2825/ : centreon-web 2.8.25, centreon-broker 3.0.14, centreon-engine 1.8.1
- http://mirror.sugarbug.fr/centreon-2824-2/ : centreon-web 2.8.24, centreon-broker 3.0.14, centreon-engine 1.8.1
- http://mirror.sugarbug.fr/centreon-2823/ : centreon-web 2.8.23, centreon-broker 3.0.14, centreon-engine 1.8.1
- http://mirror.sugarbug.fr/centreon-2822/ : centreon-web 2.8.22, centreon-broker 3.0.14, centreon-engine 1.8.1
- http://mirror.sugarbug.fr/centreon-2819/ : centreon-web 2.8.19, centreon-broker 3.0.13, centreon-engine 1.8.1
- http://mirror.sugarbug.fr/centreon-2818/ : centreon-web 2.8.18, centreon-broker 3.0.13, centreon-engine 1.8.1
It will be enough to modify the address in the file /etc/apt/sources.list
 

5. Nrpe 3 for Jessie

Stacks Image 1086458
Warning
Only old Debian Jessie
You have the option to install the plugin and the Nrpe3 daemon on a 32 bits/64 bit Debian or Raspbian server.
To install the Nrpe 3 plugin :
apt-get install centreon-nrpe3-plugin
To install the Nrpe3 daemon
apt-get install centreon-nrpe3-daemon
Configure Nrpe3 by modifying the file /etc/nrpe/centreon-nrpe3.cfg
allowed_hosts=127.0.0.1,<IP Client NRPE>
Start the NRPE3 daemon
systemctl start centreon-nrpe3
 Vous êtes ici: