tree.def revision 216594
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: tree.def 517 2006-10-31 08:52:04Z brandt_h $
30#
31# System group and private Begemot SNMPd MIB.
32#
33
34include "tc.def"
35
36(1 internet
37  (2 mgmt
38    (1 mibII
39      (1 system
40#
41# The standard System group
42#	
43        (1 sysDescr OCTETSTRING op_system_group GET)
44        (2 sysObjectId OID op_system_group GET)
45        (3 sysUpTime TIMETICKS op_system_group GET)
46        (4 sysContact OCTETSTRING op_system_group GET SET)
47        (5 sysName OCTETSTRING op_system_group GET SET)
48        (6 sysLocation OCTETSTRING op_system_group GET SET)
49        (7 sysServices INTEGER op_system_group GET)
50        (8 sysORLastChange TIMETICKS op_system_group GET)
51        (9 sysORTable
52          (1 sysOREntry : INTEGER op_or_table
53            (1 sysORIndex INTEGER)
54            (2 sysORID OID GET)
55            (3 sysORDescr OCTETSTRING GET)
56            (4 sysORUpTime TIMETICKS GET)
57        ))
58      )
59      (11 snmp
60        (1 snmpInPkts COUNTER op_snmp GET)
61        (3 snmpInBadVersions COUNTER op_snmp GET)
62        (4 snmpInBadCommunityNames COUNTER op_snmp GET)
63        (5 snmpInBadCommunityUses COUNTER op_snmp GET)
64        (6 snmpInASNParseErrs COUNTER op_snmp GET)
65        (30 snmpEnableAuthenTraps INTEGER op_snmp GET SET)
66        (31 snmpSilentDrops COUNTER op_snmp GET)
67        (32 snmpProxyDrops COUNTER op_snmp GET)
68      )
69  ))
70
71  (4 private
72    (1 enterprises
73#
74# FreeBSD stuff
75#
76      (2238 freeBSD
77        (4 freeBSDVersion)
78      )
79
80#
81# Private Begemot Stuff
82#
83      (12325 fokus
84        (1 begemot
85
86#
87# Daemon infrastructure
88#
89          (1 begemotSnmpd
90            (1 begemotSnmpdObjects
91
92#
93# Configuration
94#
95              (1 begemotSnmpdConfig
96                (1 begemotSnmpdTransmitBuffer INTEGER op_snmpd_config GET SET)
97                (2 begemotSnmpdReceiveBuffer INTEGER op_snmpd_config GET SET)
98                (3 begemotSnmpdCommunityDisable INTEGER op_snmpd_config GET SET)
99                (4 begemotSnmpdTrap1Addr IPADDRESS op_snmpd_config GET SET)
100                (5 begemotSnmpdVersionEnable UNSIGNED32 op_snmpd_config GET SET)
101              )
102              (2 begemotTrapSinkTable
103                (1 begemotTrapSinkEntry : IPADDRESS INTEGER op_trapsink
104                  (1 begemotTrapSinkAddr IPADDRESS)
105                  (2 begemotTrapSinkPort INTEGER)
106                  (3 begemotTrapSinkStatus INTEGER GET SET)
107                  (4 begemotTrapSinkComm OCTETSTRING GET SET)
108                  (5 begemotTrapSinkVersion INTEGER GET SET)
109                )
110              )
111#
112#	Port table
113#
114              (4 begemotSnmpdPortTable
115                (1 begemotSnmpdPortEntry : IPADDRESS INTEGER op_snmp_port
116                  (1 begemotSnmpdPortAddress IPADDRESS)
117                  (2 begemotSnmpdPortPort UNSIGNED32)
118                  (3 begemotSnmpdPortStatus INTEGER GET SET)
119              ))
120#
121#	Community table
122#
123	      (5 begemotSnmpdCommunityTable
124                (1 begemotSnmpdCommunityEntry : OCTETSTRING UNSIGNED32 op_community
125                  (1 begemotSnmpdCommunityModule OCTETSTRING)
126                  (2 begemotSnmpdCommunityIndex UNSIGNED32)
127                  (3 begemotSnmpdCommunityString OCTETSTRING GET SET)
128                  (4 begemotSnmpdCommunityDescr OCTETSTRING GET)
129              ))
130#
131#	Module table
132#
133              (6 begemotSnmpdModuleTable
134                (1 begemotSnmpdModuleEntry : OCTETSTRING op_modules
135                  (1 begemotSnmpdModuleSection OCTETSTRING)
136                  (2 begemotSnmpdModulePath OCTETSTRING GET SET)
137                  (3 begemotSnmpdModuleComment OCTETSTRING GET)
138              ))
139#
140# 	Statistics
141#
142              (7 begemotSnmpdStats
143                (1 begemotSnmpdStatsNoRxBufs COUNTER op_snmpd_stats GET)
144                (2 begemotSnmpdStatsNoTxBufs COUNTER op_snmpd_stats GET)
145                (3 begemotSnmpdStatsInTooLongPkts COUNTER op_snmpd_stats GET)
146                (4 begemotSnmpdStatsInBadPduTypes COUNTER op_snmpd_stats GET))
147#
148#	Debugging
149#
150              (8 begemotSnmpdDebug
151                (1 begemotSnmpdDebugDumpPdus INTEGER op_debug GET SET)
152                (2 begemotSnmpdDebugSnmpTrace UNSIGNED32 op_debug GET SET)
153                (3 begemotSnmpdDebugSyslogPri INTEGER op_debug GET SET))
154
155#
156#	Local (UNIX domain) port table
157#
158              (9 begemotSnmpdLocalPortTable
159                (1 begemotSnmpdLocalPortEntry : OCTETSTRING op_lsock_port
160                  (1 begemotSnmpdLocalPortPath OCTETSTRING)
161                  (2 begemotSnmpdLocalPortStatus INTEGER GET SET)
162		  (3 begemotSnmpdLocalPortType INTEGER GET SET)
163              ))
164
165              (10 begemotSnmpdTransportMappings
166                (1 begemotSnmpdTransportTable
167                  (1 begemotSnmpdTransportEntry : OCTETSTRING op_transport_table
168                    (1 begemotSnmpdTransportName OCTETSTRING)
169                    (2 begemotSnmpdTransportStatus INTEGER GET)
170                    (3 begemotSnmpdTransportOid OID GET)
171                ))
172                (2 begemotSnmpdTransUdp OID op_transport_dummy)
173                (3 begemotSnmpdTransLsock OID op_transport_dummy)
174              )
175 	    )
176            (2 begemotSnmpdDefs
177              (1 begemotSnmpdAgent
178                (1 begemotSnmpdAgentFreeBSD OID op_dummy)
179              )
180            )
181          )
182      ))
183    )
184  )
185  (6 snmpV2
186    (3 snmpModules
187      (1 snmpMIB
188        (1 snmpMIBObjects
189          (4 snmpTrap
190            (1 snmpTrapOID OID op_snmp_trap)
191          )
192          (5 snmpTraps
193            (1 coldStart OID op_snmp_trap)
194            (2 warmStart OID op_snmp_trap)
195            (5 authenticationFailure OID op_snmp_trap)
196          )
197          (6 snmpSet
198            (1 snmpSetSerialNo INTEGER op_snmp_set GET SET)
199          )
200        )
201      )
202      (10 snmpFrameworkMIB
203        (2 snmpFrameworkMIBObjects
204          (1 snmpEngine
205            (1 snmpEngineID OCTETSTRING | SnmpEngineID op_snmp_engine GET)
206            (2 snmpEngineBoots INTEGER op_snmp_engine GET)
207            (3 snmpEngineTime INTEGER op_snmp_engine GET)
208            (4 snmpEngineMaxMessageSize INTEGER op_snmp_engine GET)
209          )
210        )
211      )
212  ))
213)
214