xref: /freebsd/contrib/bsnmp/snmp_mibII/mibII_tree.def (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1#
2# Copyright (c) 2001-2003
3#	Fraunhofer Institute for Open Communication Systems (FhG Fokus).
4#	All rights reserved.
5#
6# Author: Harti Brandt <harti@freebsd.org>
7#
8# Redistribution and use in source and binary forms, with or without
9# modification, are permitted provided that the following conditions
10# are met:
11# 1. Redistributions of source code must retain the above copyright
12#    notice, this list of conditions and the following disclaimer.
13# 2. Redistributions in binary form must reproduce the above copyright
14#    notice, this list of conditions and the following disclaimer in the
15#    documentation and/or other materials provided with the distribution.
16#
17# THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
18# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20# ARE DISCLAIMED.  IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
21# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27# SUCH DAMAGE.
28#
29# $Begemot: bsnmp/snmp_mibII/mibII_tree.def,v 1.13 2006/02/14 09:04:19 brandt_h Exp $
30#
31# Definition of the standard interfaces and ip trees.
32#
33(1 internet
34  (2 mgmt
35    (1 mib-2
36      (2 interfaces
37        (1 ifNumber INTEGER op_interfaces GET)
38        (2 ifTable
39          (1 ifEntry : INTEGER op_ifentry
40            (1 ifIndex INTEGER GET)
41            (2 ifDescr OCTETSTRING GET)
42            (3 ifType INTEGER GET)
43            (4 ifMtu INTEGER32 GET)
44            (5 ifSpeed GAUGE GET)
45            (6 ifPhysAddress OCTETSTRING GET)
46            (7 ifAdminStatus INTEGER GET SET)
47            (8 ifOperStatus INTEGER GET)
48            (9 ifLastChange TIMETICKS GET)
49            (10 ifInOctets COUNTER GET)
50            (11 ifInUcastPkts COUNTER GET)
51            (12 ifInNUcastPkts COUNTER GET)
52            (13 ifInDiscards COUNTER GET)
53            (14 ifInErrors COUNTER GET)
54            (15 ifInUnknownProtos COUNTER GET)
55            (16 ifOutOctets COUNTER GET)
56            (17 ifOutUcastPkts COUNTER GET)
57            (18 ifOutNUcastPkts COUNTER GET)
58            (19 ifOutDiscards COUNTER GET)
59            (20 ifOutErrors COUNTER GET)
60            (21 ifOutQLen GAUGE GET)
61            (22 ifSpecific OID GET)
62        ))
63      )
64      (4 ip
65        (1 ipForwarding INTEGER op_ip GET SET)
66        (2 ipDefaultTTL INTEGER op_ip GET SET)
67        (3 ipInReceives COUNTER op_ipstat GET)
68        (4 ipInHdrErrors COUNTER op_ipstat GET)
69        (5 ipInAddrErrors COUNTER op_ipstat GET)
70        (6 ipForwDatagrams COUNTER op_ipstat GET)
71        (7 ipInUnknownProtos COUNTER op_ipstat GET)
72        (8 ipInDiscards COUNTER op_ipstat GET)
73        (9 ipInDelivers COUNTER op_ipstat GET)
74        (10 ipOutRequests COUNTER op_ipstat GET)
75        (11 ipOutDiscards COUNTER op_ipstat GET)
76        (12 ipOutNoRoutes COUNTER op_ipstat GET)
77        (13 ipReasmTimeout INTEGER32 op_ipstat GET)
78        (14 ipReasmReqds COUNTER op_ipstat GET)
79        (15 ipReasmOKs COUNTER op_ipstat GET)
80        (16 ipReasmFails COUNTER op_ipstat GET)
81        (17 ipFragOKs COUNTER op_ipstat GET)
82        (18 ipFragFails COUNTER op_ipstat GET)
83        (19 ipFragCreates COUNTER op_ipstat GET)
84        (20 ipAddrTable
85          (1 ipAddrEntry : IPADDRESS op_ipaddr
86            (1 ipAdEntAddr IPADDRESS GET)
87            (2 ipAdEntIfIndex INTEGER GET SET)
88            (3 ipAdEntNetMask IPADDRESS GET SET)
89            (4 ipAdEntBcastAddr INTEGER GET SET)
90            (5 ipAdEntReasmMaxSize INTEGER GET)
91        ))
92        (22 ipNetToMediaTable
93          (1 ipNetToMediaEntry : INTEGER IPADDRESS op_nettomedia
94            (1 ipNetToMediaIfIndex INTEGER GET)
95            (2 ipNetToMediaPhysAddress OCTETSTRING GET)
96            (3 ipNetToMediaNetAddress IPADDRESS GET)
97            (4 ipNetToMediaType INTEGER GET)
98        ))
99        (23 ipRoutingDiscards INTEGER op_ipstat)	# not available
100        (24 ipForward
101          (3 ipCidrRouteNumber GAUGE op_route GET)
102          (4 ipCidrRouteTable
103            (1 ipCidrRouteEntry : IPADDRESS IPADDRESS INTEGER IPADDRESS op_route_table
104              (1 ipCidrRouteDest IPADDRESS GET)
105              (2 ipCidrRouteMask IPADDRESS GET)
106              (3 ipCidrRouteTos INTEGER GET)
107              (4 ipCidrRouteNextHop IPADDRESS GET)
108              (5 ipCidrRouteIfIndex INTEGER GET)	# SET
109              (6 ipCidrRouteType INTEGER GET)		# SET
110              (7 ipCidrRouteProto INTEGER GET)
111              (8 ipCidrRouteAge INTEGER GET)
112              (9 ipCidrRouteInfo OID GET)		# SET
113              (10 ipCidrRouteNextHopAS INTEGER GET)	# SET
114              (11 ipCidrRouteMetric1 INTEGER GET)	# SET
115              (12 ipCidrRouteMetric2 INTEGER GET)	# SET
116              (13 ipCidrRouteMetric3 INTEGER GET)	# SET
117              (14 ipCidrRouteMetric4 INTEGER GET)	# SET
118              (15 ipCidrRouteMetric5 INTEGER GET)	# SET
119              (16 ipCidrRouteStatus INTEGER GET)	# SET
120          ))
121        )
122      )
123      (5 icmp
124        (1 icmpInMsgs COUNTER op_icmpstat GET)
125        (2 icmpInErrors COUNTER op_icmpstat GET)
126        (3 icmpInDestUnreachs COUNTER op_icmpstat GET)
127        (4 icmpInTimeExcds COUNTER op_icmpstat GET)
128        (5 icmpInParmProbs COUNTER op_icmpstat GET)
129        (6 icmpInSrcQuenchs COUNTER op_icmpstat GET)
130        (7 icmpInRedirects COUNTER op_icmpstat GET)
131        (8 icmpInEchos COUNTER op_icmpstat GET)
132        (9 icmpInEchoReps COUNTER op_icmpstat GET)
133        (10 icmpInTimestamps COUNTER op_icmpstat GET)
134        (11 icmpInTimestampReps COUNTER op_icmpstat GET)
135        (12 icmpInAddrMasks COUNTER op_icmpstat GET)
136        (13 icmpInAddrMaskReps COUNTER op_icmpstat GET)
137        (14 icmpOutMsgs COUNTER op_icmpstat GET)
138        (15 icmpOutErrors COUNTER op_icmpstat GET)
139        (16 icmpOutDestUnreachs COUNTER op_icmpstat GET)
140        (17 icmpOutTimeExcds COUNTER op_icmpstat GET)
141        (18 icmpOutParmProbs COUNTER op_icmpstat GET)
142        (19 icmpOutSrcQuenchs COUNTER op_icmpstat GET)
143        (20 icmpOutRedirects COUNTER op_icmpstat GET)
144        (21 icmpOutEchos COUNTER op_icmpstat GET)
145        (22 icmpOutEchoReps COUNTER op_icmpstat GET)
146        (23 icmpOutTimestamps COUNTER op_icmpstat GET)
147        (24 icmpOutTimestampReps COUNTER op_icmpstat GET)
148        (25 icmpOutAddrMasks COUNTER op_icmpstat GET)
149        (26 icmpOutAddrMaskReps COUNTER op_icmpstat GET)
150      )
151      (6 tcp
152        (1 tcpRtoAlgorithm INTEGER op_tcp GET)
153        (2 tcpRtoMin INTEGER32 op_tcp GET)
154        (3 tcpRtoMax INTEGER32 op_tcp GET)
155        (4 tcpMaxConn INTEGER32 op_tcp GET)
156        (5 tcpActiveOpens COUNTER op_tcp GET)
157        (6 tcpPassiveOpens COUNTER op_tcp GET)
158        (7 tcpAttemptFails COUNTER op_tcp GET)
159        (8 tcpEstabResets COUNTER op_tcp GET)
160        (9 tcpCurrEstab GAUGE op_tcp GET)
161        (10 tcpInSegs COUNTER op_tcp GET)
162        (11 tcpOutSegs COUNTER op_tcp GET)
163        (12 tcpRetransSegs COUNTER op_tcp GET)
164        (13 tcpConnTable
165          (1 tcpConnEntry : IPADDRESS INTEGER IPADDRESS INTEGER op_tcpconn
166            (1 tcpConnState INTEGER GET)
167            (2 tcpConnLocalAddress IPADDRESS GET)
168            (3 tcpConnLocalPort INTEGER GET)
169            (4 tcpConnRemAddress IPADDRESS GET)
170            (5 tcpConnRemPort INTEGER GET)
171        ))
172        (14 tcpInErrs COUNTER op_tcp GET)
173        (15 tcpOutRsts COUNTER op_tcp)		# don't know
174      )
175      (7 udp
176        (1 udpInDatagrams COUNTER op_udp GET)
177        (2 udpNoPorts COUNTER op_udp GET)
178        (3 udpInErrors COUNTER op_udp GET)
179        (4 udpOutDatagrams COUNTER op_udp GET)
180        (5 udpTable
181          (1 udpEntry : IPADDRESS INTEGER op_udptable
182            (1 udpLocalAddress IPADDRESS GET)
183            (2 udpLocalPort INTEGER GET)
184        ))
185      )
186      (31 ifMIB
187        (1 ifMIBObjects
188          (1 ifXTable
189            (1 ifXEntry : INTEGER op_ifxtable
190              (1 ifName OCTETSTRING GET)
191              (2 ifInMulticastPkts COUNTER GET)
192              (3 ifInBroadcastPkts COUNTER GET)
193              (4 ifOutMulticastPkts COUNTER GET)
194              (5 ifOutBroadcastPkts COUNTER GET)
195              (6 ifHCInOctets COUNTER64 GET)
196              (7 ifHCInUcastPkts COUNTER64 GET)
197              (8 ifHCInMulticastPkts COUNTER64 GET)
198              (9 ifHCInBroadcastPkts COUNTER64 GET)
199              (10 ifHCOutOctets COUNTER64 GET)
200              (11 ifHCOutUcastPkts COUNTER64 GET)
201              (12 ifHCOutMulticastPkts COUNTER64 GET)
202              (13 ifHCOutBroadcastPkts COUNTER64 GET)
203              (14 ifLinkUpDownTrapEnable INTEGER GET SET)
204              (15 ifHighSpeed GAUGE GET)
205              (16 ifPromiscuousMode INTEGER GET SET)
206              (17 ifConnectorPresent INTEGER GET)
207              (18 ifAlias OCTETSTRING GET)
208              (19 ifCounterDiscontinuityTime TIMETICKS GET)
209          ))
210          (2 ifStackTable
211            (1 ifStackEntry : INTEGER INTEGER op_ifstack
212              (1 ifStackHigherLayer INTEGER)
213              (2 ifStackLowerLayer INTEGER)
214              (3 ifStackStatus INTEGER GET)
215          ))
216          (4 ifRcvAddressTable
217            (1 ifRcvAddressEntry : INTEGER OCTETSTRING op_rcvaddr
218              (1 ifRcvAddressAddress OCTETSTRING)
219              (2 ifRcvAddressStatus INTEGER GET)
220              (3 ifRcvAddressType INTEGER GET)
221          ))
222          (5 ifTableLastChange TIMETICKS op_ifmib GET)
223          (6 ifStackLastChange TIMETICKS op_ifmib GET)
224        )
225      )
226      (48 ipMIB
227      )
228      (49 tcpMIB
229      )
230      (50 udpMIB
231      )
232  ))
233  (4 private
234    (1 enterprises
235      (12325 fokus
236        (1 begemot
237	  (3 begemotIp
238	    (1 begemotIpObjects
239	      (1 begemotMib2
240		(1 begemotIfMaxspeed COUNTER64 op_begemot_mibII GET)
241		(2 begemotIfPoll TIMETICKS op_begemot_mibII GET)
242		(3 begemotIfForcePoll TIMETICKS op_begemot_mibII GET SET)
243		(4 begemotIfDataPoll TIMETICKS op_begemot_mibII GET SET)
244	      )
245	    )
246	  )
247        )
248      )
249    )
250  )
251  (6 snmpV2
252    (3 snmpModules
253      (1 snmpMIB
254        (1 snmpMIBObjects
255          (5 snmpTraps
256            (3 linkDown OID op_snmp_trap)
257            (4 linkUp OID op_snmp_trap)
258          )
259        )
260      )
261  ))
262)
263