informatique:linux:snmpd
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
informatique:linux:snmpd [2013/10/14 20:44] – modification externe 127.0.0.1 | informatique:linux:snmpd [2015/08/31 13:05] – pteu | ||
---|---|---|---|
Line 33: | Line 33: | ||
</ | </ | ||
+ | |||
+ | =====snmpwalk===== | ||
+ | |||
+ | Permet d' | ||
+ | |||
+ | Paramètres utiles : | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | Pour obtenir la liste des tous les paramètres : '' | ||
+ | |||
+ | Exemples : | ||
+ | <code bash> | ||
+ | # interroger les infos système d'un firewall Fortigate | ||
+ | # fortimachine est le nom DNS de mon firewall, .1.3.6.1.2.1.1 est l'OID de départ | ||
+ | snmpwalk -v 2c -c public fortimachine system | ||
+ | SNMPv2-MIB:: | ||
+ | SNMPv2-MIB:: | ||
+ | DISMAN-EVENT-MIB:: | ||
+ | SNMPv2-MIB:: | ||
+ | SNMPv2-MIB:: | ||
+ | SNMPv2-MIB:: | ||
+ | SNMPv2-MIB:: | ||
+ | SNMPv2-MIB:: | ||
+ | SNMPv2-MIB:: | ||
+ | SNMPv2-MIB:: | ||
+ | SNMPv2-MIB:: | ||
+ | SNMPv2-MIB:: | ||
+ | |||
+ | # ne renvoyer que les valeurs des OIDs : | ||
+ | snmpwalk -v 2c -Ovq -c public fortimachine system | ||
+ | fortimachine | ||
+ | SNMPv2-SMI:: | ||
+ | 48: | ||
+ | netadmin (8 22 22) | ||
+ | fortimachine_800c | ||
+ | Salle Blanche 01 | ||
+ | 78 | ||
+ | 0: | ||
+ | 1 | ||
+ | SNMPv2-SMI:: | ||
+ | |||
+ | 0: | ||
+ | </ |
informatique/linux/snmpd.txt · Last modified: 2019/04/17 09:18 by pteu