> For the complete documentation index, see [llms.txt](https://help.glpi-project.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.glpi-project.org/glpi-12/fr/tabs/common_fields/snmp_credentials.md). Agents can also search and read this documentation through its [MCP server](https://help.glpi-project.org/~gitbook/mcp).

# Identifiants SNMP

Les identifiants SNMP sont des paramètres utilisés pour permettre à GLPI d'interagir avec les périphériques réseau via le protocole SNMP (Simple Network Management Protocol). Ils sont utilisés pour récupérer automatiquement des informations sur les périphériques pour l'inventaire.

## Rôle des identifiants SNMP dans GLPI

### Identification des périphériques

GLPI utilise les identifiants SNMP pour interroger un périphérique réseau (tel qu'un commutateur, un routeur ou une imprimante) et récupérer des détails spécifiques (nom, version du firmware, adresse IP, etc.).

### Collecte de données

Les identifiants permettent à GLPI de collecter des données telles que :

* L'état des ports.
* Les adresses MAC et IP.
* Les détails matériels (modèle, fabricant, version logicielle, etc.).

### Inventaire automatisé

Avec SNMP activé, GLPI peut enrichir automatiquement l'inventaire des périphériques sans intervention manuelle.

## Identifiants SNMP principaux dans GLPI

### Nom de communauté SNMP

Une « clé » partagée entre le client (GLPI) et le périphérique, utilisée pour l'authentification. Par défaut :

* **public** (lecture seule)
* **private** (lecture/écriture).

### Version SNMP

GLPI prend en charge plusieurs versions de SNMP :

* **SNMP v1** : Version de base, sans sécurité.
* **SNMP v2c** : Performances améliorées, toujours sans sécurité forte.
* **SNMP v3** : Sécurité avancée (authentification et chiffrement).

{% hint style="success" %}
Pour SNMP v3, des identifiants utilisateur avec des clés d'authentification et de chiffrement sont requis. Dans la mesure du possible, nous recommandons cette méthode car elle est plus sûre.
{% endhint %}

### OID (Object Identifier)

Utilisé pour spécifier les informations que GLPI souhaite interroger (par exemple, `sysDescr`, `sysName`, `interfaces`, etc.).

### Adresse IP ou FQDN du périphérique

GLPI utilise ces informations pour cibler un périphérique spécifique.

## Configuration des identifiants SNMP dans GLPI

### Activer le module SNMP

Assurez-vous que la prise en charge de l'agent cible est activée

![Support agent for SNMP inventory](https://717310897-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FI37OnoO4u22Gm6H4GJFI%2Fuploads%2Fgit-blob-f5bd4b402e927e9702241f0a9512a5ebaa6beedb%2FSNMP_credentials.png?alt=media)

### Configurer les identifiants SNMP

Dans **Administration** > **Inventaire** > **Identifiants SNMP**, vous pouvez ajouter ou modifier des paramètres spécifiques.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.glpi-project.org/glpi-12/fr/tabs/common_fields/snmp_credentials.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
