Private GIT

Skip to content
Snippets Groups Projects
Commit 303978af authored by Laurent Pinsivy's avatar Laurent Pinsivy Committed by Guillaume28
Browse files

5611 improve centreon documentation (#5612)

* Add notice label to restart server after disabled selinux

* Move installation documentation chapters in correct order

* Fix french typo in install chapter
parent be0e4de0
Branches
Tags
No related merge requests found
...@@ -18,9 +18,9 @@ SELinux should be disabled; for this, you have to modify the file */etc/selinux/ ...@@ -18,9 +18,9 @@ SELinux should be disabled; for this, you have to modify the file */etc/selinux/
SELINUX=disabled SELINUX=disabled
.. note::
After saving the file, please reboot your operating system to apply the changes. After saving the file, please reboot your operating system to apply the changes.
****************** ******************
Repository install Repository install
****************** ******************
...@@ -48,12 +48,9 @@ For CentOS 7. ...@@ -48,12 +48,9 @@ For CentOS 7.
The repository is now installed. The repository is now installed.
*************** ************************
Package install Install a central server
*************** ************************
Installing a central server
---------------------------
The chapter describes the installation of a Centreon central server. The chapter describes the installation of a Centreon central server.
...@@ -64,36 +61,6 @@ Perform the command: ...@@ -64,36 +61,6 @@ Perform the command:
$ yum install centreon-base-config-centreon-engine centreon $ yum install centreon-base-config-centreon-engine centreon
:ref:`After this step you should connect to Centreon to finalise the installation process <installation_web_ces>`.
Installing a poller
-------------------
This chapter describes the installation of a collector.
Perform the command:
::
$ yum install centreon-poller-centreon-engine
The communication between a central server and a poller server is by SSH.
You should exchange the SSH keys between the servers.
If you don’t have any private SSH keys on the central server for the Centreon user:
::
$ su - centreon
$ ssh-keygen -t rsa
Copy this key on the collector:
::
$ ssh-copy-id centreon@your_poller_ip
Installing MySQL on the same server Installing MySQL on the same server
----------------------------------- -----------------------------------
...@@ -107,14 +74,10 @@ Perform the command: ...@@ -107,14 +74,10 @@ Perform the command:
$ service mysql restart $ service mysql restart
******************
Post-package steps
******************
PHP timezone PHP timezone
------------ ------------
PHP timezone should be set; go to /etc/php.d directory and create a file named php-timezone.ini who contain the following line : PHP timezone should be set; go to /etc/php.d directory and create a file named php-timezone.ini which contains the following line :
:: ::
...@@ -153,3 +116,37 @@ Setting this option into /etc/my.cnf will NOT work. ...@@ -153,3 +116,37 @@ Setting this option into /etc/my.cnf will NOT work.
# echo -ne "[Service]\nLimitNOFILE=32000\n" | tee /etc/systemd/system/mariadb.service.d/limits.conf # echo -ne "[Service]\nLimitNOFILE=32000\n" | tee /etc/systemd/system/mariadb.service.d/limits.conf
# systemctl daemon-reload # systemctl daemon-reload
# service mysql restart # service mysql restart
Conclude installation
---------------------
:ref:`click here to finalise the installation process <installation_web_ces>`.
*******************
Installing a poller
*******************
This chapter describes the installation of a collector.
Perform the command:
::
$ yum install centreon-poller-centreon-engine
The communication between a central server and a poller server is by SSH.
You should exchange the SSH keys between the servers.
If you don’t have any private SSH keys on the central server for the Centreon user:
::
$ su - centreon
$ ssh-keygen -t rsa
Copy this key on the collector:
::
$ ssh-copy-id centreon@your_poller_ip
...@@ -20,9 +20,9 @@ SELinux doit être désactivé. Pour cela vous devez modifier le fichier */etc/s ...@@ -20,9 +20,9 @@ SELinux doit être désactivé. Pour cela vous devez modifier le fichier */etc/s
SELINUX=disabled SELINUX=disabled
.. note::
Après avoir sauvegardé le fichier, veuillez redémarrer votre système d'exploitation pour prendre en compte les changements. Après avoir sauvegardé le fichier, veuillez redémarrer votre système d'exploitation pour prendre en compte les changements.
*********************** ***********************
Installation des dépôts Installation des dépôts
*********************** ***********************
...@@ -50,12 +50,9 @@ Pour CentOS 7. ...@@ -50,12 +50,9 @@ Pour CentOS 7.
Le dépôt est maintenant installé. Le dépôt est maintenant installé.
************************ *******************************
Installation des paquets Installation du serveur central
************************ *******************************
Installer un serveur central
----------------------------
Ce chapitre décrit l'installation d'un serveur central Centreon. Ce chapitre décrit l'installation d'un serveur central Centreon.
...@@ -65,37 +62,6 @@ Exécutez la commande : ...@@ -65,37 +62,6 @@ Exécutez la commande :
$ yum install centreon-base-config-centreon-engine centreon $ yum install centreon-base-config-centreon-engine centreon
:ref:`A la fin de cette étape, connectez-vous à Centreon pour finaliser le processus d'installation <installation_web_ces>`.
Installer un collecteur
-----------------------
Ce chapitre décrit l'installation d'un collecteur.
Exécutez la commande :
::
$ yum install centreon-poller-centreon-engine
La communication entre le serveur central et un collecteur se fait via SSH.
Vous devez échanger les clés SSH entre les serveurs.
Si vous n'avez pas de clé SSH privés sur le serveur central pour l'utilisateur 'centreon' :
::
$ su - centreon
$ ssh-keygen -t rsa
Vous devez copier cette clé sur le collecteur :
::
$ ssh-copy-id centreon@your_poller_ip
Installer MySQL sur le même serveur Installer MySQL sur le même serveur
----------------------------------- -----------------------------------
...@@ -108,11 +74,6 @@ Exécutez la commande : ...@@ -108,11 +74,6 @@ Exécutez la commande :
$ yum install MariaDB-server $ yum install MariaDB-server
$ service mysql restart $ service mysql restart
*******************
Étapes post-paquets
*******************
Fuseau horaire PHP Fuseau horaire PHP
------------------ ------------------
...@@ -146,7 +107,7 @@ Système de gestion de base de données ...@@ -146,7 +107,7 @@ Système de gestion de base de données
La base de données MySQL doit être disponible pour pouvoir continuer l'installation (localement ou non). Pour information nous recommandons MariaDB. La base de données MySQL doit être disponible pour pouvoir continuer l'installation (localement ou non). Pour information nous recommandons MariaDB.
Pour les système CentOS / RHEL en verison 7, il est nécessaire de modifidier la limitation **LimitNOFILE**. Pour les systèmes CentOS / RHEL en version 7, il est nécessaire de modifier la limitation **LimitNOFILE**.
Changer cette option dans /etc/my.cnf NE fonctionnera PAS. Changer cette option dans /etc/my.cnf NE fonctionnera PAS.
:: ::
...@@ -155,3 +116,36 @@ Changer cette option dans /etc/my.cnf NE fonctionnera PAS. ...@@ -155,3 +116,36 @@ Changer cette option dans /etc/my.cnf NE fonctionnera PAS.
# echo -ne "[Service]\nLimitNOFILE=32000\n" | tee /etc/systemd/system/mariadb.service.d/limits.conf # echo -ne "[Service]\nLimitNOFILE=32000\n" | tee /etc/systemd/system/mariadb.service.d/limits.conf
# systemctl daemon-reload # systemctl daemon-reload
# service mysqld restart # service mysqld restart
Terminer l'installation
-----------------------
:ref:`Clicquer ici pour finaliser le processus d'installation <installation_web_ces>`.
Installer un collecteur
-----------------------
Ce chapitre décrit l'installation d'un collecteur.
Exécutez la commande :
::
$ yum install centreon-poller-centreon-engine
La communication entre le serveur central et un collecteur se fait via SSH.
Vous devez échanger les clés SSH entre les serveurs.
Si vous n'avez pas de clé SSH privées sur le serveur central pour l'utilisateur 'centreon' :
::
$ su - centreon
$ ssh-keygen -t rsa
Vous devez copier cette clé sur le collecteur :
::
$ ssh-copy-id centreon@your_poller_ip
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment