Skip to content

Commit d8fd6f9

Browse files
lucie-tirandlucie-tirandcg-tw
authored
Ctor 2414 enhance snmp connectors with v 3 macros part 2 (#5487)
* fix missing from CTOR-2360) * wip * Apply suggestions from code review Co-authored-by: Lucie Tirand <123162035+lucie-tirand@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: cg-tw <83637804+cg-tw@users.noreply.github.com> Co-authored-by: Lucie Tirand <123162035+lucie-tirand@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: cg-tw <83637804+cg-tw@users.noreply.github.com> Co-authored-by: Lucie Tirand <123162035+lucie-tirand@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Lucie Tirand <123162035+lucie-tirand@users.noreply.github.com> --------- Co-authored-by: lucie-tirand <ldubrunfaut@CNTR-PORT-A198.localdomain> Co-authored-by: cg-tw <83637804+cg-tw@users.noreply.github.com>
1 parent bfdc7f2 commit d8fd6f9

41 files changed

Lines changed: 8895 additions & 7486 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

i18n/fr/docusaurus-plugin-content-docs-pp/current/integrations/plugin-packs/procedures/applications-microsoft-dhcp-snmp.md

Lines changed: 111 additions & 94 deletions
Large diffs are not rendered by default.

i18n/fr/docusaurus-plugin-content-docs-pp/current/integrations/plugin-packs/procedures/applications-protocol-snmp.md

