Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/s/snmptranslate.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/s/snmptranslate.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/s/snmptranslate.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/s/snmptranslate.html on line 8
Get the dotted numeric notation of an object ID from the symbolic name or vice versa
snmptranslate [-d] [-n] [-r] variable_name
Neutrino
- -d
- Display the description of the object identifier from the mib.txt file
if it's available.
- -n
- Get the symbolic name from the dotted numeric notation (default is
to get the dotted numeric notation from the symbolic name).
- -r
- Get the dotted numeric notation of an object identifier without using
the subidentifier.
- variable_name
- The variable name in the format specified in the file
mib.txt.
The snmptranslate utility is used to obtain the
symbolic name from the dotted numeric notation or vice versa
— to obtain the dotted numeric notation from the
symbolic name of an object identifier.
You can specify one fully qualified object identifier in the
format specified in the file mib.txt.
Obtain the dotted numeric notation of the system subtree:
snmptranslate system
The output is similar to:
.1.3.6.1.2.1.1
Obtain the symbolic name for the object ID .1.3.6.1.2.1.1:
snmptranslate -n .1.3.6.1.2.1.1
The output is similar to:
system
- MIBFILE
- Specify the location of the mib.txt file. For example,
MIBFILE=path/mib.txt (the default path is /etc).
- SUFFIX
- If SUFFIX exists in your environment, all
object IDs with a symbolic name are printed with only
the last element. Examples:
This ID:
system.syscontact.0
is printed as:
syscontact.0
This ID:
udp.udpTable.udpEntry.udpLocalAddress.0.0.0.161
is printed as:
udpLocalAddress.0.0.0.161
The snmptranslate utility has an error processing
the request; an error message is returned to help pinpoint
how the request was malformed.
snmpd,
snmpgetnext,
snmpnetstat,
snmpstatus,
snmptest,
snmptranslate,
snmptrap,
snmptrapd,
snmpwalk
/etc/mib.txt file
Based on
RFC 1065, RFC 1066, RFC 1067, ISO 8824 (ASN.1)
RFC 1441, RFC 1445, RFC 1446, RFC 1448, RFC 1449
Marshall T. Rose, The Simple Book: An Introduction to
Internet Management, Revised 2nd ed. (Prentice-Hall,
1996, ISBN 0-13-451659-1)
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/s/snmptranslate.html on line 210
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/s/snmptranslate.html on line 210