diff --git a/cloud/cma/cma-setup.md b/cloud/cma/cma-setup.md
index fd618705562e..4c28c36ff2c3 100644
--- a/cloud/cma/cma-setup.md
+++ b/cloud/cma/cma-setup.md
@@ -252,7 +252,6 @@ dnf install compat-openssl11 centreon-monitoring-agent
apt-get update
apt-get -y install lsb-release gpg wget
echo "deb https://packages.centreon.com/apt-standard/ $(lsb_release -sc)-25.10-stable main" | tee -a /etc/apt/sources.list.d/centreon-25.10-stable.list
-echo "deb https://packages.centreon.com/apt-plugins-stable/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/centreon-plugins.list
```
2. Import the repository key:
@@ -277,7 +276,6 @@ apt install centreon-monitoring-agent
apt-get update
apt-get -y install lsb-release gpg wget
echo "deb https://packages.centreon.com/ubuntu-standard/ $(lsb_release -sc)-25.10-stable main" | tee -a /etc/apt/sources.list.d/centreon-25.10-stable.list
-echo "deb https://packages.centreon.com/ubuntu-plugins-stable/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/centreon-plugins.list
```
2. Import the repository key:
@@ -438,28 +436,28 @@ centreon-monitoring-agent.exe /VERYSILENT /HELP
Available parameters are :
-| flag | description | mandatory
-| -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------- |
-|/COMPONENTS| Components to install. "agent", "plugins" or "agent,plugins" |X |
-|/AGENTINSTANCE| Agent instance name (service name). If omitted, the installer auto-generates a name (e.g., CentreonMonitoringAgent) | |
-|/HOST | The name of the host as defined in the Centreon interface. This name will be the matching key used to retrieve data on the Centreon host. | X |
-|/ENDPOINT | IP address or DNS name of the poller the agent will connect to. In case of poller-initiated connection mode (/REVERSE=true), it is the interface and port on which the agent will accept connections from the poller. 0.0.0.0 means all interfaces. The format is (IP or DNS name):(port), you must choose the interface (all interfaces: 0.0.0.0) and the port (usually 4317 for remote poller) on which the agent will accept connections from the poller.
-| X|
-|/TOKEN| Authentication token | X |
-|/PLUGINSRC| Source of installation for Centreon plugins. "auto": via the internet, "embedded": local version. Default: "auto" ||
-|/REVERSE| Connection initiated by the poller. "true" or "false". Default: "false"| |
-|/ENCRYPTION| Encryption mode. "no", "full", "insecure". Default: "no"| |
-|/CERT| Path to the file containing the public key | if ENCRYPTION=full or insecure, and /REVERSE=true |
-|/KEY| Path to the file containing the private key | if ENCRYPTION=full or insecure, and /REVERSE=true |
-|/CA| Path to the file containing the trusted certificate | |
-|/COMMONNAME| CA common name. If ENCRYPTION=insecure | |
-|/LOGTYPE| "event-log" or "file". Default: "event-log"| |
-|/LOGFILE| Path to the log file | if /LOGTYPE=file |
-|/LOGLEVEL| "off","critical","error","warning","info","debug","trace". Default: "error"| if /LOGTYPE=file |
-|/MAXFILESIZE| Maximum size of the log file before rotation, in MB. Default: 10. If /LOGTYPE=file | |
-|/MAXNUMBER| Maximum number of log files. Both of these parameters are required for log rotation to be enabled. Default: 3. If /LOGTYPE=file | |
-|/CUSTOMCHECKFILE| Path to custom commands file, if you have one. | |
-|/VERSION| Version of centagent.exe | |
+| flag | description | mandatory |
+|------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------|
+| /COMPONENTS | Components to install. "agent", "plugins" or "agent,plugins" | X |
+| /AGENTINSTANCE | Agent instance name (service name). If omitted, the installer auto-generates a name (e.g., CentreonMonitoringAgent) | |
+| /HOST | The name of the host as defined in the Centreon interface. This name will be the matching key used to retrieve data on the Centreon host. | X |
+| /ENDPOINT | IP address or DNS name of the poller the agent will connect to. In case of poller-initiated connection mode (/REVERSE=true), it is the interface and port on which the agent will accept connections from the poller. 0.0.0.0 means all interfaces. The format is (IP or DNS name):(port), you must choose the interface (all interfaces: 0.0.0.0) and the port (usually 4317 for remote poller) on which the agent will accept connections from the poller. | |
+| X | | |
+| /TOKEN | Authentication token | X |
+| /PLUGINSRC | Source of installation for Centreon plugins. "auto": via the internet, "embedded": local version. Default: "auto" | |
+| /REVERSE | Connection initiated by the poller. "true" or "false". Default: "false" | |
+| /ENCRYPTION | Encryption mode. "no", "full", "insecure". Default: "no" | |
+| /CERT | Path to the file containing the public key | if ENCRYPTION=full or insecure, and /REVERSE=true |
+| /KEY | Path to the file containing the private key | if ENCRYPTION=full or insecure, and /REVERSE=true |
+| /CA | Path to the file containing the trusted certificate | |
+| /COMMONNAME | CA common name. If ENCRYPTION=insecure | |
+| /LOGTYPE | "event-log" or "file". Default: "event-log" | |
+| /LOGFILE | Path to the log file | if /LOGTYPE=file |
+| /LOGLEVEL | "off","critical","error","warning","info","debug","trace". Default: "error" | if /LOGTYPE=file |
+| /MAXFILESIZE | Maximum size of the log file before rotation, in MB. Default: 10. If /LOGTYPE=file | |
+| /MAXNUMBER | Maximum number of log files. Both of these parameters are required for log rotation to be enabled. Default: 3. If /LOGTYPE=file | |
+| /CUSTOMCHECKFILE | Path to custom commands file, if you have one. | |
+| /VERSION | Version of centagent.exe | |
If **/PLUGINSRC=auto** and the download fails, the installer will automatically switch to **embedded** mode.
@@ -519,7 +517,7 @@ You can configure two kinds of log output:
-### Deploy the Centreon agent plugins on the host (Linux)
+### Deploy the Centreon plugin on the host (Linux)
If you are using Centreon connectors and non-native controls on Linux:
@@ -661,8 +659,8 @@ dnf install -y centreon-plugin-Operatingsystems-Linux-Local.noarch
```bash
-dnf install dnf-plugins-core
-dnf install epel-release
+dnf install -y dnf-plugins-core
+dnf install -y epel-release
dnf config-manager --set-enabled crb
cat >/etc/yum.repos.d/centreon-plugins.repo <<'EOF'
@@ -722,8 +720,13 @@ EOF
dnf install -y centreon-plugin-Operatingsystems-Linux-Local.noarch
```
+> NB: on some minimal docker images, it may be necessary to install this package:
+> ```bash
+> dnf install procps-ng
+> ```
+
-
+
```bash
apt update && apt install lsb-release ca-certificates apt-transport-https software-properties-common wget gnupg2 curl
@@ -739,6 +742,23 @@ apt-get update
apt -y install centreon-plugin-operatingsystems-linux-local
```
+
+
+
+```bash
+apt update && apt install lsb-release ca-certificates apt-transport-https wget gnupg2 curl
+
+wget -O- https://apt-key.centreon.com | gpg --dearmor | tee /etc/apt/trusted.gpg.d/centreon.gpg > /dev/null 2>&1
+echo "deb https://packages.centreon.com/apt-plugins-stable/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/centreon-plugins.list
+apt-get update
+```
+
+2. Install the plugin:
+
+```bash
+apt -y install centreon-plugin-operatingsystems-linux-local
+```
+
@@ -759,6 +779,13 @@ apt -y install centreon-plugin-operatingsystems-linux-local
+3. Create the directory needed for the plugins cache:
+
+```bash
+mkdir -p /var/lib/centreon/centplugins
+chown centreon-monitoring-agent: /var/lib/centreon/centplugins
+```
+
### Configuring multiple agent instances on the same host
#### General principle
diff --git a/i18n/fr/docusaurus-plugin-content-docs-cloud/current/cma/cma-setup.md b/i18n/fr/docusaurus-plugin-content-docs-cloud/current/cma/cma-setup.md
index 03f26526f21a..feb1187ce28c 100644
--- a/i18n/fr/docusaurus-plugin-content-docs-cloud/current/cma/cma-setup.md
+++ b/i18n/fr/docusaurus-plugin-content-docs-cloud/current/cma/cma-setup.md
@@ -255,7 +255,6 @@ dnf install compat-openssl11 centreon-monitoring-agent
apt-get update
apt-get -y install lsb-release gpg wget
echo "deb https://packages.centreon.com/apt-standard/ $(lsb_release -sc)-25.10-stable main" | tee -a /etc/apt/sources.list.d/centreon-25.10-stable.list
-echo "deb https://packages.centreon.com/apt-plugins-stable/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/centreon-plugins.list
```
2. Importez la clé du dépôt :
@@ -280,7 +279,6 @@ apt install centreon-monitoring-agent
apt-get update
apt-get -y install lsb-release gpg wget
echo "deb https://packages.centreon.com/ubuntu-standard/ $(lsb_release -sc)-25.10-stable main" | tee -a /etc/apt/sources.list.d/centreon-25.10-stable.list
-echo "deb https://packages.centreon.com/ubuntu-plugins-stable/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/centreon-plugins.list
```
2. Importez la clé du dépôt :
@@ -440,27 +438,27 @@ centreon-monitoring-agent.exe /VERYSILENT /HELP
Les différents arguments sont:
-| flag | description | obligatoire
-| -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------- |
-|/COMPONENTS| Composants à installer. "agent", "plugins" ou "agent,plugins" |X |
-|/AGENTINSTANCE| Le nom d'instance de l'agent (nom du service). Si non renseigné, un nom par défaut est généré (CentreonMonitoringAgent) | |
-|/HOST | Le nom de l'hôte à superviser tel que vous l'avez saisi dans l'interface Centreon. Ce nom sera la clé de correspondance permettant de remonter les données sur l'hôte Centreon. | X |
-|/ENDPOINT | Dans le cas le plus courant (l'agent se connecte au collecteur), saisissez l'adresse IP ou le nom DNS suivi du port OpenTelemetry sur lequel écoute le collecteur, sous la forme \:port, par exemple 192.168.45.32:4317. Si **/REVERSE=true**, vous devez choisir l'interface (toutes les interfaces : 0.0.0.0) et le port (généralement 4317 pour le collecteur distant) sur lequel l'agent va accepter les connections venant du collecteur. | X|
-|/TOKEN| Jeton d'authentification | X |
-|/PLUGINSRC| Source d'installation des plugins Centreon. "auto" : via internet, "embedded" : version locale. Défaut : "auto" ||
-|/REVERSE| Connection initiée par le collecteur. "true" ou "false". Défaut : "false"| |
-|/ENCRYPTION| Mode de chiffrement. "no","full","insecure". Défaut : "no"| |
-|/CERT| Chemin du fichier contenant la clé publique | si ENCRYPTION=full ou insecure, et /REVERSE=true |
-|/KEY| Chemin du fichier contenant la clé privée | si ENCRYPTION=full ou insecure, et /REVERSE=true |
-|/CA| Chemin du fichier contenant le certificat de confiance | |
-|/COMMONNAME| Nom commun CA. Si ENCRYPTION=insecure | |
-|/LOGTYPE| "event-log" ou "file". Défaut : "event-log"| |
-|/LOGFILE| Chemin du fichier de log | si /LOGTYPE=file |
-|/LOGLEVEL| "off","critical","error","warning","info","debug","trace". Défaut : "error"| si /LOGTYPE=file |
-|/MAXFILESIZE| Taille maximale du fichier de log avant rotation, en Mo. Défaut : 10. Si /LOGTYPE=file | |
-|/MAXNUMBER| Nombre maximal de fichiers de log. Pour que la rotation des logs soit activée, ces deux paramètres sont nécessaires. Défaut : 3. Si /LOGTYPE=file | |
-|/CUSTOMCHECKFILE| Chemin du fichier de commandes personnalisées, si vous en utilisez. | |
-|/VERSION| Version de centagent.exe | |
+| flag | description | obligatoire |
+|------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------|
+| /COMPONENTS | Composants à installer. "agent", "plugins" ou "agent,plugins" | X |
+| /AGENTINSTANCE | Le nom d'instance de l'agent (nom du service). Si non renseigné, un nom par défaut est généré (CentreonMonitoringAgent) | |
+| /HOST | Le nom de l'hôte à superviser tel que vous l'avez saisi dans l'interface Centreon. Ce nom sera la clé de correspondance permettant de remonter les données sur l'hôte Centreon. | X |
+| /ENDPOINT | Dans le cas le plus courant (l'agent se connecte au collecteur), saisissez l'adresse IP ou le nom DNS suivi du port OpenTelemetry sur lequel écoute le collecteur, sous la forme \:port, par exemple 192.168.45.32:4317. Si **/REVERSE=true**, vous devez choisir l'interface (toutes les interfaces : 0.0.0.0) et le port (généralement 4317 pour le collecteur distant) sur lequel l'agent va accepter les connections venant du collecteur. | X |
+| /TOKEN | Jeton d'authentification | X |
+| /PLUGINSRC | Source d'installation des plugins Centreon. "auto" : via internet, "embedded" : version locale. Défaut : "auto" | |
+| /REVERSE | Connection initiée par le collecteur. "true" ou "false". Défaut : "false" | |
+| /ENCRYPTION | Mode de chiffrement. "no","full","insecure". Défaut : "no" | |
+| /CERT | Chemin du fichier contenant la clé publique | si ENCRYPTION=full ou insecure, et /REVERSE=true |
+| /KEY | Chemin du fichier contenant la clé privée | si ENCRYPTION=full ou insecure, et /REVERSE=true |
+| /CA | Chemin du fichier contenant le certificat de confiance | |
+| /COMMONNAME | Nom commun CA. Si ENCRYPTION=insecure | |
+| /LOGTYPE | "event-log" ou "file". Défaut : "event-log" | |
+| /LOGFILE | Chemin du fichier de log | si /LOGTYPE=file |
+| /LOGLEVEL | "off","critical","error","warning","info","debug","trace". Défaut : "error" | si /LOGTYPE=file |
+| /MAXFILESIZE | Taille maximale du fichier de log avant rotation, en Mo. Défaut : 10. Si /LOGTYPE=file | |
+| /MAXNUMBER | Nombre maximal de fichiers de log. Pour que la rotation des logs soit activée, ces deux paramètres sont nécessaires. Défaut : 3. Si /LOGTYPE=file | |
+| /CUSTOMCHECKFILE | Chemin du fichier de commandes personnalisées, si vous en utilisez. | |
+| /VERSION | Version de centagent.exe | |
Si **/PLUGINSRC=auto** et que le téléchargement échoue, l'installeur passera automatiquement en mode **embedded**.
@@ -519,7 +517,7 @@ Deux types de log sont disponibles :
-### Déployer les plugins Centreon agent sur l'hôte (Linux)
+### Déployer le plugin Centreon sur l'hôte (Linux)
Si vous utilisez des connecteurs Centreon et des contrôles non natifs sous Linux :
@@ -660,8 +658,8 @@ dnf install -y centreon-plugin-Operatingsystems-Linux-Local.noarch
```bash
-dnf install dnf-plugins-core
-dnf install epel-release
+dnf install -y dnf-plugins-core
+dnf install -y epel-release
dnf config-manager --set-enabled crb
cat >/etc/yum.repos.d/centreon-plugins.repo <<'EOF'
@@ -721,8 +719,13 @@ EOF
dnf install -y centreon-plugin-Operatingsystems-Linux-Local.noarch
```
+> NB: sur certaines images docker minimalistes, il peut être nécessaire d'installer ce paquet :
+> ```bash
+> dnf install procps-ng
+> ```
+
-
+
```bash
apt update && apt install lsb-release ca-certificates apt-transport-https software-properties-common wget gnupg2 curl
@@ -738,6 +741,23 @@ apt-get update
apt -y install centreon-plugin-operatingsystems-linux-local
```
+
+
+
+```bash
+apt update && apt install lsb-release ca-certificates apt-transport-https wget gnupg2 curl
+
+wget -O- https://apt-key.centreon.com | gpg --dearmor | tee /etc/apt/trusted.gpg.d/centreon.gpg > /dev/null 2>&1
+echo "deb https://packages.centreon.com/apt-plugins-stable/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/centreon-plugins.list
+apt-get update
+```
+
+2. Installez le plugin :
+
+```bash
+apt -y install centreon-plugin-operatingsystems-linux-local
+```
+
@@ -753,6 +773,18 @@ apt-get update
```bash
apt -y install centreon-plugin-operatingsystems-linux-local
+```
+
+
+
+
+3. Créez le répertoire nécessaire au cache des plugins :
+
+```bash
+mkdir -p /var/lib/centreon/centplugins
+chown centreon-monitoring-agent: /var/lib/centreon/centplugins
+```
+
### Configurer plusieurs instances d'agent sur le même hôte
#### Principe général
diff --git a/i18n/fr/docusaurus-plugin-content-docs-pp/current/integrations/plugin-packs/procedures/operatingsystems-linux-centreon-monitoring-agent.md b/i18n/fr/docusaurus-plugin-content-docs-pp/current/integrations/plugin-packs/procedures/operatingsystems-linux-centreon-monitoring-agent.md
index 69bd3fea2d9a..80135e6ef151 100644
--- a/i18n/fr/docusaurus-plugin-content-docs-pp/current/integrations/plugin-packs/procedures/operatingsystems-linux-centreon-monitoring-agent.md
+++ b/i18n/fr/docusaurus-plugin-content-docs-pp/current/integrations/plugin-packs/procedures/operatingsystems-linux-centreon-monitoring-agent.md
@@ -44,15 +44,15 @@ Le connecteur apporte les modèles de service suivants
-| Alias | Modèle de service | Description | Type de contrôle |
-|:-------|:-----------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------| --- |
-| Cpu | OS-Linux-Cpu-Centreon-Monitoring-Agent-custom | Contrôle du taux d'utilisation CPU de la machine. Ce contrôle pourra remonter la moyenne du taux d'utilisation des CPU ainsi que le taux par CPU pour les CPU multi-coeur | natif |
-| Load | OS-Linux-Load-Centreon-Monitoring-Agent-custom | Contrôle de la charge serveur |non natif |
-| Memory | OS-Linux-Memory-Centreon-Monitoring-Agent-custom | Contrôle du taux d'utilisation de la mémoire vive |non natif |
-| Ntp | OS-Linux-Ntp-Centreon-Monitoring-Agent-custom | Contrôle la synchronisation du système avec un serveur NTP |non natif |
-| Swap | OS-Linux-Swap-Centreon-Monitoring-Agent-custom | Contrôle du taux d'utilisation de la mémoire virtuelle |non natif |
-| Uptime | OS-Linux-Uptime-Centreon-Monitoring-Agent-custom | Durée depuis laquelle le serveur tourne sans interruption |non natif |
-| Custom-Script | OS-Linux-Custom-Script-Centreon-Monitoring-Agent-custom | Contrôle permettant d'exécuter un script personnalisé sur l'hôte supervisé |non natif |
+| Alias | Modèle de service | Description | Type de contrôle |
+|:--------------|:--------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------|
+| Cpu | OS-Linux-Cpu-Centreon-Monitoring-Agent-custom | Contrôle du taux d'utilisation CPU de la machine. Ce contrôle pourra remonter la moyenne du taux d'utilisation des CPU ainsi que le taux par CPU pour les CPU multi-coeur | natif |
+| Load | OS-Linux-Load-Centreon-Monitoring-Agent-custom | Contrôle de la charge serveur | non natif |
+| Memory | OS-Linux-Memory-Centreon-Monitoring-Agent-custom | Contrôle du taux d'utilisation de la mémoire vive | non natif |
+| Ntp | OS-Linux-Ntp-Centreon-Monitoring-Agent-custom | Contrôle la synchronisation du système avec un serveur NTP | non natif |
+| Swap | OS-Linux-Swap-Centreon-Monitoring-Agent-custom | Contrôle du taux d'utilisation de la mémoire virtuelle | non natif |
+| Uptime | OS-Linux-Uptime-Centreon-Monitoring-Agent-custom | Durée depuis laquelle le serveur tourne sans interruption | non natif |
+| Custom-Script | OS-Linux-Custom-Script-Centreon-Monitoring-Agent-custom | Contrôle permettant d'exécuter un script personnalisé sur l'hôte supervisé | non natif |
> Les services listés ci-dessus sont créés automatiquement lorsque le modèle d'hôte **OS-Linux-Centreon-Monitoring-Agent-custom** est utilisé.
@@ -60,24 +60,24 @@ Le connecteur apporte les modèles de service suivants
| Alias | Modèle de service | Description | Découverte | Type de contrôle |
-|:--------------------|:--------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:----------:| --- |
-| Cmd-Generic | OS-Linux-Cmd-Generic-Centreon-Monitoring-Agent-custom | Permet de vérifier le code retour de commandes Linux | | non natif |
-| Connections-Generic | OS-Linux-Connections-Generic-Centreon-Monitoring-Agent-custom | Contrôle les connexions TCP/UDP | | non natif |
-| Cpu-Detailed | OS-Linux-Cpu-Detailed-Centreon-Monitoring-Agent-custom | Contrôle du taux d'utilisation détaillé du CPU de la machine. Ce contrôle pourra remonter la moyenne du taux d'utilisation des CPU ainsi que le taux par CPU pour les CPU multi-coeur | | non natif |
-| Disk-IO | OS-Linux-Disk-IO-Centreon-Monitoring-Agent-custom | Contrôle les compteurs I/O des disques | | non natif |
-| Disks | OS-Linux-Disks-Centreon-Monitoring-Agent-custom | Contrôle du taux d'espace libre disponible des disques. Pour chaque contrôle apparaîtra le point de montage des disques | X | non natif |
-| File-Date-Generic | OS-Linux-File-Date-Generic-Centreon-Monitoring-Agent-custom | Permet de vérifier la date de modification/création/accès/... de fichiers et/ou répertoires | | non natif |
-| File-Size-Generic | OS-Linux-File-Size-Generic-Centreon-Monitoring-Agent-custom | Permet de vérifier la taille de fichiers et/ou répertoires | | non natif |
-| Inodes | OS-Linux-Inodes-Centreon-Monitoring-Agent-custom | Contrôle du taux d'inodes disponibles des disques | | non natif |
-| Is-File-Generic | OS-Linux-Is-File-Generic-Centreon-Monitoring-Agent-custom | Permet de vérifier si le fichier 'xxx' est présent | | non natif |
-| Is-Not-File-Generic | OS-Linux-Is-Not-File-Generic-Centreon-Monitoring-Agent-custom | Permet de vérifier si le fichier 'xxx' n'est pas présent | | non natif |
-| Open-Files | OS-Linux-Open-Files-Centreon-Monitoring-Agent-custom | Permet de vérifier le nombre de modifications/créations/accès/... de fichiers et/ou répertoires | | non natif |
-| Packet-Errors | OS-Linux-Packet-Errors-Centreon-Monitoring-Agent-custom | Contrôle le pourcentage de paquets en erreur/écartés de plusieurs interfaces réseau | | non natif |
-| Pending-Updates | OS-Linux-Pending-Updates-Centreon-Monitoring-Agent-custom | Contrôle le statut des services systemd | | non natif |
-| Process-Generic | OS-Linux-Process-Generic-Centreon-Monitoring-Agent-custom | Contrôle permettant de vérifier des processus Linux | | non natif |
-| Systemd-Journal | OS-Linux-Systemd-Journal-Centreon-Monitoring-Agent-custom | Compte les entrées de journal grâce à la commande `journalctl` | | non natif |
-| Systemd-Sc-Status | OS-Linux-Systemd-Sc-Status-Centreon-Monitoring-Agent-custom | Contrôle le statut des services systemd | | non natif |
-| Traffic | OS-Linux-Traffic-Centreon-Monitoring-Agent-custom | Contrôle de la bande passante des interfaces. Pour chaque contrôle apparaîtra le nom de l'interface | X | non natif |
+|:--------------------|:--------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:----------:|------------------|
+| Cmd-Generic | OS-Linux-Cmd-Generic-Centreon-Monitoring-Agent-custom | Permet de vérifier le code retour de commandes Linux | | non natif |
+| Connections-Generic | OS-Linux-Connections-Generic-Centreon-Monitoring-Agent-custom | Contrôle les connexions TCP/UDP | | non natif |
+| Cpu-Detailed | OS-Linux-Cpu-Detailed-Centreon-Monitoring-Agent-custom | Contrôle du taux d'utilisation détaillé du CPU de la machine. Ce contrôle pourra remonter la moyenne du taux d'utilisation des CPU ainsi que le taux par CPU pour les CPU multi-coeur | | non natif |
+| Disk-IO | OS-Linux-Disk-IO-Centreon-Monitoring-Agent-custom | Contrôle les compteurs I/O des disques | | non natif |
+| Disks | OS-Linux-Disks-Centreon-Monitoring-Agent-custom | Contrôle du taux d'espace libre disponible des disques. Pour chaque contrôle apparaîtra le point de montage des disques | X | non natif |
+| File-Date-Generic | OS-Linux-File-Date-Generic-Centreon-Monitoring-Agent-custom | Permet de vérifier la date de modification/création/accès/... de fichiers et/ou répertoires | | non natif |
+| File-Size-Generic | OS-Linux-File-Size-Generic-Centreon-Monitoring-Agent-custom | Permet de vérifier la taille de fichiers et/ou répertoires | | non natif |
+| Inodes | OS-Linux-Inodes-Centreon-Monitoring-Agent-custom | Contrôle du taux d'inodes disponibles des disques | | non natif |
+| Is-File-Generic | OS-Linux-Is-File-Generic-Centreon-Monitoring-Agent-custom | Permet de vérifier si le fichier 'xxx' est présent | | non natif |
+| Is-Not-File-Generic | OS-Linux-Is-Not-File-Generic-Centreon-Monitoring-Agent-custom | Permet de vérifier si le fichier 'xxx' n'est pas présent | | non natif |
+| Open-Files | OS-Linux-Open-Files-Centreon-Monitoring-Agent-custom | Permet de vérifier le nombre de modifications/créations/accès/... de fichiers et/ou répertoires | | non natif |
+| Packet-Errors | OS-Linux-Packet-Errors-Centreon-Monitoring-Agent-custom | Contrôle le pourcentage de paquets en erreur/écartés de plusieurs interfaces réseau | | non natif |
+| Pending-Updates | OS-Linux-Pending-Updates-Centreon-Monitoring-Agent-custom | Contrôle le statut des services systemd | | non natif |
+| Process-Generic | OS-Linux-Process-Generic-Centreon-Monitoring-Agent-custom | Contrôle permettant de vérifier des processus Linux | | non natif |
+| Systemd-Journal | OS-Linux-Systemd-Journal-Centreon-Monitoring-Agent-custom | Compte les entrées de journal grâce à la commande `journalctl` | | non natif |
+| Systemd-Sc-Status | OS-Linux-Systemd-Sc-Status-Centreon-Monitoring-Agent-custom | Contrôle le statut des services systemd | | non natif |
+| Traffic | OS-Linux-Traffic-Centreon-Monitoring-Agent-custom | Contrôle de la bande passante des interfaces. Pour chaque contrôle apparaîtra le nom de l'interface | X | non natif |
> Les services listés ci-dessus ne sont pas créés automatiquement lorsqu'un modèle d'hôte est appliqué. Pour les utiliser, [créez un service manuellement](/docs/monitoring/basic-objects/services) et appliquez le modèle de service souhaité.
@@ -396,7 +396,7 @@ Si vous êtes sur une version antérieure à la 24.10.6, vous devez créer le co
2. Créez un nouveau connecteur avec les données suivantes :
| Paramètre | Valeur |
-| ------------------------- |-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+|---------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Nom du connecteur | Centreon Monitoring Agent |
| Description du connecteur | Centreon Monitoring Agent |
| Ligne de commande | `opentelemetry --processor=centreon_agent --extractor=attributes --host_path=resource_metrics.resource.attributes.host.name --service_path=resource_metrics.resource.attributes.service.name` |
@@ -580,8 +580,8 @@ Ce connecteur de supervision s'appuie sur une intégration prise en charge par C
| EXCLUDEPEERNAME | Exclude by peer name (can be a regexp) | | |
| FILTERPEERSTATE | Filter peer state (can be a regexp) | .* | |
| EXCLUDEPEERSTATE | Exclude by peer state (can be a regexp) | | |
-| WARNINGOFFSET | Time warning threshold range (in milliseconds), in the format `-n:n` (e.g., `-5:5`). Returns WARNING when the offset is less than -n seconds or greater than n seconds. | | |
-| CRITICALOFFSET | Time critical threshold range (in milliseconds), in the format `-n:n` (e.g., `-5:5`). Returns CRITICAL when the offset is less than -n seconds or greater than n seconds. | | |
+| WARNINGOFFSET | Time warning threshold range (in milliseconds), in the format `-n:n` (e.g., `-5:5`). Returns WARNING when the offset is less than -n seconds or greater than n seconds. | | |
+| CRITICALOFFSET | Time critical threshold range (in milliseconds), in the format `-n:n` (e.g., `-5:5`). Returns CRITICAL when the offset is less than -n seconds or greater than n seconds. | | |
| WARNINGPEERS | Warning threshold minimum amount of NTP-Server | | |
| CRITICALPEERS | Critical threshold minimum amount of NTP-Server | | |
| WARNINGSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{state\}, %\{rawstate\}, %\{type\}, %\{rawtype\}, %\{reach\}, %\{display\} | | |
@@ -1073,20 +1073,20 @@ Les options disponibles pour chaque modèle de services sont listées ci-dessous
-| Option | Description |
-|:-------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| --ntp-mode | Default mode for parsing and command: 'ntpq' (default), 'chronyc' or 'all'. |
-| --filter-name | Filter peer name (can be a regexp). |
-| --filter-state | Filter peer state (can be a regexp). |
-| --warning-peers | Warning threshold minimum amount of NTP-Server |
-| --critical-peers | Critical threshold minimum amount of NTP-Server |
-| --warning-offset | Time warning threshold range (in milliseconds), in the format `-n:n` (e.g., `-5:5`). Returns WARNING when the offset is less than -n seconds or greater than n seconds. |
-| --critical-offset | Time critical threshold range (in milliseconds), in the format `-n:n` (e.g., `-5:5`). Returns CRITICAL when the offset is less than -n seconds or greater than n seconds. |
-| --warning-stratum | Warning threshold. |
-| --critical-stratum | Critical threshold. |
-| --unknown-status | Define the conditions to match for the status to be UNKNOWN. You can use the following variables: %\{state\}, %\{rawstate\}, %\{type\}, %\{rawtype\}, %\{reach\}, %\{display\} |
-| --warning-status | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{state\}, %\{rawstate\}, %\{type\}, %\{rawtype\}, %\{reach\}, %\{display\} |
-| --critical-status | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %\{state\}, %\{rawstate\}, %\{type\}, %\{rawtype\}, %\{reach\}, %\{display\} |
+| Option | Description |
+|:-------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| --ntp-mode | Default mode for parsing and command: 'ntpq' (default), 'chronyc' or 'all'. |
+| --filter-name | Filter peer name (can be a regexp). |
+| --filter-state | Filter peer state (can be a regexp). |
+| --warning-peers | Warning threshold minimum amount of NTP-Server |
+| --critical-peers | Critical threshold minimum amount of NTP-Server |
+| --warning-offset | Time warning threshold range (in milliseconds), in the format `-n:n` (e.g., `-5:5`). Returns WARNING when the offset is less than -n seconds or greater than n seconds. |
+| --critical-offset | Time critical threshold range (in milliseconds), in the format `-n:n` (e.g., `-5:5`). Returns CRITICAL when the offset is less than -n seconds or greater than n seconds. |
+| --warning-stratum | Warning threshold. |
+| --critical-stratum | Critical threshold. |
+| --unknown-status | Define the conditions to match for the status to be UNKNOWN. You can use the following variables: %\{state\}, %\{rawstate\}, %\{type\}, %\{rawtype\}, %\{reach\}, %\{display\} |
+| --warning-status | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{state\}, %\{rawstate\}, %\{type\}, %\{rawtype\}, %\{reach\}, %\{display\} |
+| --critical-status | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %\{state\}, %\{rawstate\}, %\{type\}, %\{rawtype\}, %\{reach\}, %\{display\} |
@@ -1101,29 +1101,29 @@ Les options disponibles pour chaque modèle de services sont listées ci-dessous
-| Option | Description |
-|:-----------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| --memcached | Memcached server to use (only one server). |
-| --redis-server | Redis server to use (only one server). Syntax: address\[:port\] |
-| --redis-attribute | Set Redis Options (--redis-attribute="cnx\_timeout=5"). |
-| --redis-db | Set Redis database index. |
-| --failback-file | Failback on a local file if Redis connection fails. |
-| --memexpiration | Time to keep data in seconds (default: 86400). |
-| --statefile-dir | Define the cache directory (default: '/var/lib/centreon/centplugins'). |
-| --statefile-suffix | Define a suffix to customize the statefile name (default: ''). |
-| --statefile-concat-cwd | If used with the '--statefile-dir' option, the latter's value will be used as a sub-directory of the current working directory. Useful on Windows when the plugin is compiled, as the file system and permissions are different from Linux. |
-| --statefile-format | Define the format used to store the cache. Available formats: 'dumper', 'storable', 'json' (default). |
-| --statefile-key | Define the key to encrypt/decrypt the cache. |
-| --statefile-cipher | Define the cipher algorithm to encrypt the cache (default: 'AES'). |
-| --unknown-status | Define the conditions to match for the status to be UNKNOWN. You can use the following variables: %\{status\}, %\{display\} |
-| --warning-status | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{status\}, %\{display\} |
-| --critical-status | Define the conditions to match for the status to be CRITICAL (default: '%\{status\} ne "RU"'). You can use the following variables: %%\{status\}, %\{display\} |
-| --warning-* | Warning threshold in percent of total packets. Can be: in-error, out-error, in-discard, out-discard |
-| --critical-* | Critical threshold in percent of total packets. Can be: in-error, out-error, in-discard, out-discard |
-| --filter-interface | Filter interface name (regexp can be used). |
-| --exclude-interface | Exclude interface name (regexp can be used). |
-| --filter-state | Filter filesystem type (regexp can be used). |
-| --no-loopback | Don't display loopback interfaces. |
+| Option | Description |
+|:-----------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| --memcached | Memcached server to use (only one server). |
+| --redis-server | Redis server to use (only one server). Syntax: address\[:port\] |
+| --redis-attribute | Set Redis Options (--redis-attribute="cnx\_timeout=5"). |
+| --redis-db | Set Redis database index. |
+| --failback-file | Failback on a local file if Redis connection fails. |
+| --memexpiration | Time to keep data in seconds (default: 86400). |
+| --statefile-dir | Define the cache directory (default: '/var/lib/centreon/centplugins'). |
+| --statefile-suffix | Define a suffix to customize the statefile name (default: ''). |
+| --statefile-concat-cwd | If used with the '--statefile-dir' option, the latter's value will be used as a sub-directory of the current working directory. Useful on Windows when the plugin is compiled, as the file system and permissions are different from Linux. |
+| --statefile-format | Define the format used to store the cache. Available formats: 'dumper', 'storable', 'json' (default). |
+| --statefile-key | Define the key to encrypt/decrypt the cache. |
+| --statefile-cipher | Define the cipher algorithm to encrypt the cache (default: 'AES'). |
+| --unknown-status | Define the conditions to match for the status to be UNKNOWN. You can use the following variables: %\{status\}, %\{display\} |
+| --warning-status | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{status\}, %\{display\} |
+| --critical-status | Define the conditions to match for the status to be CRITICAL (default: '%\{status\} ne "RU"'). You can use the following variables: %%\{status\}, %\{display\} |
+| --warning-* | Warning threshold in percent of total packets. Can be: in-error, out-error, in-discard, out-discard |
+| --critical-* | Critical threshold in percent of total packets. Can be: in-error, out-error, in-discard, out-discard |
+| --filter-interface | Filter interface name (regexp can be used). |
+| --exclude-interface | Exclude interface name (regexp can be used). |
+| --filter-state | Filter filesystem type (regexp can be used). |
+| --no-loopback | Don't display loopback interfaces. |
@@ -1142,55 +1142,55 @@ Les options disponibles pour chaque modèle de services sont listées ci-dessous
-| Option | Description |
-|:-------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| --memcached | Memcached server to use (only one server). |
-| --redis-server | Redis server to use (only one server). Syntax: address\[:port\] |
-| --redis-attribute | Set Redis Options (--redis-attribute="cnx\_timeout=5"). |
-| --redis-db | Set Redis database index. |
-| --failback-file | Failback on a local file if Redis connection fails. |
-| --memexpiration | Time to keep data in seconds (default: 86400). |
-| --statefile-dir | Define the cache directory (default: '/var/lib/centreon/centplugins'). |
-| --statefile-suffix | Define a suffix to customize the statefile name (default: ''). |
-| --statefile-concat-cwd | If used with the '--statefile-dir' option, the latter's value will be used as a sub-directory of the current working directory. Useful on Windows when the plugin is compiled, as the file system and permissions are different from Linux. |
-| --statefile-format | Define the format used to store the cache. Available formats: 'dumper', 'storable', 'json' (default). |
-| --statefile-key | Define the key to encrypt/decrypt the cache. |
-| --statefile-cipher | Define the cipher algorithm to encrypt the cache (default: 'AES'). |
-| --add-cpu | Monitor CPU usage. |
-| --add-memory | Monitor memory usage. It's inaccurate but it provides a trend. |
-| --add-disk-io | Monitor disk I/O. |
-| --add-open-files | Monitor open file usage per process. This functionality requires that the `centreon_linux_sudoers` package be installed on the monitored host and configured in the sudoers file. Please refer to the notice below. |
-| --filter-command | Filter process commands (regexp can be used). |
-| --exclude-command | Exclude process commands (regexp can be used). |
-| --filter-arg | Filter process arguments (regexp can be used). |
-| --exclude-arg | Exclude process arguments (regexp can be used). |
-| --filter-ppid | Filter process ppid (regexp can be used). |
-| --filter-state | Filter process states (regexp can be used). You can use: 'zombie', 'dead', 'paging', 'stopped', 'InterrupibleSleep', 'running', 'UninterrupibleSleep'. |
-| --privileged-script-path | This parameter allows specifying a custom path to the centreon\_plugin\_local\_process.pl script used for monitoring open file usage per process (default: '/usr/lib/centreon/plugins'). |
-| --warning-total | Thresholds. |
-| --critical-total | Thresholds. |
-| --warning-total-memory-usage | Thresholds. |
-| --critical-total-memory-usage | Thresholds. |
-| --warning-total-cpu-utilization | Thresholds. |
-| --critical-total-cpu-utilization | Thresholds. |
-| --warning-total-disks-read | Thresholds. |
-| --critical-total-disks-read | Thresholds. |
-| --warning-total-disks-write | Thresholds. |
-| --critical-total-disks-write | Thresholds. |
-| --warning-time | Thresholds. |
-| --critical-time | Thresholds. |
-| --warning-memory-usage | Thresholds. |
-| --critical-memory-usage | Thresholds. |
-| --warning-cpu-utilization | Thresholds. |
-| --critical-cpu-utilization | Thresholds. |
-| --warning-disks-read | Thresholds. |
-| --critical-disks-read | Thresholds. |
-| --warning-disks-write | Thresholds. |
-| --critical-disks-write | Thresholds. |
-| --warning-open-files | Thresholds. |
-| --critical-open-files | Thresholds. |
-| --warning-open-files-prct | Thresholds in percentage. |
-| --critical-open-files-prct | Thresholds in percentage. |
+| Option | Description |
+|:---------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| --memcached | Memcached server to use (only one server). |
+| --redis-server | Redis server to use (only one server). Syntax: address\[:port\] |
+| --redis-attribute | Set Redis Options (--redis-attribute="cnx\_timeout=5"). |
+| --redis-db | Set Redis database index. |
+| --failback-file | Failback on a local file if Redis connection fails. |
+| --memexpiration | Time to keep data in seconds (default: 86400). |
+| --statefile-dir | Define the cache directory (default: '/var/lib/centreon/centplugins'). |
+| --statefile-suffix | Define a suffix to customize the statefile name (default: ''). |
+| --statefile-concat-cwd | If used with the '--statefile-dir' option, the latter's value will be used as a sub-directory of the current working directory. Useful on Windows when the plugin is compiled, as the file system and permissions are different from Linux. |
+| --statefile-format | Define the format used to store the cache. Available formats: 'dumper', 'storable', 'json' (default). |
+| --statefile-key | Define the key to encrypt/decrypt the cache. |
+| --statefile-cipher | Define the cipher algorithm to encrypt the cache (default: 'AES'). |
+| --add-cpu | Monitor CPU usage. |
+| --add-memory | Monitor memory usage. It's inaccurate but it provides a trend. |
+| --add-disk-io | Monitor disk I/O. |
+| --add-open-files | Monitor open file usage per process. This functionality requires that the `centreon_linux_sudoers` package be installed on the monitored host and configured in the sudoers file. Please refer to the notice below. |
+| --filter-command | Filter process commands (regexp can be used). |
+| --exclude-command | Exclude process commands (regexp can be used). |
+| --filter-arg | Filter process arguments (regexp can be used). |
+| --exclude-arg | Exclude process arguments (regexp can be used). |
+| --filter-ppid | Filter process ppid (regexp can be used). |
+| --filter-state | Filter process states (regexp can be used). You can use: 'zombie', 'dead', 'paging', 'stopped', 'InterrupibleSleep', 'running', 'UninterrupibleSleep'. |
+| --privileged-script-path | This parameter allows specifying a custom path to the centreon\_plugin\_local\_process.pl script used for monitoring open file usage per process (default: '/usr/lib/centreon/plugins'). |
+| --warning-total | Thresholds. |
+| --critical-total | Thresholds. |
+| --warning-total-memory-usage | Thresholds. |
+| --critical-total-memory-usage | Thresholds. |
+| --warning-total-cpu-utilization | Thresholds. |
+| --critical-total-cpu-utilization | Thresholds. |
+| --warning-total-disks-read | Thresholds. |
+| --critical-total-disks-read | Thresholds. |
+| --warning-total-disks-write | Thresholds. |
+| --critical-total-disks-write | Thresholds. |
+| --warning-time | Thresholds. |
+| --critical-time | Thresholds. |
+| --warning-memory-usage | Thresholds. |
+| --critical-memory-usage | Thresholds. |
+| --warning-cpu-utilization | Thresholds. |
+| --critical-cpu-utilization | Thresholds. |
+| --warning-disks-read | Thresholds. |
+| --critical-disks-read | Thresholds. |
+| --warning-disks-write | Thresholds. |
+| --critical-disks-write | Thresholds. |
+| --warning-open-files | Thresholds. |
+| --critical-open-files | Thresholds. |
+| --warning-open-files-prct | Thresholds in percentage. |
+| --critical-open-files-prct | Thresholds in percentage. |
> To monitor open file usage per process, you need to install the `centreon-plugin-Operatingsystems-Linux-sudoers` package on each monitored host.
> This package installs the `centreon_linux_local_process.pl` script and adds the `sudoersCentreonLinuxPlugins` file to the `sudoers` configuration.
@@ -1231,45 +1231,45 @@ Les options disponibles pour chaque modèle de services sont listées ci-dessous
-| Option | Description |
-|:-------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| --filter-name | Filter service name (can be a regexp). |
-| --exclude-name | Exclude service name (can be a regexp). |
-| --warning-* --critical-* | Thresholds. Can be: 'total-running', 'total-dead', 'total-exited', 'total-failed'. |
-| --warning-status | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{display\}, %\{active\}, %\{sub\}, %\{load\}, %\{boot\} Example of statuses for the majority of these variables: %\{active\}: active, inactive %\{sub\}: waiting, plugged, mounted, dead, failed, running, exited, listening, active %\{load\}: loaded, not-found %\{boot\}: enabled, disabled, static, indirect |
-| --critical-status | Define the conditions to match for the status to be CRITICAL (default: '%\{active\} =~ /failed/i'). You can use the following variables: %\{display\}, %\{active\}, %\{sub\}, %\{load\}, %\{boot\} Example of statuses for the majority of these variables: %\{active\}: active, inactive %\{sub\}: waiting, plugged, mounted, dead, failed, running, exited, listening, active %\{load\}: loaded, not-found %\{boot\}: enabled, disabled, static, indirect |
+| Option | Description |
+|:-------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| --filter-name | Filter service name (can be a regexp). |
+| --exclude-name | Exclude service name (can be a regexp). |
+| --warning-* --critical-* | Thresholds. Can be: 'total-running', 'total-dead', 'total-exited', 'total-failed'. |
+| --warning-status | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{display\}, %\{active\}, %\{sub\}, %\{load\}, %\{boot\} Example of statuses for the majority of these variables: %\{active\}: active, inactive %\{sub\}: waiting, plugged, mounted, dead, failed, running, exited, listening, active %\{load\}: loaded, not-found %\{boot\}: enabled, disabled, static, indirect |
+| --critical-status | Define the conditions to match for the status to be CRITICAL (default: '%\{active\} =~ /failed/i'). You can use the following variables: %\{display\}, %\{active\}, %\{sub\}, %\{load\}, %\{boot\} Example of statuses for the majority of these variables: %\{active\}: active, inactive %\{sub\}: waiting, plugged, mounted, dead, failed, running, exited, listening, active %\{load\}: loaded, not-found %\{boot\}: enabled, disabled, static, indirect |
-| Option | Description |
-|:-----------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| --memcached | Memcached server to use (only one server). |
-| --redis-server | Redis server to use (only one server). Syntax: address\[:port\] |
-| --redis-attribute | Set Redis Options (--redis-attribute="cnx\_timeout=5"). |
-| --redis-db | Set Redis database index. |
-| --failback-file | Failback on a local file if Redis connection fails. |
-| --memexpiration | Time to keep data in seconds (default: 86400). |
-| --statefile-dir | Define the cache directory (default: '/var/lib/centreon/centplugins'). |
-| --statefile-suffix | Define a suffix to customize the statefile name (default: ''). |
-| --statefile-concat-cwd | If used with the '--statefile-dir' option, the latter's value will be used as a sub-directory of the current working directory. Useful on Windows when the plugin is compiled, as the file system and permissions are different from Linux. |
-| --statefile-format | Define the format used to store the cache. Available formats: 'dumper', 'storable', 'json' (default). |
-| --statefile-key | Define the key to encrypt/decrypt the cache. |
-| --statefile-cipher | Define the cipher algorithm to encrypt the cache (default: 'AES'). |
-| --warning-in | Warning threshold in percent for 'in' traffic. |
-| --critical-in | Critical threshold in percent for 'in' traffic. |
-| --warning-out | Warning threshold in percent for 'out' traffic. |
-| --critical-out | Critical threshold in percent for 'out' traffic. |
-| --unknown-status | Define the conditions to match for the status to be UNKNOWN (default: ''). You can use the following variables: %\{status\}, %\{display\} |
-| --warning-status | Define the conditions to match for the status to be WARNING (default: ''). You can use the following variables: %\{status\}, %\{display\} |
-| --critical-status | Define the conditions to match for the status to be CRITICAL (default: '%\{status\} ne "RU"'). You can use the following variables: %\{status\}, %\{display\} |
-| --units | Units of thresholds (default: 'b/s') ('%', 'b/s'). Percent canbe used only if --speed is set. |
-| --filter-interface | Filter interface name (regexp can be used). |
-| --exclude-interface | Exclude interface name (regexp can be used). |
-| --filter-state | Filter interfaces type (regexp can be used). |
-| --speed | Set interface speed (in Mb). |
-| --guess-speed | Try to guess speed with commands ethtool and iwconfig. |
-| --no-loopback | Don't display loopback interfaces. |
+| Option | Description |
+|:-----------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| --memcached | Memcached server to use (only one server). |
+| --redis-server | Redis server to use (only one server). Syntax: address\[:port\] |
+| --redis-attribute | Set Redis Options (--redis-attribute="cnx\_timeout=5"). |
+| --redis-db | Set Redis database index. |
+| --failback-file | Failback on a local file if Redis connection fails. |
+| --memexpiration | Time to keep data in seconds (default: 86400). |
+| --statefile-dir | Define the cache directory (default: '/var/lib/centreon/centplugins'). |
+| --statefile-suffix | Define a suffix to customize the statefile name (default: ''). |
+| --statefile-concat-cwd | If used with the '--statefile-dir' option, the latter's value will be used as a sub-directory of the current working directory. Useful on Windows when the plugin is compiled, as the file system and permissions are different from Linux. |
+| --statefile-format | Define the format used to store the cache. Available formats: 'dumper', 'storable', 'json' (default). |
+| --statefile-key | Define the key to encrypt/decrypt the cache. |
+| --statefile-cipher | Define the cipher algorithm to encrypt the cache (default: 'AES'). |
+| --warning-in | Warning threshold in percent for 'in' traffic. |
+| --critical-in | Critical threshold in percent for 'in' traffic. |
+| --warning-out | Warning threshold in percent for 'out' traffic. |
+| --critical-out | Critical threshold in percent for 'out' traffic. |
+| --unknown-status | Define the conditions to match for the status to be UNKNOWN (default: ''). You can use the following variables: %\{status\}, %\{display\} |
+| --warning-status | Define the conditions to match for the status to be WARNING (default: ''). You can use the following variables: %\{status\}, %\{display\} |
+| --critical-status | Define the conditions to match for the status to be CRITICAL (default: '%\{status\} ne "RU"'). You can use the following variables: %\{status\}, %\{display\} |
+| --units | Units of thresholds (default: 'b/s') ('%', 'b/s'). Percent canbe used only if --speed is set. |
+| --filter-interface | Filter interface name (regexp can be used). |
+| --exclude-interface | Exclude interface name (regexp can be used). |
+| --filter-state | Filter interfaces type (regexp can be used). |
+| --speed | Set interface speed (in Mb). |
+| --guess-speed | Try to guess speed with commands ethtool and iwconfig. |
+| --no-loopback | Don't display loopback interfaces. |
diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-24.10/cma/cma-setup.md b/i18n/fr/docusaurus-plugin-content-docs/version-24.10/cma/cma-setup.md
index 81a774d1782a..4ad868da519d 100644
--- a/i18n/fr/docusaurus-plugin-content-docs/version-24.10/cma/cma-setup.md
+++ b/i18n/fr/docusaurus-plugin-content-docs/version-24.10/cma/cma-setup.md
@@ -236,7 +236,7 @@ Installez le dépôt Centreon puis l'agent à l'aide des commandes suivantes :
```shell
dnf install -y dnf-plugins-core
dnf config-manager --add-repo https://packages.centreon.com/rpm-standard/24.10/el8/centreon-24.10.repo
-dnf install centreon-monitoring-agent
+dnf install -y centreon-monitoring-agent
```
@@ -245,7 +245,7 @@ dnf install centreon-monitoring-agent
```shell
dnf install -y dnf-plugins-core
dnf config-manager --add-repo https://packages.centreon.com/rpm-standard/24.10/el9/centreon-24.10.repo
-dnf install compat-openssl11 centreon-monitoring-agent
+dnf install -y compat-openssl11 centreon-monitoring-agent
```
@@ -254,7 +254,7 @@ dnf install compat-openssl11 centreon-monitoring-agent
```shell
dnf install -y dnf-plugins-core
dnf config-manager --add-repo https://packages.centreon.com/rpm-standard/24.10/el10/centreon-24.10.repo
-dnf install compat-openssl11 centreon-monitoring-agent
+dnf install -y centreon-monitoring-agent
```
@@ -266,7 +266,6 @@ dnf install compat-openssl11 centreon-monitoring-agent
apt-get update
apt-get -y install lsb-release gpg wget
echo "deb https://packages.centreon.com/apt-standard-24.10-stable $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/centreon.list
-echo "deb https://packages.centreon.com/apt-plugins-stable/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/centreon-plugins.list
```
2. Importez la clé du dépôt :
@@ -291,7 +290,6 @@ apt install centreon-monitoring-agent
apt-get update
apt-get -y install lsb-release gpg wget
echo "deb https://packages.centreon.com/ubuntu-standard-24.10-stable $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/centreon.list
-echo "deb https://packages.centreon.com/ubuntu-plugins-stable/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/centreon-plugins.list
```
2. Importez la clé du dépôt :
@@ -449,11 +447,11 @@ Pour échapper le caractère **-** dans la valeur d'un argument, celui-ci doit
Les différents arguments sont:
| flag | description |
-| -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+|----------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| --install_cma | Si ce flag est présent, l'agent sera installé |
| --install_plugins | Si ce flag est présent, la dernière version des plugins sera téléchargée et installée |
| --install_embedded_plugins | Utilisez ce flag pour installer les plugins fournis par l'installer (cas d'un hôte n'ayant pas accès à internet) |
-| --hostname | Le nom de l'hôte à superviser tel que vous l'avez saisi dans l'interface Centreon. Ce nom sera la clé de correspondance permettant de remonter les données sur l'hôte Centreon. |
+| --hostname | Le nom de l'hôte à superviser tel que vous l'avez saisi dans l'interface Centreon. Ce nom sera la clé de correspondance permettant de remonter les données sur l'hôte Centreon. |
| --endpoint | Dans le cas le plus courant (l'agent se connecte au collecteur), saisissez l'adresse IP ou le nom DNS suivi du port OpenTelemetry sur lequel écoute le collecteur, sous la forme \:port, par exemple 192.168.45.32:4317. Si vous activez l'option **--reverse** (le collecteur se connecte à l'agent), vous devez choisir l'interface (toutes les interfaces : 0.0.0.0) et le port (généralement 4317) sur lequel l'agent va accepter les connections venant du collecteur. |
| --reverse | Si ce flag est présent, l'agent accepte les connections venant du collecteur |
| --log_type | event_log ou file. Si vous choisissez file, le paramètre log_file est obligatoire |
@@ -461,12 +459,12 @@ Les différents arguments sont:
| --log_file | Chemin du fichier de log |
| --log_max_file_size | Taille maximale du fichier de log avant rotation, en Mo. |
| --log_max_files | Nombre maximal de fichiers de log. Pour que la rotation des logs soit activée, ces deux paramètres sont nécessaires. |
-| --encryption | Mode de chiffrement. Valeurs possibles : \{full;insecure;no\}. |
-| --private_key | Chemin du fichier contenant la clé privée. |
-| --public_cert | Chemin du fichier contenant la clé publique. |
+| --encryption | Mode de chiffrement. Valeurs possibles : \{full;insecure;no\}. |
+| --private_key | Chemin du fichier contenant la clé privée. |
+| --public_cert | Chemin du fichier contenant la clé publique. |
| --ca | Chemin du fichier contenant le certificat de confiance. |
-| --ca_name | Nom commun CA (mode TLS non sécurisé uniquement). |
-| --token | Jeton d'authentification.
+| --ca_name | Nom commun CA (mode TLS non sécurisé uniquement). |
+| --token | Jeton d'authentification. |
Si vous utilisez l'option **--install_plugins** et que le téléchargement échoue, l'installer va installer les plugins fournis par l'installer.
@@ -506,7 +504,7 @@ Deux types de log sont disponibles :
-### Déployer les plugins Centreon agent sur l'hôte (Linux)
+### Déployer le plugin Centreon sur l'hôte (Linux)
Si vous utilisez des connecteurs Centreon et des contrôles non natifs sous Linux :
@@ -648,8 +646,8 @@ dnf install -y centreon-plugin-Operatingsystems-Linux-Local.noarch
```bash
-dnf install dnf-plugins-core
-dnf install epel-release
+dnf install -y dnf-plugins-core
+dnf install -y epel-release
dnf config-manager --set-enabled crb
cat >/etc/yum.repos.d/centreon-plugins.repo <<'EOF'
@@ -709,8 +707,13 @@ EOF
dnf install -y centreon-plugin-Operatingsystems-Linux-Local.noarch
```
+> NB: sur certaines images docker minimalistes, il peut être nécessaire d'installer ce paquet :
+> ```bash
+> dnf install procps-ng
+> ```
+
-
+
```bash
apt update && apt install lsb-release ca-certificates apt-transport-https software-properties-common wget gnupg2 curl
@@ -726,6 +729,23 @@ apt-get update
apt -y install centreon-plugin-operatingsystems-linux-local
```
+
+
+
+```bash
+apt update && apt install lsb-release ca-certificates apt-transport-https wget gnupg2 curl
+
+wget -O- https://apt-key.centreon.com | gpg --dearmor | tee /etc/apt/trusted.gpg.d/centreon.gpg > /dev/null 2>&1
+echo "deb https://packages.centreon.com/apt-plugins-stable/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/centreon-plugins.list
+apt-get update
+```
+
+2. Installez le plugin :
+
+```bash
+apt -y install centreon-plugin-operatingsystems-linux-local
+```
+
@@ -746,6 +766,13 @@ apt -y install centreon-plugin-operatingsystems-linux-local
+3. Créez le répertoire nécessaire au cache des plugins :
+
+```bash
+mkdir -p /var/lib/centreon/centplugins
+chown centreon-monitoring-agent: /var/lib/centreon/centplugins
+```
+
### Mettre à jour une configuration existante
diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-25.10/cma/cma-setup.md b/i18n/fr/docusaurus-plugin-content-docs/version-25.10/cma/cma-setup.md
index f325fc0aa995..ce335f082696 100644
--- a/i18n/fr/docusaurus-plugin-content-docs/version-25.10/cma/cma-setup.md
+++ b/i18n/fr/docusaurus-plugin-content-docs/version-25.10/cma/cma-setup.md
@@ -238,7 +238,7 @@ Installez le dépôt Centreon puis l'agent à l'aide des commandes suivantes :
```shell
dnf install -y dnf-plugins-core
dnf config-manager --add-repo https://packages.centreon.com/rpm-standard/25.10/el8/centreon-25.10.repo
-dnf install centreon-monitoring-agent
+dnf install -y centreon-monitoring-agent
```
@@ -247,7 +247,7 @@ dnf install centreon-monitoring-agent
```shell
dnf install -y dnf-plugins-core
dnf config-manager --add-repo https://packages.centreon.com/rpm-standard/25.10/el9/centreon-25.10.repo
-dnf install compat-openssl11 centreon-monitoring-agent
+dnf install -y compat-openssl11 centreon-monitoring-agent
```
@@ -256,7 +256,7 @@ dnf install compat-openssl11 centreon-monitoring-agent
```shell
dnf install -y dnf-plugins-core
dnf config-manager --add-repo https://packages.centreon.com/rpm-standard/25.10/el10/centreon-25.10.repo
-dnf install compat-openssl11 centreon-monitoring-agent
+dnf install -y centreon-monitoring-agent
```
@@ -268,7 +268,6 @@ dnf install compat-openssl11 centreon-monitoring-agent
apt-get update
apt-get -y install lsb-release gpg wget
echo "deb https://packages.centreon.com/apt-standard/ $(lsb_release -sc)-25.10-stable main" | tee -a /etc/apt/sources.list.d/centreon-25.10-stable.list
-echo "deb https://packages.centreon.com/apt-plugins-stable/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/centreon-plugins.list
```
2. Importez la clé du dépôt :
@@ -293,7 +292,6 @@ apt install centreon-monitoring-agent
apt-get update
apt-get -y install lsb-release gpg wget
echo "deb https://packages.centreon.com/ubuntu-standard/ $(lsb_release -sc)-25.10-stable main" | tee -a /etc/apt/sources.list.d/centreon-25.10-stable.list
-echo "deb https://packages.centreon.com/ubuntu-plugins-stable/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/centreon-plugins.list
```
2. Importez la clé du dépôt :
@@ -442,27 +440,27 @@ centreon-monitoring-agent.exe /VERYSILENT /HELP
Les différents arguments sont:
-| flag | description | obligatoire
-| -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------- |
-|/COMPONENTS| Composants à installer. "agent", "plugins" ou "agent,plugins" |X |
-|/AGENTINSTANCE| Le nom d'instance de l'agent (nom du service). Si non renseigné, un nom par défaut est généré (CentreonMonitoringAgent) | |
-|/HOST | Le nom de l'hôte à superviser tel que vous l'avez saisi dans l'interface Centreon. Ce nom sera la clé de correspondance permettant de remonter les données sur l'hôte Centreon. | X |
-|/ENDPOINT | Dans le cas le plus courant (l'agent se connecte au collecteur), saisissez l'adresse IP ou le nom DNS suivi du port OpenTelemetry sur lequel écoute le collecteur, sous la forme \:port, par exemple 192.168.45.32:4317. Si **/REVERSE=true**, vous devez choisir l'interface (toutes les interfaces : 0.0.0.0) et le port (généralement 4317) sur lequel l'agent va accepter les connections venant du collecteur. | X|
-|/TOKEN| Jeton d'authentification | X |
-|/PLUGINSRC| Source d'installation des plugins Centreon. "auto" : via internet, "embedded" : version locale. Défaut : "auto" ||
-|/REVERSE| Connection initiée par le collecteur. "true" ou "false". Défaut : "false"| |
-|/ENCRYPTION| Mode de chiffrement. "no","full","insecure". Défaut : "no"| |
-|/CERT| Chemin du fichier contenant la clé publique | si ENCRYPTION=full ou insecure, et /REVERSE=true |
-|/KEY| Chemin du fichier contenant la clé privée | si ENCRYPTION=full ou insecure, et /REVERSE=true |
-|/CA| Chemin du fichier contenant le certificat de confiance | |
-|/COMMONNAME| Nom commun CA. Si ENCRYPTION=insecure | |
-|/LOGTYPE| "event-log" ou "file". Défaut : "event-log"| |
-|/LOGFILE| Chemin du fichier de log | si /LOGTYPE=file |
-|/LOGLEVEL| "off","critical","error","warning","info","debug","trace". Défaut : "error"| si /LOGTYPE=file |
-|/MAXFILESIZE| Taille maximale du fichier de log avant rotation, en Mo. Défaut : 10. Si /LOGTYPE=file | |
-|/MAXNUMBER| Nombre maximal de fichiers de log. Pour que la rotation des logs soit activée, ces deux paramètres sont nécessaires. Défaut : 3. Si /LOGTYPE=file | |
-|/CUSTOMCHECKFILE| Chemin du fichier de commandes personnalisées, si vous en utilisez. | |
-|/VERSION| Version de centagent.exe | |
+| flag | description | obligatoire |
+|------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------|
+| /COMPONENTS | Composants à installer. "agent", "plugins" ou "agent,plugins" | X |
+| /AGENTINSTANCE | Le nom d'instance de l'agent (nom du service). Si non renseigné, un nom par défaut est généré (CentreonMonitoringAgent) | |
+| /HOST | Le nom de l'hôte à superviser tel que vous l'avez saisi dans l'interface Centreon. Ce nom sera la clé de correspondance permettant de remonter les données sur l'hôte Centreon. | X |
+| /ENDPOINT | Dans le cas le plus courant (l'agent se connecte au collecteur), saisissez l'adresse IP ou le nom DNS suivi du port OpenTelemetry sur lequel écoute le collecteur, sous la forme \:port, par exemple 192.168.45.32:4317. Si **/REVERSE=true**, vous devez choisir l'interface (toutes les interfaces : 0.0.0.0) et le port (généralement 4317) sur lequel l'agent va accepter les connections venant du collecteur. | X |
+| /TOKEN | Jeton d'authentification | X |
+| /PLUGINSRC | Source d'installation des plugins Centreon. "auto" : via internet, "embedded" : version locale. Défaut : "auto" | |
+| /REVERSE | Connection initiée par le collecteur. "true" ou "false". Défaut : "false" | |
+| /ENCRYPTION | Mode de chiffrement. "no","full","insecure". Défaut : "no" | |
+| /CERT | Chemin du fichier contenant la clé publique | si ENCRYPTION=full ou insecure, et /REVERSE=true |
+| /KEY | Chemin du fichier contenant la clé privée | si ENCRYPTION=full ou insecure, et /REVERSE=true |
+| /CA | Chemin du fichier contenant le certificat de confiance | |
+| /COMMONNAME | Nom commun CA. Si ENCRYPTION=insecure | |
+| /LOGTYPE | "event-log" ou "file". Défaut : "event-log" | |
+| /LOGFILE | Chemin du fichier de log | si /LOGTYPE=file |
+| /LOGLEVEL | "off","critical","error","warning","info","debug","trace". Défaut : "error" | si /LOGTYPE=file |
+| /MAXFILESIZE | Taille maximale du fichier de log avant rotation, en Mo. Défaut : 10. Si /LOGTYPE=file | |
+| /MAXNUMBER | Nombre maximal de fichiers de log. Pour que la rotation des logs soit activée, ces deux paramètres sont nécessaires. Défaut : 3. Si /LOGTYPE=file | |
+| /CUSTOMCHECKFILE | Chemin du fichier de commandes personnalisées, si vous en utilisez. | |
+| /VERSION | Version de centagent.exe | |
Si **/PLUGINSRC=auto** et que le téléchargement échoue, l'installeur passera automatiquement en mode **embedded**.
@@ -518,7 +516,7 @@ Deux types de log sont disponibles :
-### Déployer les plugins Centreon agent sur l'hôte (Linux)
+### Déployer le plugin Centreon sur l'hôte (Linux)
Si vous utilisez des connecteurs Centreon et des contrôles non natifs sous Linux :
@@ -659,8 +657,8 @@ dnf install -y centreon-plugin-Operatingsystems-Linux-Local.noarch
```bash
-dnf install dnf-plugins-core
-dnf install epel-release
+dnf install -y dnf-plugins-core
+dnf install -y epel-release
dnf config-manager --set-enabled crb
cat >/etc/yum.repos.d/centreon-plugins.repo <<'EOF'
@@ -720,8 +718,13 @@ EOF
dnf install -y centreon-plugin-Operatingsystems-Linux-Local.noarch
```
+> NB: sur certaines images docker minimalistes, il peut être nécessaire d'installer ce paquet :
+> ```bash
+> dnf install procps-ng
+> ```
+
-
+
```bash
apt update && apt install lsb-release ca-certificates apt-transport-https software-properties-common wget gnupg2 curl
@@ -737,6 +740,23 @@ apt-get update
apt -y install centreon-plugin-operatingsystems-linux-local
```
+
+
+
+```bash
+apt update && apt install lsb-release ca-certificates apt-transport-https wget gnupg2 curl
+
+wget -O- https://apt-key.centreon.com | gpg --dearmor | tee /etc/apt/trusted.gpg.d/centreon.gpg > /dev/null 2>&1
+echo "deb https://packages.centreon.com/apt-plugins-stable/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/centreon-plugins.list
+apt-get update
+```
+
+2. Installez le plugin :
+
+```bash
+apt -y install centreon-plugin-operatingsystems-linux-local
+```
+
@@ -757,6 +777,13 @@ apt -y install centreon-plugin-operatingsystems-linux-local
+3. Créez le répertoire nécessaire au cache des plugins :
+
+```bash
+mkdir -p /var/lib/centreon/centplugins
+chown centreon-monitoring-agent: /var/lib/centreon/centplugins
+```
+
### Configurer plusieurs instances d'agent sur le même hôte
#### Principe général
diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-26.10/cma/cma-setup.md b/i18n/fr/docusaurus-plugin-content-docs/version-26.10/cma/cma-setup.md
index c29b28a2c364..2ce036a3827f 100644
--- a/i18n/fr/docusaurus-plugin-content-docs/version-26.10/cma/cma-setup.md
+++ b/i18n/fr/docusaurus-plugin-content-docs/version-26.10/cma/cma-setup.md
@@ -237,7 +237,7 @@ Installez le dépôt Centreon puis l'agent à l'aide des commandes suivantes :
```shell
dnf install -y dnf-plugins-core
dnf config-manager --add-repo https://packages.centreon.com/rpm-standard/26.10/el8/centreon-26.10.repo
-dnf install centreon-monitoring-agent
+dnf install -y centreon-monitoring-agent
```
@@ -246,7 +246,7 @@ dnf install centreon-monitoring-agent
```shell
dnf install -y dnf-plugins-core
dnf config-manager --add-repo https://packages.centreon.com/rpm-standard/26.10/el9/centreon-26.10.repo
-dnf install compat-openssl11 centreon-monitoring-agent
+dnf install -y compat-openssl11 centreon-monitoring-agent
```
@@ -255,7 +255,7 @@ dnf install compat-openssl11 centreon-monitoring-agent
```shell
dnf install -y dnf-plugins-core
dnf config-manager --add-repo https://packages.centreon.com/rpm-standard/26.10/el10/centreon-26.10.repo
-dnf install compat-openssl11 centreon-monitoring-agent
+dnf install -y centreon-monitoring-agent
```
@@ -267,7 +267,6 @@ dnf install compat-openssl11 centreon-monitoring-agent
apt-get update
apt-get -y install lsb-release gpg wget
echo "deb https://packages.centreon.com/apt-standard/ $(lsb_release -sc)-26.10-stable main" | tee -a /etc/apt/sources.list.d/centreon-26.10-stable.list
-echo "deb https://packages.centreon.com/apt-plugins-stable/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/centreon-plugins.list
```
2. Importez la clé du dépôt :
@@ -292,7 +291,6 @@ apt install centreon-monitoring-agent
apt-get update
apt-get -y install lsb-release gpg wget
echo "deb https://packages.centreon.com/ubuntu-standard/ $(lsb_release -sc)-26.10-stable main" | tee -a /etc/apt/sources.list.d/centreon-26.10-stable.list
-echo "deb https://packages.centreon.com/ubuntu-plugins-stable/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/centreon-plugins.list
```
2. Importez la clé du dépôt :
@@ -441,27 +439,27 @@ centreon-monitoring-agent.exe /VERYSILENT /HELP
Les différents arguments sont:
-| flag | description | obligatoire
-| -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------- |
-|/COMPONENTS| Composants à installer. "agent", "plugins" ou "agent,plugins" |X |
-|/AGENTINSTANCE| Le nom d'instance de l'agent (nom du service). Si non renseigné, un nom par défaut est généré (CentreonMonitoringAgent) | |
-|/HOST | Le nom de l'hôte à superviser tel que vous l'avez saisi dans l'interface Centreon. Ce nom sera la clé de correspondance permettant de remonter les données sur l'hôte Centreon. | X |
-|/ENDPOINT | Dans le cas le plus courant (l'agent se connecte au collecteur), saisissez l'adresse IP ou le nom DNS suivi du port OpenTelemetry sur lequel écoute le collecteur, sous la forme \:port, par exemple 192.168.45.32:4317. Si **/REVERSE=true**, vous devez choisir l'interface (toutes les interfaces : 0.0.0.0) et le port (généralement 4317) sur lequel l'agent va accepter les connections venant du collecteur. | X|
-|/TOKEN| Jeton d'authentification | X |
-|/PLUGINSRC| Source d'installation des plugins Centreon. "auto" : via internet, "embedded" : version locale. Défaut : "auto" ||
-|/REVERSE| Connection initiée par le collecteur. "true" ou "false". Défaut : "false"| |
-|/ENCRYPTION| Mode de chiffrement. "no","full","insecure". Défaut : "no"| |
-|/CERT| Chemin du fichier contenant la clé publique | si ENCRYPTION=full ou insecure, et /REVERSE=true |
-|/KEY| Chemin du fichier contenant la clé privée | si ENCRYPTION=full ou insecure, et /REVERSE=true |
-|/CA| Chemin du fichier contenant le certificat de confiance | |
-|/COMMONNAME| Nom commun CA. Si ENCRYPTION=insecure | |
-|/LOGTYPE| "event-log" ou "file". Défaut : "event-log"| |
-|/LOGFILE| Chemin du fichier de log | si /LOGTYPE=file |
-|/LOGLEVEL| "off","critical","error","warning","info","debug","trace". Défaut : "error"| si /LOGTYPE=file |
-|/MAXFILESIZE| Taille maximale du fichier de log avant rotation, en Mo. Défaut : 10. Si /LOGTYPE=file | |
-|/MAXNUMBER| Nombre maximal de fichiers de log. Pour que la rotation des logs soit activée, ces deux paramètres sont nécessaires. Défaut : 3. Si /LOGTYPE=file | |
-|/CUSTOMCHECKFILE| Chemin du fichier de commandes personnalisées, si vous en utilisez. | |
-|/VERSION| Version de centagent.exe | |
+| flag | description | obligatoire |
+|------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------|
+| /COMPONENTS | Composants à installer. "agent", "plugins" ou "agent,plugins" | X |
+| /AGENTINSTANCE | Le nom d'instance de l'agent (nom du service). Si non renseigné, un nom par défaut est généré (CentreonMonitoringAgent) | |
+| /HOST | Le nom de l'hôte à superviser tel que vous l'avez saisi dans l'interface Centreon. Ce nom sera la clé de correspondance permettant de remonter les données sur l'hôte Centreon. | X |
+| /ENDPOINT | Dans le cas le plus courant (l'agent se connecte au collecteur), saisissez l'adresse IP ou le nom DNS suivi du port OpenTelemetry sur lequel écoute le collecteur, sous la forme \:port, par exemple 192.168.45.32:4317. Si **/REVERSE=true**, vous devez choisir l'interface (toutes les interfaces : 0.0.0.0) et le port (généralement 4317) sur lequel l'agent va accepter les connections venant du collecteur. | X |
+| /TOKEN | Jeton d'authentification | X |
+| /PLUGINSRC | Source d'installation des plugins Centreon. "auto" : via internet, "embedded" : version locale. Défaut : "auto" | |
+| /REVERSE | Connection initiée par le collecteur. "true" ou "false". Défaut : "false" | |
+| /ENCRYPTION | Mode de chiffrement. "no","full","insecure". Défaut : "no" | |
+| /CERT | Chemin du fichier contenant la clé publique | si ENCRYPTION=full ou insecure, et /REVERSE=true |
+| /KEY | Chemin du fichier contenant la clé privée | si ENCRYPTION=full ou insecure, et /REVERSE=true |
+| /CA | Chemin du fichier contenant le certificat de confiance | |
+| /COMMONNAME | Nom commun CA. Si ENCRYPTION=insecure | |
+| /LOGTYPE | "event-log" ou "file". Défaut : "event-log" | |
+| /LOGFILE | Chemin du fichier de log | si /LOGTYPE=file |
+| /LOGLEVEL | "off","critical","error","warning","info","debug","trace". Défaut : "error" | si /LOGTYPE=file |
+| /MAXFILESIZE | Taille maximale du fichier de log avant rotation, en Mo. Défaut : 10. Si /LOGTYPE=file | |
+| /MAXNUMBER | Nombre maximal de fichiers de log. Pour que la rotation des logs soit activée, ces deux paramètres sont nécessaires. Défaut : 3. Si /LOGTYPE=file | |
+| /CUSTOMCHECKFILE | Chemin du fichier de commandes personnalisées, si vous en utilisez. | |
+| /VERSION | Version de centagent.exe | |
Si **/PLUGINSRC=auto** et que le téléchargement échoue, l'installeur passera automatiquement en mode **embedded**.
@@ -517,7 +515,7 @@ Deux types de log sont disponibles :
-### Déployer les plugins Centreon agent sur l'hôte (Linux)
+### Déployer le plugin Centreon sur l'hôte (Linux)
Si vous utilisez des connecteurs Centreon et des contrôles non natifs sous Linux :
@@ -658,8 +656,8 @@ dnf install -y centreon-plugin-Operatingsystems-Linux-Local.noarch
```bash
-dnf install dnf-plugins-core
-dnf install epel-release
+dnf install -y dnf-plugins-core
+dnf install -y epel-release
dnf config-manager --set-enabled crb
cat >/etc/yum.repos.d/centreon-plugins.repo <<'EOF'
@@ -719,8 +717,13 @@ EOF
dnf install -y centreon-plugin-Operatingsystems-Linux-Local.noarch
```
+> NB: sur certaines images docker minimalistes, il peut être nécessaire d'installer ce paquet :
+> ```bash
+> dnf install procps-ng
+> ```
+
-
+
```bash
apt update && apt install lsb-release ca-certificates apt-transport-https software-properties-common wget gnupg2 curl
@@ -736,6 +739,23 @@ apt-get update
apt -y install centreon-plugin-operatingsystems-linux-local
```
+
+
+
+```bash
+apt update && apt install lsb-release ca-certificates apt-transport-https wget gnupg2 curl
+
+wget -O- https://apt-key.centreon.com | gpg --dearmor | tee /etc/apt/trusted.gpg.d/centreon.gpg > /dev/null 2>&1
+echo "deb https://packages.centreon.com/apt-plugins-stable/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/centreon-plugins.list
+apt-get update
+```
+
+2. Installez le plugin :
+
+```bash
+apt -y install centreon-plugin-operatingsystems-linux-local
+```
+
@@ -756,6 +776,13 @@ apt -y install centreon-plugin-operatingsystems-linux-local
+3. Créez le répertoire nécessaire au cache des plugins :
+
+```bash
+mkdir -p /var/lib/centreon/centplugins
+chown centreon-monitoring-agent: /var/lib/centreon/centplugins
+```
+
### Configurer plusieurs instances d'agent sur le même hôte
#### Principe général
diff --git a/pp/integrations/plugin-packs/procedures/operatingsystems-linux-centreon-monitoring-agent.md b/pp/integrations/plugin-packs/procedures/operatingsystems-linux-centreon-monitoring-agent.md
index db32efe97b39..9cd19422aad2 100644
--- a/pp/integrations/plugin-packs/procedures/operatingsystems-linux-centreon-monitoring-agent.md
+++ b/pp/integrations/plugin-packs/procedures/operatingsystems-linux-centreon-monitoring-agent.md
@@ -43,15 +43,15 @@ The connector brings the following service templates (sorted by the host templat
-| Service Alias | Service Template | Service Description | Type of check |
-|:--------------|:---------------------------------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------| --- |
-| Cpu | OS-Linux-Cpu-Centreon-Monitoring-Agent-custom | Check the rate of utilization of CPUs for the machine. This check can give the average CPU utilization rate and the rate per CPU for multi-core CPUs | native |
-| Load | OS-Linux-Load-Centreon-Monitoring-Agent-custom | Check the server load average | non-native |
-| Memory | OS-Linux-Memory-Centreon-Monitoring-Agent-custom | Check the rate of the utilization of memory | non-native |
-| Ntp | OS-Linux-Ntp-Centreon-Monitoring-Agent-custom | Check system time synchronization with an NTP server | non-native |
-| Swap | OS-Linux-Swap-Centreon-Monitoring-Agent-custom | Check virtual memory usage | non-native |
-| Uptime | OS-Linux-Uptime-Centreon-Monitoring-Agent-custom | Time since the server has been working and available | non-native |
-| Custom-Script | OS-Linux-Custom-Script-Centreon-Monitoring-Agent-custom | Check using a custom script | non-native |
+| Service Alias | Service Template | Service Description | Type of check |
+|:--------------|:--------------------------------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------|---------------|
+| Cpu | OS-Linux-Cpu-Centreon-Monitoring-Agent-custom | Check the rate of utilization of CPUs for the machine. This check can give the average CPU utilization rate and the rate per CPU for multi-core CPUs | native |
+| Load | OS-Linux-Load-Centreon-Monitoring-Agent-custom | Check the server load average | non-native |
+| Memory | OS-Linux-Memory-Centreon-Monitoring-Agent-custom | Check the rate of the utilization of memory | non-native |
+| Ntp | OS-Linux-Ntp-Centreon-Monitoring-Agent-custom | Check system time synchronization with an NTP server | non-native |
+| Swap | OS-Linux-Swap-Centreon-Monitoring-Agent-custom | Check virtual memory usage | non-native |
+| Uptime | OS-Linux-Uptime-Centreon-Monitoring-Agent-custom | Time since the server has been working and available | non-native |
+| Custom-Script | OS-Linux-Custom-Script-Centreon-Monitoring-Agent-custom | Check using a custom script | non-native |
> The services listed above are created automatically when the **OS-Linux-Centreon-Monitoring-Agent-custom** host template is used.
@@ -60,24 +60,24 @@ The connector brings the following service templates (sorted by the host templat
| Service Alias | Service Template | Service Description | Discovery | Type of check |
-|:--------------------|:--------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------|:---------:| --- |
-| Cmd-Generic | OS-Linux-Cmd-Generic-Centreon-Monitoring-Agent-custom | Check exit code for Linux commands | | non-native |
-| Connections-Generic | OS-Linux-Connections-Generic-Centreon-Monitoring-Agent-custom | Check TCP/UDP connections | | non-native |
-| Cpu-Detailed | OS-Linux-Cpu-Detailed-Centreon-Monitoring-Agent-custom | Check the detailed rate of utilization of CPUs for the machine. This check can give the average CPU utilization rate and the rate per CPU for multi-core CPUs | | non-native |
-| Disk-IO | OS-Linux-Disk-IO-Centreon-Monitoring-Agent-custom | Check I/O counters of disks | | non-native |
-| Disks | OS-Linux-Disks-Centreon-Monitoring-Agent-custom | Check the rate of free space on disks. For each check the mount point of disks will appear | X | non-native |
-| File-Date-Generic | OS-Linux-File-Date-Generic-Centreon-Monitoring-Agent-custom | Check file or/and directory modification/creation/access times | | non-native |
-| File-Size-Generic | OS-Linux-File-Size-Generic-Centreon-Monitoring-Agent-custom | Check file or/and directory sizes | | non-native |
-| Inodes | OS-Linux-Inodes-Centreon-Monitoring-Agent-custom | Check the rate of free inodes on disks | | non-native |
-| Is-File-Generic | OS-Linux-Is-File-Generic-Centreon-Monitoring-Agent-custom | Check if file 'xxx' is present | | non-native |
-| Is-Not-File-Generic | OS-Linux-Is-Not-File-Generic-Centreon-Monitoring-Agent-custom | Check if file 'xxx' is not present | | non-native |
-| Open-Files | OS-Linux-Open-Files-Centreon-Monitoring-Agent-custom | Check file or/and directory modification/creation/access times | | non-native |
-| Packet-Errors | OS-Linux-Packet-Errors-Centreon-Monitoring-Agent-custom | Check packets in error/discarded from multiple network interfaces | | non-native |
-| Pending-Updates | OS-Linux-Pending-Updates-Centreon-Monitoring-Agent-custom | Check systemd services status | | non-native |
-| Process-Generic | OS-Linux-Process-Generic-Centreon-Monitoring-Agent-custom | Check Linux processes | | non-native |
-| Systemd-Journal | OS-Linux-Systemd-Journal-Centreon-Monitoring-Agent-custom | Count journal entries using the `journalctl` command. | | non-native |
-| Systemd-Sc-Status | OS-Linux-Systemd-Sc-Status-Centreon-Monitoring-Agent-custom | Check systemd services status | | non-native |
-| Traffic | OS-Linux-Traffic-Centreon-Monitoring-Agent-custom | Check the bandwidth of interfaces. | X | non-native |
+|:--------------------|:--------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------|:---------:|---------------|
+| Cmd-Generic | OS-Linux-Cmd-Generic-Centreon-Monitoring-Agent-custom | Check exit code for Linux commands | | non-native |
+| Connections-Generic | OS-Linux-Connections-Generic-Centreon-Monitoring-Agent-custom | Check TCP/UDP connections | | non-native |
+| Cpu-Detailed | OS-Linux-Cpu-Detailed-Centreon-Monitoring-Agent-custom | Check the detailed rate of utilization of CPUs for the machine. This check can give the average CPU utilization rate and the rate per CPU for multi-core CPUs | | non-native |
+| Disk-IO | OS-Linux-Disk-IO-Centreon-Monitoring-Agent-custom | Check I/O counters of disks | | non-native |
+| Disks | OS-Linux-Disks-Centreon-Monitoring-Agent-custom | Check the rate of free space on disks. For each check the mount point of disks will appear | X | non-native |
+| File-Date-Generic | OS-Linux-File-Date-Generic-Centreon-Monitoring-Agent-custom | Check file or/and directory modification/creation/access times | | non-native |
+| File-Size-Generic | OS-Linux-File-Size-Generic-Centreon-Monitoring-Agent-custom | Check file or/and directory sizes | | non-native |
+| Inodes | OS-Linux-Inodes-Centreon-Monitoring-Agent-custom | Check the rate of free inodes on disks | | non-native |
+| Is-File-Generic | OS-Linux-Is-File-Generic-Centreon-Monitoring-Agent-custom | Check if file 'xxx' is present | | non-native |
+| Is-Not-File-Generic | OS-Linux-Is-Not-File-Generic-Centreon-Monitoring-Agent-custom | Check if file 'xxx' is not present | | non-native |
+| Open-Files | OS-Linux-Open-Files-Centreon-Monitoring-Agent-custom | Check file or/and directory modification/creation/access times | | non-native |
+| Packet-Errors | OS-Linux-Packet-Errors-Centreon-Monitoring-Agent-custom | Check packets in error/discarded from multiple network interfaces | | non-native |
+| Pending-Updates | OS-Linux-Pending-Updates-Centreon-Monitoring-Agent-custom | Check systemd services status | | non-native |
+| Process-Generic | OS-Linux-Process-Generic-Centreon-Monitoring-Agent-custom | Check Linux processes | | non-native |
+| Systemd-Journal | OS-Linux-Systemd-Journal-Centreon-Monitoring-Agent-custom | Count journal entries using the `journalctl` command. | | non-native |
+| Systemd-Sc-Status | OS-Linux-Systemd-Sc-Status-Centreon-Monitoring-Agent-custom | Check systemd services status | | non-native |
+| Traffic | OS-Linux-Traffic-Centreon-Monitoring-Agent-custom | Check the bandwidth of interfaces. | X | non-native |
> The services listed above are not created automatically when a host template is applied. To use them, [create a service manually](/docs/monitoring/basic-objects/services), then apply the service template you want.
@@ -581,12 +581,12 @@ This monitoring connector relies on an integration supported by Centreon Engine
| EXCLUDEPEERNAME | Exclude by peer name (can be a regexp) | | |
| FILTERPEERSTATE | Filter peer state (can be a regexp) | .* | |
| EXCLUDEPEERSTATE | Exclude by peer state (can be a regexp) | | |
-| WARNINGOFFSET | Time warning threshold range (in milliseconds), in the format `-n:n` (e.g., `-5:5`). Returns WARNING when the offset is less than -n seconds or greater than n seconds. | | |
-| CRITICALOFFSET | Time critical threshold range (in milliseconds), in the format `-n:n` (e.g., `-5:5`). Returns CRITICAL when the offset is less than -n seconds or greater than n seconds. | | |
+| WARNINGOFFSET | Time warning threshold range (in milliseconds), in the format `-n:n` (e.g., `-5:5`). Returns WARNING when the offset is less than -n seconds or greater than n seconds. | | |
+| CRITICALOFFSET | Time critical threshold range (in milliseconds), in the format `-n:n` (e.g., `-5:5`). Returns CRITICAL when the offset is less than -n seconds or greater than n seconds. | | |
| WARNINGPEERS | Warning threshold minimum amount of NTP-Server | | |
| CRITICALPEERS | Critical threshold minimum amount of NTP-Server | | |
| WARNINGSTATUS | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{state\}, %\{rawstate\}, %\{type\}, %\{rawtype\}, %\{reach\}, %\{display\} | | |
-| CRITICALSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %\{state\}, %\{rawstate\}, %\{type\}, %\{rawtype\}, %\{reach\}, %\{display\} | | |
+| CRITICALSTATUS | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %\{state\}, %\{rawstate\}, %\{type\}, %\{rawtype\}, %\{reach\}, %\{display\} | | |
| WARNINGSTRATUM | Warning threshold | | |
| CRITICALSTRATUM | Critical threshold | | |
| EXTRAOPTIONS | Any extra option you may want to add to the command (a --verbose flag for example). All options are listed [here](#available-options). | --use-new-perfdata --verbose | |
@@ -787,40 +787,40 @@ sudo -u centreon-monitoring-agent /usr/lib/centreon/plugins/centreon_linux_local
The plugin brings the following modes:
-| Mode | Linked service template |
-|:----------------------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------------|
-| check-plugin [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/checkplugin.pm)] | Not used in this Monitoring Connector |
+| Mode | Linked service template |
+|:----------------------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| check-plugin [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/checkplugin.pm)] | Not used in this Monitoring Connector |
| cmd-return [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/cmdreturn.pm)] | OS-Linux-Cmd-Generic-Centreon-Monitoring-Agent-custom
OS-Linux-Is-File-Generic-Centreon-Monitoring-Agent-custom
OS-Linux-Is-Not-File-Generic-Centreon-Monitoring-Agent-custom |
-| connections [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/connections.pm)] | OS-Linux-Connections-Generic-Centreon-Monitoring-Agent-custom |
-| cpu [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/cpu.pm)] | OS-Linux-Cpu-Centreon-Monitoring-Agent-custom |
-| cpu-detailed [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/cpudetailed.pm)] | OS-Linux-Cpu-Detailed-Centreon-Monitoring-Agent-custom |
-| discovery-snmp [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/discoverysnmp.pm)] | Not used in this Monitoring Connector |
-| discovery-snmpv3 [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/discoverysnmpv3.pm)] | Not used in this Monitoring Connector |
-| diskio [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/diskio.pm)] | OS-Linux-Disk-IO-Centreon-Monitoring-Agent-custom |
-| files-date [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/filesdate.pm)] | OS-Linux-File-Date-Generic-Centreon-Monitoring-Agent-custom |
-| files-size [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/filessize.pm)] | OS-Linux-File-Size-Generic-Centreon-Monitoring-Agent-custom |
-| inodes [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/inodes.pm)] | OS-Linux-Inodes-Centreon-Monitoring-Agent-custom |
-| list-interfaces [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/listinterfaces.pm)] | Used for service discovery |
-| list-partitions [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/listpartitions.pm)] | Not used in this Monitoring Connector |
-| list-storages [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/liststorages.pm)] | Used for service discovery |
-| list-systemdservices [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/listsystemdservices.pm)] | Not used in this Monitoring Connector |
-| load [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/loadaverage.pm)] | OS-Linux-Load-Centreon-Monitoring-Agent-custom |
-| lvm [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/lvm.pm)] | Not used in this Monitoring Connector |
-| memory [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/memory.pm)] | OS-Linux-Memory-Centreon-Monitoring-Agent-custom |
-| mountpoint [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/mountpoint.pm)] | Not used in this Monitoring Connector |
-| ntp [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/ntp.pm)] | OS-Linux-Ntp-Centreon-Monitoring-Agent-custom |
-| open-files [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/openfiles.pm)] | OS-Linux-Open-Files-Centreon-Monitoring-Agent-custom |
-| packet-errors [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/packeterrors.pm)] | OS-Linux-Packet-Errors-Centreon-Monitoring-Agent-custom |
-| paging [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/paging.pm)] | Not used in this Monitoring Connector |
-| pending-updates [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/pendingupdates.pm)] | OS-Linux-Pending-Updates-Centreon-Monitoring-Agent-custom |
-| process [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/process.pm)] | OS-Linux-Process-Generic-Centreon-Monitoring-Agent-custom |
-| quota [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/quota.pm)] | Not used in this Monitoring Connector |
-| storage [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/storage.pm)] | OS-Linux-Disks-Centreon-Monitoring-Agent-custom |
-| swap [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/swap.pm)] | OS-Linux-Swap-Centreon-Monitoring-Agent-custom |
-| systemd-journal [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/systemdjournal.pm)] | OS-Linux-Systemd-Journal-Centreon-Monitoring-Agent-custom |
-| systemd-sc-status [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/systemdscstatus.pm)] | OS-Linux-Systemd-Sc-Status-Centreon-Monitoring-Agent-custom |
-| traffic [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/traffic.pm)] | OS-Linux-Traffic-Centreon-Monitoring-Agent-custom |
-| uptime [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/uptime.pm)] | OS-Linux-Uptime-Centreon-Monitoring-Agent-custom |
+| connections [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/connections.pm)] | OS-Linux-Connections-Generic-Centreon-Monitoring-Agent-custom |
+| cpu [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/cpu.pm)] | OS-Linux-Cpu-Centreon-Monitoring-Agent-custom |
+| cpu-detailed [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/cpudetailed.pm)] | OS-Linux-Cpu-Detailed-Centreon-Monitoring-Agent-custom |
+| discovery-snmp [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/discoverysnmp.pm)] | Not used in this Monitoring Connector |
+| discovery-snmpv3 [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/discoverysnmpv3.pm)] | Not used in this Monitoring Connector |
+| diskio [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/diskio.pm)] | OS-Linux-Disk-IO-Centreon-Monitoring-Agent-custom |
+| files-date [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/filesdate.pm)] | OS-Linux-File-Date-Generic-Centreon-Monitoring-Agent-custom |
+| files-size [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/filessize.pm)] | OS-Linux-File-Size-Generic-Centreon-Monitoring-Agent-custom |
+| inodes [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/inodes.pm)] | OS-Linux-Inodes-Centreon-Monitoring-Agent-custom |
+| list-interfaces [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/listinterfaces.pm)] | Used for service discovery |
+| list-partitions [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/listpartitions.pm)] | Not used in this Monitoring Connector |
+| list-storages [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/liststorages.pm)] | Used for service discovery |
+| list-systemdservices [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/listsystemdservices.pm)] | Not used in this Monitoring Connector |
+| load [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/loadaverage.pm)] | OS-Linux-Load-Centreon-Monitoring-Agent-custom |
+| lvm [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/lvm.pm)] | Not used in this Monitoring Connector |
+| memory [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/memory.pm)] | OS-Linux-Memory-Centreon-Monitoring-Agent-custom |
+| mountpoint [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/mountpoint.pm)] | Not used in this Monitoring Connector |
+| ntp [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/ntp.pm)] | OS-Linux-Ntp-Centreon-Monitoring-Agent-custom |
+| open-files [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/openfiles.pm)] | OS-Linux-Open-Files-Centreon-Monitoring-Agent-custom |
+| packet-errors [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/packeterrors.pm)] | OS-Linux-Packet-Errors-Centreon-Monitoring-Agent-custom |
+| paging [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/paging.pm)] | Not used in this Monitoring Connector |
+| pending-updates [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/pendingupdates.pm)] | OS-Linux-Pending-Updates-Centreon-Monitoring-Agent-custom |
+| process [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/process.pm)] | OS-Linux-Process-Generic-Centreon-Monitoring-Agent-custom |
+| quota [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/quota.pm)] | Not used in this Monitoring Connector |
+| storage [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/storage.pm)] | OS-Linux-Disks-Centreon-Monitoring-Agent-custom |
+| swap [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/swap.pm)] | OS-Linux-Swap-Centreon-Monitoring-Agent-custom |
+| systemd-journal [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/systemdjournal.pm)] | OS-Linux-Systemd-Journal-Centreon-Monitoring-Agent-custom |
+| systemd-sc-status [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/systemdscstatus.pm)] | OS-Linux-Systemd-Sc-Status-Centreon-Monitoring-Agent-custom |
+| traffic [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/traffic.pm)] | OS-Linux-Traffic-Centreon-Monitoring-Agent-custom |
+| uptime [[code](https://github.com/centreon/centreon-plugins/blob/develop/src/os/linux/local/mode/uptime.pm)] | OS-Linux-Uptime-Centreon-Monitoring-Agent-custom |
### Available options
@@ -1072,20 +1072,20 @@ All available options for each service template are listed below:
-| Option | Description |
-|:-------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| --ntp-mode | Default mode for parsing and command: 'ntpq' (default), 'chronyc' or 'all'. |
-| --filter-name | Filter peer name (can be a regexp). |
-| --filter-state | Filter peer state (can be a regexp). |
-| --warning-peers | Warning threshold minimum amount of NTP-Server |
-| --critical-peers | Critical threshold minimum amount of NTP-Server |
-| --warning-offset | Time warning threshold range (in milliseconds), in the format `-n:n` (e.g., `-5:5`). Returns WARNING when the offset is less than -n seconds or greater than n seconds. |
-| --critical-offset | Time critical threshold range (in milliseconds), in the format `-n:n` (e.g., `-5:5`). Returns CRITICAL when the offset is less than -n seconds or greater than n seconds. |
-| --warning-stratum | Warning threshold. |
-| --critical-stratum | Critical threshold. |
-| --unknown-status | Define the conditions to match for the status to be UNKNOWN. You can use the following variables: %\{state\}, %\{rawstate\}, %\{type\}, %\{rawtype\}, %\{reach\}, %\{display\} |
-| --warning-status | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{state\}, %\{rawstate\}, %\{type\}, %\{rawtype\}, %\{reach\}, %\{display\} |
-| --critical-status | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %\{state\}, %\{rawstate\}, %\{type\}, %\{rawtype\}, %\{reach\}, %\{display\} |
+| Option | Description |
+|:-------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| --ntp-mode | Default mode for parsing and command: 'ntpq' (default), 'chronyc' or 'all'. |
+| --filter-name | Filter peer name (can be a regexp). |
+| --filter-state | Filter peer state (can be a regexp). |
+| --warning-peers | Warning threshold minimum amount of NTP-Server |
+| --critical-peers | Critical threshold minimum amount of NTP-Server |
+| --warning-offset | Time warning threshold range (in milliseconds), in the format `-n:n` (e.g., `-5:5`). Returns WARNING when the offset is less than -n seconds or greater than n seconds. |
+| --critical-offset | Time critical threshold range (in milliseconds), in the format `-n:n` (e.g., `-5:5`). Returns CRITICAL when the offset is less than -n seconds or greater than n seconds. |
+| --warning-stratum | Warning threshold. |
+| --critical-stratum | Critical threshold. |
+| --unknown-status | Define the conditions to match for the status to be UNKNOWN. You can use the following variables: %\{state\}, %\{rawstate\}, %\{type\}, %\{rawtype\}, %\{reach\}, %\{display\} |
+| --warning-status | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{state\}, %\{rawstate\}, %\{type\}, %\{rawtype\}, %\{reach\}, %\{display\} |
+| --critical-status | Define the conditions to match for the status to be CRITICAL. You can use the following variables: %\{state\}, %\{rawstate\}, %\{type\}, %\{rawtype\}, %\{reach\}, %\{display\} |
@@ -1100,29 +1100,29 @@ All available options for each service template are listed below:
-| Option | Description |
-|:-----------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| --memcached | Memcached server to use (only one server). |
-| --redis-server | Redis server to use (only one server). Syntax: address\[:port\] |
-| --redis-attribute | Set Redis Options (--redis-attribute="cnx\_timeout=5"). |
-| --redis-db | Set Redis database index. |
-| --failback-file | Failback on a local file if Redis connection fails. |
-| --memexpiration | Time to keep data in seconds (default: 86400). |
-| --statefile-dir | Define the cache directory (default: '/var/lib/centreon/centplugins'). |
-| --statefile-suffix | Define a suffix to customize the statefile name (default: ''). |
-| --statefile-concat-cwd | If used with the '--statefile-dir' option, the latter's value will be used as a sub-directory of the current working directory. Useful on Windows when the plugin is compiled, as the file system and permissions are different from Linux. |
-| --statefile-format | Define the format used to store the cache. Available formats: 'dumper', 'storable', 'json' (default). |
-| --statefile-key | Define the key to encrypt/decrypt the cache. |
-| --statefile-cipher | Define the cipher algorithm to encrypt the cache (default: 'AES'). |
-| --unknown-status | Define the conditions to match for the status to be UNKNOWN. You can use the following variables: %\{status\}, %\{display\} |
-| --warning-status | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{status\}, %\{display\} |
-| --critical-status | Define the conditions to match for the status to be CRITICAL (default: '%\{status\} ne "RU"'). You can use the following variables: %%\{status\}, %\{display\} |
-| --warning-* | Warning threshold in percent of total packets. Can be: in-error, out-error, in-discard, out-discard |
-| --critical-* | Critical threshold in percent of total packets. Can be: in-error, out-error, in-discard, out-discard |
-| --filter-interface | Filter interface name (regexp can be used). |
-| --exclude-interface | Exclude interface name (regexp can be used). |
-| --filter-state | Filter filesystem type (regexp can be used). |
-| --no-loopback | Don't display loopback interfaces. |
+| Option | Description |
+|:-----------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| --memcached | Memcached server to use (only one server). |
+| --redis-server | Redis server to use (only one server). Syntax: address\[:port\] |
+| --redis-attribute | Set Redis Options (--redis-attribute="cnx\_timeout=5"). |
+| --redis-db | Set Redis database index. |
+| --failback-file | Failback on a local file if Redis connection fails. |
+| --memexpiration | Time to keep data in seconds (default: 86400). |
+| --statefile-dir | Define the cache directory (default: '/var/lib/centreon/centplugins'). |
+| --statefile-suffix | Define a suffix to customize the statefile name (default: ''). |
+| --statefile-concat-cwd | If used with the '--statefile-dir' option, the latter's value will be used as a sub-directory of the current working directory. Useful on Windows when the plugin is compiled, as the file system and permissions are different from Linux. |
+| --statefile-format | Define the format used to store the cache. Available formats: 'dumper', 'storable', 'json' (default). |
+| --statefile-key | Define the key to encrypt/decrypt the cache. |
+| --statefile-cipher | Define the cipher algorithm to encrypt the cache (default: 'AES'). |
+| --unknown-status | Define the conditions to match for the status to be UNKNOWN. You can use the following variables: %\{status\}, %\{display\} |
+| --warning-status | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{status\}, %\{display\} |
+| --critical-status | Define the conditions to match for the status to be CRITICAL (default: '%\{status\} ne "RU"'). You can use the following variables: %%\{status\}, %\{display\} |
+| --warning-* | Warning threshold in percent of total packets. Can be: in-error, out-error, in-discard, out-discard |
+| --critical-* | Critical threshold in percent of total packets. Can be: in-error, out-error, in-discard, out-discard |
+| --filter-interface | Filter interface name (regexp can be used). |
+| --exclude-interface | Exclude interface name (regexp can be used). |
+| --filter-state | Filter filesystem type (regexp can be used). |
+| --no-loopback | Don't display loopback interfaces. |
@@ -1141,55 +1141,55 @@ All available options for each service template are listed below:
-| Option | Description |
-|:-------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| --memcached | Memcached server to use (only one server). |
-| --redis-server | Redis server to use (only one server). Syntax: address\[:port\] |
-| --redis-attribute | Set Redis Options (--redis-attribute="cnx\_timeout=5"). |
-| --redis-db | Set Redis database index. |
-| --failback-file | Failback on a local file if Redis connection fails. |
-| --memexpiration | Time to keep data in seconds (default: 86400). |
-| --statefile-dir | Define the cache directory (default: '/var/lib/centreon/centplugins'). |
-| --statefile-suffix | Define a suffix to customize the statefile name (default: ''). |
-| --statefile-concat-cwd | If used with the '--statefile-dir' option, the latter's value will be used as a sub-directory of the current working directory. Useful on Windows when the plugin is compiled, as the file system and permissions are different from Linux. |
-| --statefile-format | Define the format used to store the cache. Available formats: 'dumper', 'storable', 'json' (default). |
-| --statefile-key | Define the key to encrypt/decrypt the cache. |
-| --statefile-cipher | Define the cipher algorithm to encrypt the cache (default: 'AES'). |
-| --add-cpu | Monitor CPU usage. |
-| --add-memory | Monitor memory usage. It's inaccurate but it provides a trend. |
-| --add-disk-io | Monitor disk I/O. |
-| --add-open-files | Monitor open file usage per process. This functionality requires that the `centreon_linux_sudoers` package be installed on the monitored host and configured in the sudoers file. Please refer to the notice below. |
-| --filter-command | Filter process commands (regexp can be used). |
-| --exclude-command | Exclude process commands (regexp can be used). |
-| --filter-arg | Filter process arguments (regexp can be used). |
-| --exclude-arg | Exclude process arguments (regexp can be used). |
-| --filter-ppid | Filter process ppid (regexp can be used). |
-| --filter-state | Filter process states (regexp can be used). You can use: 'zombie', 'dead', 'paging', 'stopped', 'InterrupibleSleep', 'running', 'UninterrupibleSleep'. |
-| --privileged-script-path | This parameter allows specifying a custom path to the centreon\_plugin\_local\_process.pl script used for monitoring open file usage per process (default: '/usr/lib/centreon/plugins'). |
-| --warning-total | Thresholds. |
-| --critical-total | Thresholds. |
-| --warning-total-memory-usage | Thresholds. |
-| --critical-total-memory-usage | Thresholds. |
-| --warning-total-cpu-utilization | Thresholds. |
-| --critical-total-cpu-utilization | Thresholds. |
-| --warning-total-disks-read | Thresholds. |
-| --critical-total-disks-read | Thresholds. |
-| --warning-total-disks-write | Thresholds. |
-| --critical-total-disks-write | Thresholds. |
-| --warning-time | Thresholds. |
-| --critical-time | Thresholds. |
-| --warning-memory-usage | Thresholds. |
-| --critical-memory-usage | Thresholds. |
-| --warning-cpu-utilization | Thresholds. |
-| --critical-cpu-utilization | Thresholds. |
-| --warning-disks-read | Thresholds. |
-| --critical-disks-read | Thresholds. |
-| --warning-disks-write | Thresholds. |
-| --critical-disks-write | Thresholds. |
-| --warning-open-files | Thresholds. |
-| --critical-open-files | Thresholds. |
-| --warning-open-files-prct | Thresholds in percentage. |
-| --critical-open-files-prct | Thresholds in percentage. |
+| Option | Description |
+|:---------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| --memcached | Memcached server to use (only one server). |
+| --redis-server | Redis server to use (only one server). Syntax: address\[:port\] |
+| --redis-attribute | Set Redis Options (--redis-attribute="cnx\_timeout=5"). |
+| --redis-db | Set Redis database index. |
+| --failback-file | Failback on a local file if Redis connection fails. |
+| --memexpiration | Time to keep data in seconds (default: 86400). |
+| --statefile-dir | Define the cache directory (default: '/var/lib/centreon/centplugins'). |
+| --statefile-suffix | Define a suffix to customize the statefile name (default: ''). |
+| --statefile-concat-cwd | If used with the '--statefile-dir' option, the latter's value will be used as a sub-directory of the current working directory. Useful on Windows when the plugin is compiled, as the file system and permissions are different from Linux. |
+| --statefile-format | Define the format used to store the cache. Available formats: 'dumper', 'storable', 'json' (default). |
+| --statefile-key | Define the key to encrypt/decrypt the cache. |
+| --statefile-cipher | Define the cipher algorithm to encrypt the cache (default: 'AES'). |
+| --add-cpu | Monitor CPU usage. |
+| --add-memory | Monitor memory usage. It's inaccurate but it provides a trend. |
+| --add-disk-io | Monitor disk I/O. |
+| --add-open-files | Monitor open file usage per process. This functionality requires that the `centreon_linux_sudoers` package be installed on the monitored host and configured in the sudoers file. Please refer to the notice below. |
+| --filter-command | Filter process commands (regexp can be used). |
+| --exclude-command | Exclude process commands (regexp can be used). |
+| --filter-arg | Filter process arguments (regexp can be used). |
+| --exclude-arg | Exclude process arguments (regexp can be used). |
+| --filter-ppid | Filter process ppid (regexp can be used). |
+| --filter-state | Filter process states (regexp can be used). You can use: 'zombie', 'dead', 'paging', 'stopped', 'InterrupibleSleep', 'running', 'UninterrupibleSleep'. |
+| --privileged-script-path | This parameter allows specifying a custom path to the centreon\_plugin\_local\_process.pl script used for monitoring open file usage per process (default: '/usr/lib/centreon/plugins'). |
+| --warning-total | Thresholds. |
+| --critical-total | Thresholds. |
+| --warning-total-memory-usage | Thresholds. |
+| --critical-total-memory-usage | Thresholds. |
+| --warning-total-cpu-utilization | Thresholds. |
+| --critical-total-cpu-utilization | Thresholds. |
+| --warning-total-disks-read | Thresholds. |
+| --critical-total-disks-read | Thresholds. |
+| --warning-total-disks-write | Thresholds. |
+| --critical-total-disks-write | Thresholds. |
+| --warning-time | Thresholds. |
+| --critical-time | Thresholds. |
+| --warning-memory-usage | Thresholds. |
+| --critical-memory-usage | Thresholds. |
+| --warning-cpu-utilization | Thresholds. |
+| --critical-cpu-utilization | Thresholds. |
+| --warning-disks-read | Thresholds. |
+| --critical-disks-read | Thresholds. |
+| --warning-disks-write | Thresholds. |
+| --critical-disks-write | Thresholds. |
+| --warning-open-files | Thresholds. |
+| --critical-open-files | Thresholds. |
+| --warning-open-files-prct | Thresholds in percentage. |
+| --critical-open-files-prct | Thresholds in percentage. |
> To monitor open file usage per process, you need to install the `centreon-plugin-Operatingsystems-Linux-sudoers` package on each monitored host.
> This package installs the `centreon_linux_local_process.pl` script and adds the `sudoersCentreonLinuxPlugins` file to the `sudoers` configuration.
@@ -1230,45 +1230,45 @@ All available options for each service template are listed below:
-| Option | Description |
-|:-------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| --filter-name | Filter service name (can be a regexp). |
-| --exclude-name | Exclude service name (can be a regexp). |
-| --warning-* --critical-* | Thresholds. Can be: 'total-running', 'total-dead', 'total-exited', 'total-failed'. |
-| --warning-status | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{display\}, %\{active\}, %\{sub\}, %\{load\}, %\{boot\} Example of statuses for the majority of these variables: %\{active\}: active, inactive %\{sub\}: waiting, plugged, mounted, dead, failed, running, exited, listening, active %\{load\}: loaded, not-found %\{boot\}: enabled, disabled, static, indirect |
-| --critical-status | Define the conditions to match for the status to be CRITICAL (default: '%\{active\} =~ /failed/i'). You can use the following variables: %\{display\}, %\{active\}, %\{sub\}, %\{load\}, %\{boot\} Example of statuses for the majority of these variables: %\{active\}: active, inactive %\{sub\}: waiting, plugged, mounted, dead, failed, running, exited, listening, active %\{load\}: loaded, not-found %\{boot\}: enabled, disabled, static, indirect |
+| Option | Description |
+|:-------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| --filter-name | Filter service name (can be a regexp). |
+| --exclude-name | Exclude service name (can be a regexp). |
+| --warning-* --critical-* | Thresholds. Can be: 'total-running', 'total-dead', 'total-exited', 'total-failed'. |
+| --warning-status | Define the conditions to match for the status to be WARNING. You can use the following variables: %\{display\}, %\{active\}, %\{sub\}, %\{load\}, %\{boot\} Example of statuses for the majority of these variables: %\{active\}: active, inactive %\{sub\}: waiting, plugged, mounted, dead, failed, running, exited, listening, active %\{load\}: loaded, not-found %\{boot\}: enabled, disabled, static, indirect |
+| --critical-status | Define the conditions to match for the status to be CRITICAL (default: '%\{active\} =~ /failed/i'). You can use the following variables: %\{display\}, %\{active\}, %\{sub\}, %\{load\}, %\{boot\} Example of statuses for the majority of these variables: %\{active\}: active, inactive %\{sub\}: waiting, plugged, mounted, dead, failed, running, exited, listening, active %\{load\}: loaded, not-found %\{boot\}: enabled, disabled, static, indirect |
-| Option | Description |
-|:-----------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| --memcached | Memcached server to use (only one server). |
-| --redis-server | Redis server to use (only one server). Syntax: address\[:port\] |
-| --redis-attribute | Set Redis Options (--redis-attribute="cnx\_timeout=5"). |
-| --redis-db | Set Redis database index. |
-| --failback-file | Failback on a local file if Redis connection fails. |
-| --memexpiration | Time to keep data in seconds (default: 86400). |
-| --statefile-dir | Define the cache directory (default: '/var/lib/centreon/centplugins'). |
-| --statefile-suffix | Define a suffix to customize the statefile name (default: ''). |
-| --statefile-concat-cwd | If used with the '--statefile-dir' option, the latter's value will be used as a sub-directory of the current working directory. Useful on Windows when the plugin is compiled, as the file system and permissions are different from Linux. |
-| --statefile-format | Define the format used to store the cache. Available formats: 'dumper', 'storable', 'json' (default). |
-| --statefile-key | Define the key to encrypt/decrypt the cache. |
-| --statefile-cipher | Define the cipher algorithm to encrypt the cache (default: 'AES'). |
-| --warning-in | Warning threshold in percent for 'in' traffic. |
-| --critical-in | Critical threshold in percent for 'in' traffic. |
-| --warning-out | Warning threshold in percent for 'out' traffic. |
-| --critical-out | Critical threshold in percent for 'out' traffic. |
-| --unknown-status | Define the conditions to match for the status to be UNKNOWN (default: ''). You can use the following variables: %\{status\}, %\{display\} |
-| --warning-status | Define the conditions to match for the status to be WARNING (default: ''). You can use the following variables: %\{status\}, %\{display\} |
-| --critical-status | Define the conditions to match for the status to be CRITICAL (default: '%\{status\} ne "RU"'). You can use the following variables: %\{status\}, %\{display\} |
-| --units | Units of thresholds (default: 'b/s') ('%', 'b/s'). Percent canbe used only if --speed is set. |
-| --filter-interface | Filter interface name (regexp can be used). |
-| --exclude-interface | Exclude interface name (regexp can be used). |
-| --filter-state | Filter interfaces type (regexp can be used). |
-| --speed | Set interface speed (in Mb). |
-| --guess-speed | Try to guess speed with commands ethtool and iwconfig. |
-| --no-loopback | Don't display loopback interfaces. |
+| Option | Description |
+|:-----------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| --memcached | Memcached server to use (only one server). |
+| --redis-server | Redis server to use (only one server). Syntax: address\[:port\] |
+| --redis-attribute | Set Redis Options (--redis-attribute="cnx\_timeout=5"). |
+| --redis-db | Set Redis database index. |
+| --failback-file | Failback on a local file if Redis connection fails. |
+| --memexpiration | Time to keep data in seconds (default: 86400). |
+| --statefile-dir | Define the cache directory (default: '/var/lib/centreon/centplugins'). |
+| --statefile-suffix | Define a suffix to customize the statefile name (default: ''). |
+| --statefile-concat-cwd | If used with the '--statefile-dir' option, the latter's value will be used as a sub-directory of the current working directory. Useful on Windows when the plugin is compiled, as the file system and permissions are different from Linux. |
+| --statefile-format | Define the format used to store the cache. Available formats: 'dumper', 'storable', 'json' (default). |
+| --statefile-key | Define the key to encrypt/decrypt the cache. |
+| --statefile-cipher | Define the cipher algorithm to encrypt the cache (default: 'AES'). |
+| --warning-in | Warning threshold in percent for 'in' traffic. |
+| --critical-in | Critical threshold in percent for 'in' traffic. |
+| --warning-out | Warning threshold in percent for 'out' traffic. |
+| --critical-out | Critical threshold in percent for 'out' traffic. |
+| --unknown-status | Define the conditions to match for the status to be UNKNOWN (default: ''). You can use the following variables: %\{status\}, %\{display\} |
+| --warning-status | Define the conditions to match for the status to be WARNING (default: ''). You can use the following variables: %\{status\}, %\{display\} |
+| --critical-status | Define the conditions to match for the status to be CRITICAL (default: '%\{status\} ne "RU"'). You can use the following variables: %\{status\}, %\{display\} |
+| --units | Units of thresholds (default: 'b/s') ('%', 'b/s'). Percent canbe used only if --speed is set. |
+| --filter-interface | Filter interface name (regexp can be used). |
+| --exclude-interface | Exclude interface name (regexp can be used). |
+| --filter-state | Filter interfaces type (regexp can be used). |
+| --speed | Set interface speed (in Mb). |
+| --guess-speed | Try to guess speed with commands ethtool and iwconfig. |
+| --no-loopback | Don't display loopback interfaces. |
diff --git a/versioned_docs/version-24.10/cma/cma-setup.md b/versioned_docs/version-24.10/cma/cma-setup.md
index f55bb955226b..24a48319a1f7 100644
--- a/versioned_docs/version-24.10/cma/cma-setup.md
+++ b/versioned_docs/version-24.10/cma/cma-setup.md
@@ -267,7 +267,6 @@ dnf install compat-openssl11 centreon-monitoring-agent
apt-get update
apt-get -y install lsb-release gpg wget
echo "deb https://packages.centreon.com/apt-standard-24.10-stable $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/centreon.list
-echo "deb https://packages.centreon.com/apt-plugins-stable/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/centreon-plugins.list
```
2. Import the repository key:
@@ -292,7 +291,6 @@ apt install centreon-monitoring-agent
apt-get update
apt-get -y install lsb-release gpg wget
echo "deb https://packages.centreon.com/ubuntu-standard-24.10-stable $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/centreon.list
-echo "deb https://packages.centreon.com/ubuntu-plugins-stable/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/centreon-plugins.list
```
2. Import the repository key:
@@ -448,11 +446,11 @@ To escape the **-** character in an argument value, it must be preceded by **--%
Available parameters are :
| flag | description |
-| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+|----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| --install_cma | Set this flag if you want to install the Centreon Monitoring Agent |
| --install_plugins | Set this flag if you want to download and install the latest version of Centreon plugins |
| --install_embedded_plugins | Set this flag if you want to install Centreon plugins embedded in the installer (case of a host that cannot access the internet) |
-| --hostname | The name of the host as defined in the Centreon interface. This name will be the matching key used to retrieve data on the Centreon host. |
+| --hostname | The name of the host as defined in the Centreon interface. This name will be the matching key used to retrieve data on the Centreon host. |
| --endpoint | IP address of DNS name of the poller the agent will connect to. In case of Poller-initiated connection mode, it is the interface and port on which the agent will accept connections from the poller. 0.0.0.0 means all interfaces. The format is (IP or DNS name):(port) |
| --reverse | Add this flag for Poller-initiated connection mode. |
| --log_type | event_log or file. In case of logging in a file, log_file param is mandatory |
@@ -460,11 +458,11 @@ Available parameters are :
| --log_file | log files path. |
| --log_max_file_size | max file in Mo before rotate. |
| --log_max_files | max number of log files before delete. For the rotation of logs to be active, it is necessary that both parameters 'Max File Size' and 'Max number of files' are set. |
-| --encryption | Encryption mode. Possible values: \{full;insecure;no\}. |
-| --private_key | Private key file path. |
-| --public_cert | Public certificate file path. |
+| --encryption | Encryption mode. Possible values: \{full;insecure;no\}. |
+| --private_key | Private key file path. |
+| --public_cert | Public certificate file path. |
| --ca | Trusted CA's certificate file path. |
-| --ca_name | Expected TLS certificate common name (CN). Only for Insecure TLS mode. |
+| --ca_name | Expected TLS certificate common name (CN). Only for Insecure TLS mode. |
| --token | Authentication token.
If you use the **--install_plugins** option but the download of the plugins fails, the installer will install the plugins embedded in the installer.
@@ -506,7 +504,7 @@ You can configure two kinds of log output:
-### Deploy the Centreon agent plugins on the host (Linux)
+### Deploy the Centreon plugin on the host (Linux)
If you are using Centreon connectors and non-native controls on Linux:
@@ -649,8 +647,8 @@ dnf install -y centreon-plugin-Operatingsystems-Linux-Local.noarch
```bash
-dnf install dnf-plugins-core
-dnf install epel-release
+dnf install -y dnf-plugins-core
+dnf install -y epel-release
dnf config-manager --set-enabled crb
cat >/etc/yum.repos.d/centreon-plugins.repo <<'EOF'
@@ -710,8 +708,13 @@ EOF
dnf install -y centreon-plugin-Operatingsystems-Linux-Local.noarch
```
+> NB: on some minimal docker images, it may be necessary to install this package:
+> ```bash
+> dnf install procps-ng
+> ```
+
-
+
```bash
apt update && apt install lsb-release ca-certificates apt-transport-https software-properties-common wget gnupg2 curl
@@ -727,6 +730,23 @@ apt-get update
apt -y install centreon-plugin-operatingsystems-linux-local
```
+
+
+
+```bash
+apt update && apt install lsb-release ca-certificates apt-transport-https wget gnupg2 curl
+
+wget -O- https://apt-key.centreon.com | gpg --dearmor | tee /etc/apt/trusted.gpg.d/centreon.gpg > /dev/null 2>&1
+echo "deb https://packages.centreon.com/apt-plugins-stable/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/centreon-plugins.list
+apt-get update
+```
+
+2. Install the plugin:
+
+```bash
+apt -y install centreon-plugin-operatingsystems-linux-local
+```
+
@@ -747,6 +767,13 @@ apt -y install centreon-plugin-operatingsystems-linux-local
+3. Create the directory needed for the plugins cache:
+
+```bash
+mkdir -p /var/lib/centreon/centplugins
+chown centreon-monitoring-agent: /var/lib/centreon/centplugins
+```
+
### Updating an existing configuration
diff --git a/versioned_docs/version-25.10/cma/cma-setup.md b/versioned_docs/version-25.10/cma/cma-setup.md
index 2bb5d59ed748..3c916662c2ed 100644
--- a/versioned_docs/version-25.10/cma/cma-setup.md
+++ b/versioned_docs/version-25.10/cma/cma-setup.md
@@ -267,7 +267,6 @@ dnf install compat-openssl11 centreon-monitoring-agent
apt-get update
apt-get -y install lsb-release gpg wget
echo "deb https://packages.centreon.com/apt-standard/ $(lsb_release -sc)-25.10-stable main" | tee -a /etc/apt/sources.list.d/centreon-25.10-stable.list
-echo "deb https://packages.centreon.com/apt-plugins-stable/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/centreon-plugins.list
```
2. Import the repository key:
@@ -292,7 +291,6 @@ apt install centreon-monitoring-agent
apt-get update
apt-get -y install lsb-release gpg wget
echo "deb https://packages.centreon.com/ubuntu-standard/ $(lsb_release -sc)-25.10-stable main" | tee -a /etc/apt/sources.list.d/centreon-25.10-stable.list
-echo "deb https://packages.centreon.com/ubuntu-plugins-stable/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/centreon-plugins.list
```
2. Import the repository key:
@@ -442,28 +440,28 @@ centreon-monitoring-agent.exe /VERYSILENT /HELP
Available parameters are :
-| flag | description | mandatory
-| -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------- |
-|/COMPONENTS| Components to install. "agent", "plugins" or "agent,plugins" |X |
-|/AGENTINSTANCE| Agent instance name (service name). If omitted, the installer auto-generates a name (e.g., CentreonMonitoringAgent) | |
-|/HOST | The name of the host as defined in the Centreon interface. This name will be the matching key used to retrieve data on the Centreon host. | X |
-|/ENDPOINT | IP address of DNS name of the poller the agent will connect to. In case of Poller-initiated connection mode (/REVERSE=true), it is the interface and port on which the agent will accept connections from the poller. 0.0.0.0 means all interfaces. The format is (IP or DNS name):(port) , you must choose the interface (all interfaces: 0.0.0.0) and the port (usually 4317) on which the agent will accept connections from the poller.
-| X|
-|/TOKEN| Authentication token | X |
-|/PLUGINSRC| Source of installation for Centreon plugins. "auto": via the internet, "embedded": local version. Default: "auto" ||
-|/REVERSE| Connection initiated by the poller. "true" or "false". Default: "false"| |
-|/ENCRYPTION| Encryption mode. "no", "full", "insecure". Default: "no"| |
-|/CERT| Path to the file containing the public key | if ENCRYPTION=full or insecure, and /REVERSE=true |
-|/KEY| Path to the file containing the private key | if ENCRYPTION=full or insecure, and /REVERSE=true |
-|/CA| Path to the file containing the trusted certificate | |
-|/COMMONNAME| CA common name. If ENCRYPTION=insecure | |
-|/LOGTYPE| "event-log" or "file". Default: "event-log"| |
-|/LOGFILE| Path to the log file | if /LOGTYPE=file |
-|/LOGLEVEL| "off","critical","error","warning","info","debug","trace". Default: "error"| if /LOGTYPE=file |
-|/MAXFILESIZE| Maximum size of the log file before rotation, in MB. Default: 10. If /LOGTYPE=file | |
-|/MAXNUMBER| Maximum number of log files. Both of these parameters are required for log rotation to be enabled. Default: 3. If /LOGTYPE=file | |
-|/CUSTOMCHECKFILE| Path to custom commands file, if you have one. | |
-|/VERSION| Version of centagent.exe | |
+| flag | description | mandatory |
+|------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------|
+| /COMPONENTS | Components to install. "agent", "plugins" or "agent,plugins" | X |
+| /AGENTINSTANCE | Agent instance name (service name). If omitted, the installer auto-generates a name (e.g., CentreonMonitoringAgent) | |
+| /HOST | The name of the host as defined in the Centreon interface. This name will be the matching key used to retrieve data on the Centreon host. | X |
+| /ENDPOINT | IP address of DNS name of the poller the agent will connect to. In case of Poller-initiated connection mode (/REVERSE=true), it is the interface and port on which the agent will accept connections from the poller. 0.0.0.0 means all interfaces. The format is (IP or DNS name):(port) , you must choose the interface (all interfaces: 0.0.0.0) and the port (usually 4317) on which the agent will accept connections from the poller. | |
+| X | | |
+| /TOKEN | Authentication token | X |
+| /PLUGINSRC | Source of installation for Centreon plugins. "auto": via the internet, "embedded": local version. Default: "auto" | |
+| /REVERSE | Connection initiated by the poller. "true" or "false". Default: "false" | |
+| /ENCRYPTION | Encryption mode. "no", "full", "insecure". Default: "no" | |
+| /CERT | Path to the file containing the public key | if ENCRYPTION=full or insecure, and /REVERSE=true |
+| /KEY | Path to the file containing the private key | if ENCRYPTION=full or insecure, and /REVERSE=true |
+| /CA | Path to the file containing the trusted certificate | |
+| /COMMONNAME | CA common name. If ENCRYPTION=insecure | |
+| /LOGTYPE | "event-log" or "file". Default: "event-log" | |
+| /LOGFILE | Path to the log file | if /LOGTYPE=file |
+| /LOGLEVEL | "off","critical","error","warning","info","debug","trace". Default: "error" | if /LOGTYPE=file |
+| /MAXFILESIZE | Maximum size of the log file before rotation, in MB. Default: 10. If /LOGTYPE=file | |
+| /MAXNUMBER | Maximum number of log files. Both of these parameters are required for log rotation to be enabled. Default: 3. If /LOGTYPE=file | |
+| /CUSTOMCHECKFILE | Path to custom commands file, if you have one. | |
+| /VERSION | Version of centagent.exe | |
If **/PLUGINSRC=auto** and the download fails, the installer will automatically switch to **embedded** mode.
@@ -520,7 +518,7 @@ You can configure two kinds of log output:
-### Deploy the Centreon agent plugins on the host (Linux)
+### Deploy the Centreon plugin on the host (Linux)
If you are using Centreon connectors and non-native controls on Linux:
@@ -662,8 +660,8 @@ dnf install -y centreon-plugin-Operatingsystems-Linux-Local.noarch
```bash
-dnf install dnf-plugins-core
-dnf install epel-release
+dnf install -y dnf-plugins-core
+dnf install -y epel-release
dnf config-manager --set-enabled crb
cat >/etc/yum.repos.d/centreon-plugins.repo <<'EOF'
@@ -723,8 +721,13 @@ EOF
dnf install -y centreon-plugin-Operatingsystems-Linux-Local.noarch
```
+> NB: on some minimal docker images, it may be necessary to install this package:
+> ```bash
+> dnf install procps-ng
+> ```
+
-
+
```bash
apt update && apt install lsb-release ca-certificates apt-transport-https software-properties-common wget gnupg2 curl
@@ -740,6 +743,23 @@ apt-get update
apt -y install centreon-plugin-operatingsystems-linux-local
```
+
+
+
+```bash
+apt update && apt install lsb-release ca-certificates apt-transport-https wget gnupg2 curl
+
+wget -O- https://apt-key.centreon.com | gpg --dearmor | tee /etc/apt/trusted.gpg.d/centreon.gpg > /dev/null 2>&1
+echo "deb https://packages.centreon.com/apt-plugins-stable/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/centreon-plugins.list
+apt-get update
+```
+
+2. Install the plugin:
+
+```bash
+apt -y install centreon-plugin-operatingsystems-linux-local
+```
+
@@ -760,6 +780,13 @@ apt -y install centreon-plugin-operatingsystems-linux-local
+3. Create the directory needed for the plugins cache:
+
+```bash
+mkdir -p /var/lib/centreon/centplugins
+chown centreon-monitoring-agent: /var/lib/centreon/centplugins
+```
+
### Configuring multiple agent instances on the same host
#### General principle
diff --git a/versioned_docs/version-26.10/cma/cma-setup.md b/versioned_docs/version-26.10/cma/cma-setup.md
index e383cb1d5ac5..c0a811d9cf30 100644
--- a/versioned_docs/version-26.10/cma/cma-setup.md
+++ b/versioned_docs/version-26.10/cma/cma-setup.md
@@ -267,7 +267,6 @@ dnf install compat-openssl11 centreon-monitoring-agent
apt-get update
apt-get -y install lsb-release gpg wget
echo "deb https://packages.centreon.com/apt-standard/ $(lsb_release -sc)-26.10-stable main" | tee -a /etc/apt/sources.list.d/centreon-26.10-stable.list
-echo "deb https://packages.centreon.com/apt-plugins-stable/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/centreon-plugins.list
```
2. Import the repository key:
@@ -292,7 +291,6 @@ apt install centreon-monitoring-agent
apt-get update
apt-get -y install lsb-release gpg wget
echo "deb https://packages.centreon.com/ubuntu-standard/ $(lsb_release -sc)-26.10-stable main" | tee -a /etc/apt/sources.list.d/centreon-26.10-stable.list
-echo "deb https://packages.centreon.com/ubuntu-plugins-stable/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/centreon-plugins.list
```
2. Import the repository key:
@@ -442,28 +440,28 @@ centreon-monitoring-agent.exe /VERYSILENT /HELP
Available parameters are :
-| flag | description | mandatory
-| -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------- |
-|/COMPONENTS| Components to install. "agent", "plugins" or "agent,plugins" |X |
-|/AGENTINSTANCE| Agent instance name (service name). If omitted, the installer auto-generates a name (e.g., CentreonMonitoringAgent) | |
-|/HOST | The name of the host as defined in the Centreon interface. This name will be the matching key used to retrieve data on the Centreon host. | X |
-|/ENDPOINT | IP address of DNS name of the poller the agent will connect to. In case of Poller-initiated connection mode (/REVERSE=true), it is the interface and port on which the agent will accept connections from the poller. 0.0.0.0 means all interfaces. The format is (IP or DNS name):(port) , you must choose the interface (all interfaces: 0.0.0.0) and the port (usually 4317) on which the agent will accept connections from the poller.
-| X|
-|/TOKEN| Authentication token | X |
-|/PLUGINSRC| Source of installation for Centreon plugins. "auto": via the internet, "embedded": local version. Default: "auto" ||
-|/REVERSE| Connection initiated by the poller. "true" or "false". Default: "false"| |
-|/ENCRYPTION| Encryption mode. "no", "full", "insecure". Default: "no"| |
-|/CERT| Path to the file containing the public key | if ENCRYPTION=full or insecure, and /REVERSE=true |
-|/KEY| Path to the file containing the private key | if ENCRYPTION=full or insecure, and /REVERSE=true |
-|/CA| Path to the file containing the trusted certificate | |
-|/COMMONNAME| CA common name. If ENCRYPTION=insecure | |
-|/LOGTYPE| "event-log" or "file". Default: "event-log"| |
-|/LOGFILE| Path to the log file | if /LOGTYPE=file |
-|/LOGLEVEL| "off","critical","error","warning","info","debug","trace". Default: "error"| if /LOGTYPE=file |
-|/MAXFILESIZE| Maximum size of the log file before rotation, in MB. Default: 10. If /LOGTYPE=file | |
-|/MAXNUMBER| Maximum number of log files. Both of these parameters are required for log rotation to be enabled. Default: 3. If /LOGTYPE=file | |
-|/CUSTOMCHECKFILE| Path to custom commands file, if you have one. | |
-|/VERSION| Version of centagent.exe | |
+| flag | description | mandatory |
+|------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------|
+| /COMPONENTS | Components to install. "agent", "plugins" or "agent,plugins" | X |
+| /AGENTINSTANCE | Agent instance name (service name). If omitted, the installer auto-generates a name (e.g., CentreonMonitoringAgent) | |
+| /HOST | The name of the host as defined in the Centreon interface. This name will be the matching key used to retrieve data on the Centreon host. | X |
+| /ENDPOINT | IP address of DNS name of the poller the agent will connect to. In case of Poller-initiated connection mode (/REVERSE=true), it is the interface and port on which the agent will accept connections from the poller. 0.0.0.0 means all interfaces. The format is (IP or DNS name):(port) , you must choose the interface (all interfaces: 0.0.0.0) and the port (usually 4317) on which the agent will accept connections from the poller. | |
+| X | | |
+| /TOKEN | Authentication token | X |
+| /PLUGINSRC | Source of installation for Centreon plugins. "auto": via the internet, "embedded": local version. Default: "auto" | |
+| /REVERSE | Connection initiated by the poller. "true" or "false". Default: "false" | |
+| /ENCRYPTION | Encryption mode. "no", "full", "insecure". Default: "no" | |
+| /CERT | Path to the file containing the public key | if ENCRYPTION=full or insecure, and /REVERSE=true |
+| /KEY | Path to the file containing the private key | if ENCRYPTION=full or insecure, and /REVERSE=true |
+| /CA | Path to the file containing the trusted certificate | |
+| /COMMONNAME | CA common name. If ENCRYPTION=insecure | |
+| /LOGTYPE | "event-log" or "file". Default: "event-log" | |
+| /LOGFILE | Path to the log file | if /LOGTYPE=file |
+| /LOGLEVEL | "off","critical","error","warning","info","debug","trace". Default: "error" | if /LOGTYPE=file |
+| /MAXFILESIZE | Maximum size of the log file before rotation, in MB. Default: 10. If /LOGTYPE=file | |
+| /MAXNUMBER | Maximum number of log files. Both of these parameters are required for log rotation to be enabled. Default: 3. If /LOGTYPE=file | |
+| /CUSTOMCHECKFILE | Path to custom commands file, if you have one. | |
+| /VERSION | Version of centagent.exe | |
If **/PLUGINSRC=auto** and the download fails, the installer will automatically switch to **embedded** mode.
@@ -520,7 +518,7 @@ You can configure two kinds of log output:
-### Deploy the Centreon agent plugins on the host (Linux)
+### Deploy the Centreon plugin on the host (Linux)
If you are using Centreon connectors and non-native controls on Linux:
@@ -662,8 +660,8 @@ dnf install -y centreon-plugin-Operatingsystems-Linux-Local.noarch
```bash
-dnf install dnf-plugins-core
-dnf install epel-release
+dnf install -y dnf-plugins-core
+dnf install -y epel-release
dnf config-manager --set-enabled crb
cat >/etc/yum.repos.d/centreon-plugins.repo <<'EOF'
@@ -723,8 +721,13 @@ EOF
dnf install -y centreon-plugin-Operatingsystems-Linux-Local.noarch
```
+> NB: on some minimal docker images, it may be necessary to install this package:
+> ```bash
+> dnf install procps-ng
+> ```
+
-
+
```bash
apt update && apt install lsb-release ca-certificates apt-transport-https software-properties-common wget gnupg2 curl
@@ -740,6 +743,23 @@ apt-get update
apt -y install centreon-plugin-operatingsystems-linux-local
```
+
+
+
+```bash
+apt update && apt install lsb-release ca-certificates apt-transport-https wget gnupg2 curl
+
+wget -O- https://apt-key.centreon.com | gpg --dearmor | tee /etc/apt/trusted.gpg.d/centreon.gpg > /dev/null 2>&1
+echo "deb https://packages.centreon.com/apt-plugins-stable/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/centreon-plugins.list
+apt-get update
+```
+
+2. Install the plugin:
+
+```bash
+apt -y install centreon-plugin-operatingsystems-linux-local
+```
+
@@ -760,6 +780,13 @@ apt -y install centreon-plugin-operatingsystems-linux-local
+3. Create the directory needed for the plugins cache:
+
+```bash
+mkdir -p /var/lib/centreon/centplugins
+chown centreon-monitoring-agent: /var/lib/centreon/centplugins
+```
+
### Configuring multiple agent instances on the same host
#### General principle