Rev | Author | # | Line |
---|---|---|---|
3 | AristotlePagaltzis | 1 | !!!NAME |
1 | perry | 2 | |
3 | snmptranslate - translate SNMP objects into more useful information | ||
4 | |||
3 | AristotlePagaltzis | 5 | !!!SYNOPSIS |
1 | perry | 6 | |
3 | AristotlePagaltzis | 7 | snmptranslate [[-h] [[-V] [[-D] |
1 | perry | 8 | |
3 | AristotlePagaltzis | 9 | !!!DESCRIPTION |
1 | perry | 10 | |
3 | AristotlePagaltzis | 11 | 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. |
1 | perry | 12 | |
13 | The options have the following meanings: | ||
14 | |||
3 | AristotlePagaltzis | 15 | ; __-h__ : Print help message |
16 | ; __-V__ : Print version message and exit | ||
17 | ; __-D __ : Enable debugging output. See the ''snmpcmd'' man page for more information. | ||
18 | ; __-I __ :See the ''snmpcmd'' man page for a description of the OID input options | ||
19 | ; __-O __ : See the ''snmpcmd'' man page for a description of the OID output options | ||
20 | ; __-P __ : See the ''snmpcmd'' man page for a description of the MIB parsing options | ||
21 | ; __-T __ : Translate an SNMP object to its symbolic form. The following TRANSOPTS are available: | ||
22 | ; __-Td__ : print full details of the specified OID | ||
23 | ; __-Tp__ : print a graphical tree, rooted at the specified OID | ||
24 | ; __-Ta__ : dump the loaded MIB in a trivial form | ||
25 | ; __-Tl__ : dump a labeled form of all objects | ||
26 | ; __-To__ : dump a numeric form of all objects | ||
27 | ; __-Ts__ : dump a symbolic form of all objects | ||
28 | ; __-Tt__ : dump a tree form of the loaded mibs (mostly useful for debugging) | ||
29 | ; __-w width__ : specify width of -Tp and -Td output. Default is very large | ||
1 | perry | 30 | |
3 | AristotlePagaltzis | 31 | !!!EXAMPLES |
1 | perry | 32 | |
3 | AristotlePagaltzis | 33 | snmptranslate -On -IR sysDescr |
1 | perry | 34 | will translate |
3 | AristotlePagaltzis | 35 | system.sysDescr |
1 | perry | 36 | |
3 | AristotlePagaltzis | 37 | snmptranslate -Onf -IR sysDescr |
1 | perry | 38 | will translate |
3 | AristotlePagaltzis | 39 | .iso.org.dod.internet.mgmt.mib-2.system.sysDescr |
1 | perry | 40 | |
3 | AristotlePagaltzis | 41 | snmptranslate -Td -OS system.sysDescr |
1 | perry | 42 | will translate |
3 | AristotlePagaltzis | 43 | SNMPv2-MIB::sysDescr |
44 | sysDescr OBJECT-TYPE | ||
45 | -- FROM SNMPv2-MIB | ||
46 | -- TEXTUAL CONVENTION !DisplayString | ||
47 | SYNTAX OCTET STRING | ||
48 | DISPLAY-HINT | ||
1 | perry | 49 | |
3 | AristotlePagaltzis | 50 | snmptranslate -Tp -OS system |
1 | perry | 51 | will print the following tree: |
3 | AristotlePagaltzis | 52 | +--!system(1) |
53 | | | ||
54 | +-- -R-- String !sysDescr(1) | ||
55 | | Textual Convention: !DisplayString | ||
56 | | Size: 0..255 | ||
57 | +-- -R-- ObjID !sysObjectID(2) | ||
58 | +-- -R-- !TimeTicks !sysUpTime(3) | ||
59 | +-- -RW- String !sysContact(4) | ||
60 | | Textual Convention: !DisplayString | ||
61 | | Size: 0..255 | ||
62 | +-- -RW- String !sysName(5) | ||
63 | | Textual Convention: !DisplayString | ||
64 | | Size: 0..255 | ||
65 | +-- -RW- String !sysLocation(6) | ||
66 | | Textual Convention: !DisplayString | ||
67 | | Size: 0..255 | ||
68 | +-- -R-- Integer !sysServices(7) | ||
69 | +-- -R-- !TimeTicks !sysORLastChange(8) | ||
70 | | Textual Convention: !TimeStamp | ||
71 | | | ||
72 | +--!sysORTable(9) | ||
73 | | | ||
74 | +--!sysOREntry(1) | ||
75 | | | ||
76 | +-- ---- Integer !sysORIndex(1) | ||
77 | +-- -R-- ObjID !sysORID(2) | ||
78 | +-- -R-- String !sysORDescr(3) | ||
79 | | Textual Convention: !DisplayString | ||
80 | | Size: 0..255 | ||
81 | +-- -R-- !TimeTicks !sysORUpTime(4) | ||
82 | Textual Convention: !TimeStamp | ||
1 | perry | 83 | |
3 | AristotlePagaltzis | 84 | snmptranslate -Ta | head |
1 | perry | 85 | will produce the following dump: |
3 | AristotlePagaltzis | 86 | dump DEFINITIONS ::= BEGIN |
87 | org ::= { iso 3 } | ||
88 | dod ::= { org 6 } | ||
89 | internet ::= { dod 1 } | ||
90 | directory ::= { internet 1 } | ||
91 | mgmt ::= { internet 2 } | ||
92 | experimental ::= { internet 3 } | ||
93 | private ::= { internet 4 } | ||
94 | security ::= { internet 5 } | ||
95 | snmpV2 ::= { internet 6 } | ||
1 | perry | 96 | |
3 | AristotlePagaltzis | 97 | snmptranslate -Tl | head |
1 | perry | 98 | will produce the following dump: |
3 | AristotlePagaltzis | 99 | .!iso(1).!org(3) |
100 | .!iso(1).!org(3).!dod(6) | ||
101 | .!iso(1).!org(3).!dod(6).!internet(1) | ||
102 | .!iso(1).!org(3).!dod(6).!internet(1).!directory(1) | ||
103 | .!iso(1).!org(3).!dod(6).!internet(1).!mgmt(2) | ||
104 | .!iso(1).!org(3).!dod(6).!internet(1).!mgmt(2).!mib-2(1) | ||
105 | .!iso(1).!org(3).!dod(6).!internet(1).!mgmt(2).!mib-2(1).!system(1) | ||
106 | .!iso(1).!org(3).!dod(6).!internet(1).!mgmt(2).!mib-2(1).!system(1).!sysDescr(1) | ||
107 | .!iso(1).!org(3).!dod(6).!internet(1).!mgmt(2).!mib-2(1).!system(1).!sysObjectID(2) | ||
108 | .!iso(1).!org(3).!dod(6).!internet(1).!mgmt(2).!mib-2(1).!system(1).!sysUpTime(3) | ||
1 | perry | 109 | |
3 | AristotlePagaltzis | 110 | snmptranslate -To | head |
1 | perry | 111 | will produce the following dump |
3 | AristotlePagaltzis | 112 | .1.3 |
113 | .1.3.6 | ||
114 | .1.3.6.1 | ||
115 | .1.3.6.1.1 | ||
116 | .1.3.6.1.2 | ||
117 | .1.3.6.1.2.1 | ||
118 | .1.3.6.1.2.1.1 | ||
119 | .1.3.6.1.2.1.1.1 | ||
120 | .1.3.6.1.2.1.1.2 | ||
121 | .1.3.6.1.2.1.1.3 | ||
1 | perry | 122 | |
3 | AristotlePagaltzis | 123 | snmptranslate -Ts | head |
1 | perry | 124 | will produce the following dump |
3 | AristotlePagaltzis | 125 | .iso.org |
126 | .iso.org.dod | ||
127 | .iso.org.dod.internet | ||
128 | .iso.org.dod.internet.directory | ||
129 | .iso.org.dod.internet.mgmt | ||
130 | .iso.org.dod.internet.mgmt.mib-2 | ||
131 | .iso.org.dod.internet.mgmt.mib-2.system | ||
132 | .iso.org.dod.internet.mgmt.mib-2.system.sysDescr | ||
133 | .iso.org.dod.internet.mgmt.mib-2.system.sysObjectID | ||
134 | .iso.org.dod.internet.mgmt.mib-2.system.sysUpTime | ||
1 | perry | 135 | |
3 | AristotlePagaltzis | 136 | snmptranslate -Tt | head |
1 | perry | 137 | will produce the following dump |
3 | AristotlePagaltzis | 138 | !org(3) type=0 |
139 | !dod(6) type=0 | ||
140 | !internet(1) type=0 | ||
141 | !directory(1) type=0 | ||
142 | !mgmt(2) type=0 | ||
143 | !mib-2(1) type=0 | ||
144 | !system(1) type=0 | ||
145 | !sysDescr(1) type=2 tc=0 hint=255a | ||
146 | !sysObjectID(2) type=1 | ||
147 | !sysUpTime(3) type=8 | ||
1 | perry | 148 | |
3 | AristotlePagaltzis | 149 | !!!SEE ALSO |
1 | perry | 150 | |
3 | AristotlePagaltzis | 151 | snmpcmd(1) variables(5) RFC:2578 RFC:2579 RFC:2580 |
lib/blame.php:177: Warning: Invalid argument supplied for foreach()