GNU/Linux |
RedHat 5.2(Apollo) |
|
![]() |
snmptranslate(1) |
![]() |
snmptranslate - translate SNMP objects into more useful information
snmptranslate [-n] [-d] [-R] [-f|-s] [-w|-W] [-p] objectID
Snmptranslate is an application that translates an SNMP object (SMI value or symbolic form) into another form of information. With no other options, an SNMP object will be translated to its SMI value.
The options have the following meanings:
−p |
Print the symbol table built from the MIB files loaded | ||
−w |
Produce warnings of symbol conflicts while parsing the MIB files | ||
−W |
Produce even more warnings than the -w option | ||
−n |
Translate an SNMP object to its symbolic form. | ||
−f |
Print the fully qualified version of the name. | ||
−s |
Print only the last symbolic part of the OID. | ||
−d |
Print a description of the object. | ||
−R |
Use "random access" to access the symbolic object wherever in the MIB tree it lives. |
snmptranslate -n -R sysDescr
will translate "sysDescr" to a more qualified form:
system.sysDescr
snmptranslate -n -f -d -R sysDescr
will translate "sysDecr" to
.iso.org.dod.internet.mgmt.mib-2.system.sysDescr
SYNTAX OCTET STRING
DISPLAY-HINT "255a"
MAX-ACCESS read-only
STATUS current
DESCRIPTION "A textual description of the entity. This
value should
include the full name and version identification of the
system’s hardware type, software operating-system, and
networking software."
variables(5), RFC 1155, RFC 1156, RFC 1157, SNMP Security Internet Drafts
![]() |
snmptranslate(1) | ![]() |