Lines changed: 29 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ Rendez-vous sur la [documentation dédiée](/docs/monitoring/discovery/hosts-dis
7676

7777
#### Découverte de services
7878

79-
| Nom de la règle | Description |
80-
|:----------------------------------|:------------|
81-
| App-Protocol-SNMP-Collection-Name | Découvre les données SNMP en utilisant des collections |
79+
| Nom de la règle | Description |
80+
|:----------------------------------|:-------------------------------------------------------|
81+
| App-Protocol-SNMP-Collection-Name | Découvre les données SNMP en utilisant des collections |
8282

8383
Rendez-vous sur la [documentation dédiée](/docs/monitoring/discovery/services-discovery)
8484
pour en savoir plus sur la découverte automatique de services et sa [planification](/docs/monitoring/discovery/services-discovery/#règles-de-découverte).
@@ -234,9 +234,14 @@ yum install centreon-plugin-Applications-Protocol-Snmp
234234
2. Complétez les champs **Nom**, **Alias** & **IP Address/DNS** correspondant à votre ressource.
235235
3. Appliquez le modèle d'hôte **App-Protocol-SNMP-custom**.
236236

237-
| Macro | Description | Valeur par défaut | Obligatoire |
238-
|:-----------------|:---------------------------------------------------------------------------------------------------------------------------------------------------|:------------------|:-----------:|
239-
| SNMPEXTRAOPTIONS | Any extra option you may want to add to every command (a --verbose flag for example). Toutes les options sont listées [ici](#options-disponibles). | | |
237+
| Macro | Description | Valeur par défaut | Obligatoire |
238+
|:------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------------|:-----------:|
239+
| SNMP_V3_USERNAME | SNMP v3 only: User name (`securityName`) | | |
240+
| SNMP_V3_AUTH_PROTOCOL | SNMP v3 only: Authentication protocol: MD5\|SHA. Since net-snmp 5.9.1: SHA224\|SHA256\|SHA384\|SHA512 | | |
241+
| SNMP_V3_PRIV_PROTOCOL | SNMP v3 only: Privacy protocol (`privProtocol`) used to encrypt messages. Supported protocols are: DES\|AES and since net-snmp 5.9.1: AES192\|AES192C\|AES256\|AES256C | | |
242+
| SNMP_V3_AUTH_PASSPHRASE | SNMP v3 only: Pass phrase hashed using the authentication protocol defined in the --authprotocol option | | |
243+
| SNMP_V3_PRIV_PASSPHRASE | SNMP v3 only: Privacy pass phrase (`privPassword`) to encrypt messages using the protocol defined in the --privprotocol option | | |
244+
| SNMPEXTRAOPTIONS | Any extra option you may want to add to every command (a --verbose flag for example). Toutes les options sont listées [ici](#options-disponibles). | | |
240245

241246
4. [Déployez la configuration](/docs/monitoring/monitoring-servers/deploying-a-configuration). L'hôte apparaît dans la liste des hôtes supervisés, et dans la page **Statut des ressources**. La commande envoyée par le connecteur est indiquée dans le panneau de détails de l'hôte : celle-ci montre les valeurs des macros.
242247

@@ -250,9 +255,14 @@ yum install centreon-plugin-Applications-Protocol-Snmp
250255
> Si vous utilisez SNMP en version 3, vous devez configurer les paramètres spécifiques associés via la macro **SNMPEXTRAOPTIONS**.
251256
> Plus d'informations dans la section [Troubleshooting SNMP](../getting-started/how-to-guides/troubleshooting-plugins.md#mapping-des-options-snmpv3).
252257
253-
| Macro | Description | Valeur par défaut | Obligatoire |
254-
|:-----------------|:---------------------------------------------------------------------------------------------------------------------------------------------------|:------------------|:-----------:|
255-
| SNMPEXTRAOPTIONS | Any extra option you may want to add to every command (a --verbose flag for example). Toutes les options sont listées [ici](#options-disponibles). | | |
258+
| Macro | Description | Valeur par défaut | Obligatoire |
259+
|:------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------------|:-----------:|
260+
| SNMP_V3_USERNAME | SNMP v3 only: User name (`securityName`) | | |
261+
| SNMP_V3_AUTH_PROTOCOL | SNMP v3 only: Authentication protocol: MD5\|SHA. Since net-snmp 5.9.1: SHA224\|SHA256\|SHA384\|SHA512 | | |
262+
| SNMP_V3_PRIV_PROTOCOL | SNMP v3 only: Privacy protocol (`privProtocol`) used to encrypt messages. Supported protocols are: DES\|AES and since net-snmp 5.9.1: AES192\|AES192C\|AES256\|AES256C | | |
263+
| SNMP_V3_AUTH_PASSPHRASE | SNMP v3 only: Pass phrase hashed using the authentication protocol defined in the --authprotocol option | | |
264+
| SNMP_V3_PRIV_PASSPHRASE | SNMP v3 only: Privacy pass phrase (`privPassword`) to encrypt messages using the protocol defined in the --privprotocol option | | |
265+
| SNMPEXTRAOPTIONS | Any extra option you may want to add to every command (a --verbose flag for example). Toutes les options sont listées [ici](#options-disponibles). | | |
256266

257267
4. [Déployez la configuration](/docs/monitoring/monitoring-servers/deploying-a-configuration). L'hôte apparaît dans la liste des hôtes supervisés, et dans la page **Statut des ressources**. La commande envoyée par le connecteur est indiquée dans le panneau de détails de l'hôte : celle-ci montre les valeurs des macros.
258268

@@ -281,16 +291,16 @@ yum install centreon-plugin-Applications-Protocol-Snmp
281291
</TabItem>
282292
<TabItem value="String-Value" label="String-Value">
283293

284-
| Macro | Description | Valeur par défaut | Obligatoire |
285-
|:---------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-------------------------------|:-----------:|
286-
| FORMATOK | Output format according to the threshold. : '%\{filter_rows\} value(s)'), 'warning' (default: 'value(s): %\{details_warning\}'), 'critical' (default: 'value(s): %\{details_critical\}'), 'unknown' (default: 'value(s): %\{details_unknown\}'). You can use the following variables: %\{rows\}, %\{filter_rows\}, %\{details_warning\}, %\{details_ok\}, %\{details_critical\}, %\{details_unknown\} | %\{filter_rows\} value(s) | |
287-
| FORMATUNKNOWN | Output format according to the threshold. : '%\{filter_rows\} value(s)'), 'warning' (default: 'value(s): %\{details_warning\}'), 'critical' (default: 'value(s): %\{details_critical\}'), 'unknown' (default: 'value(s): %\{details_unknown\}'). You can use the following variables: %\{rows\}, %\{filter_rows\}, %\{details_warning\}, %\{details_ok\}, %\{details_critical\}, %\{details_unknown\} | value(s): %\{details_unknown\} | |
288-
| OID | OID value to check (numeric format only) | | |
289-
| WARNING | Return Warning if an oid value match the regexp | | |
290-
| CRITICAL | Return Critical if an oid value match the regexp | | |
291-
| FORMATWARNING | Output format according to the threshold. : '%\{filter_rows\} value(s)'), 'warning' (default: 'value(s): %\{details_warning\}'), 'critical' (default: 'value(s): %\{details_critical\}'), 'unknown' (default: 'value(s): %\{details_unknown\}'). You can use the following variables: %\{rows\}, %\{filter_rows\}, %\{details_warning\}, %\{details_ok\}, %\{details_critical\}, %\{details_unknown\} | value(s): %\{details_warning\} | |
292-
| FORMATCRITICAL | Output format according to the threshold. : '%\{filter_rows\} value(s)'), 'warning' (default: 'value(s): %\{details_warning\}'), 'critical' (default: 'value(s): %\{details_critical\}'), 'unknown' (default: 'value(s): %\{details_unknown\}'). You can use the following variables: %\{rows\}, %\{filter_rows\}, %\{details_warning\}, %\{details_ok\}, %\{details_critical\}, %\{details_unknown\} | value(s): %\{details_critical\} | |
293-
| EXTRAOPTIONS | Any extra option you may want to add to the command (E.g. a --verbose flag). Toutes les options sont listées [ici](#options-disponibles) | | |
294+
| Macro | Description | Valeur par défaut | Obligatoire |
295+
|:---------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-------------------------------|:-----------:|
296+
| FORMATOK | Output format according to the threshold. You can use the following variables: %\{rows\}, %\{filter_rows\}, %\{details_warning\}, %\{details_ok\}, %\{details_critical\}, %\{details_unknown\} | %\{filter_rows\} value(s) | |
297+
| FORMATUNKNOWN | Output format according to the threshold. You can use the following variables: %\{rows\}, %\{filter_rows\}, %\{details_warning\}, %\{details_ok\}, %\{details_critical\}, %\{details_unknown\} | value(s): %\{details_unknown\} | |
298+
| OID | OID value to check (numeric format only) | | |
299+
| WARNING | Return Warning if an oid value match the regexp | | |
300+
| CRITICAL | Return Critical if an oid value match the regexp | | |
301+
| FORMATWARNING | Output format according to the threshold. You can use the following variables: %\{rows\}, %\{filter_rows\}, %\{details_warning\}, %\{details_ok\}, %\{details_critical\}, %\{details_unknown\} | value(s): %\{details_warning\} | |
302+
| FORMATCRITICAL | Output format according to the threshold. You can use the following variables: %\{rows\}, %\{filter_rows\}, %\{details_warning\}, %\{details_ok\}, %\{details_critical\}, %\{details_unknown\} | value(s): %\{details_critical\} | |
303+
| EXTRAOPTIONS | Any extra option you may want to add to the command (E.g. a --verbose flag). Toutes les options sont listées [ici](#options-disponibles) | | |
294304

295305
</TabItem>
296306
<TabItem value="Response-Time" label="Response-Time">

0 commit comments

Comments
 (0)