1122394Sharti#
2122394Sharti# Copyright (c) 2001-2003
3122394Sharti#	Fraunhofer Institute for Open Communication Systems (FhG Fokus).
4122394Sharti#	All rights reserved.
5122394Sharti#
6122394Sharti# Author: Harti Brandt <harti@freebsd.org>
7133211Sharti# 
8133211Sharti# Redistribution and use in source and binary forms, with or without
9133211Sharti# modification, are permitted provided that the following conditions
10133211Sharti# are met:
11133211Sharti# 1. Redistributions of source code must retain the above copyright
12133211Sharti#    notice, this list of conditions and the following disclaimer.
13122394Sharti# 2. Redistributions in binary form must reproduce the above copyright
14122394Sharti#    notice, this list of conditions and the following disclaimer in the
15122394Sharti#    documentation and/or other materials provided with the distribution.
16133211Sharti# 
17133211Sharti# THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
18133211Sharti# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19133211Sharti# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20133211Sharti# ARE DISCLAIMED.  IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
21133211Sharti# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22133211Sharti# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23133211Sharti# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24133211Sharti# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25133211Sharti# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26133211Sharti# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27133211Sharti# SUCH DAMAGE.
28122394Sharti#
29163820Sharti# $Begemot: tree.def 517 2006-10-31 08:52:04Z brandt_h $
30122394Sharti#
31122394Sharti# System group and private Begemot SNMPd MIB.
32122394Sharti#
33216594Ssyrinx
34216605Ssyrinx#include "tc.def"
35216594Ssyrinx
36216605Ssyrinxtypedef RowStatus ENUM (
37216605Ssyrinx	1 active
38216605Ssyrinx	2 notInService
39216605Ssyrinx	3 notReady
40216605Ssyrinx	4 createAndGo
41216605Ssyrinx	5 createAndWait
42216605Ssyrinx	6 destroy
43216605Ssyrinx)
44216605Ssyrinx
45122394Sharti(1 internet
46122394Sharti  (2 mgmt
47122394Sharti    (1 mibII
48122394Sharti      (1 system
49122394Sharti#
50122394Sharti# The standard System group
51122394Sharti#	
52122394Sharti        (1 sysDescr OCTETSTRING op_system_group GET)
53122394Sharti        (2 sysObjectId OID op_system_group GET)
54122394Sharti        (3 sysUpTime TIMETICKS op_system_group GET)
55122394Sharti        (4 sysContact OCTETSTRING op_system_group GET SET)
56122394Sharti        (5 sysName OCTETSTRING op_system_group GET SET)
57122394Sharti        (6 sysLocation OCTETSTRING op_system_group GET SET)
58122394Sharti        (7 sysServices INTEGER op_system_group GET)
59122394Sharti        (8 sysORLastChange TIMETICKS op_system_group GET)
60122394Sharti        (9 sysORTable
61122394Sharti          (1 sysOREntry : INTEGER op_or_table
62122394Sharti            (1 sysORIndex INTEGER)
63122394Sharti            (2 sysORID OID GET)
64122394Sharti            (3 sysORDescr OCTETSTRING GET)
65122394Sharti            (4 sysORUpTime TIMETICKS GET)
66122394Sharti        ))
67122394Sharti      )
68122394Sharti      (11 snmp
69122394Sharti        (1 snmpInPkts COUNTER op_snmp GET)
70122394Sharti        (3 snmpInBadVersions COUNTER op_snmp GET)
71122394Sharti        (4 snmpInBadCommunityNames COUNTER op_snmp GET)
72122394Sharti        (5 snmpInBadCommunityUses COUNTER op_snmp GET)
73122394Sharti        (6 snmpInASNParseErrs COUNTER op_snmp GET)
74122394Sharti        (30 snmpEnableAuthenTraps INTEGER op_snmp GET SET)
75122394Sharti        (31 snmpSilentDrops COUNTER op_snmp GET)
76122394Sharti        (32 snmpProxyDrops COUNTER op_snmp GET)
77122394Sharti      )
78122394Sharti  ))
79163820Sharti
80163820Sharti  (4 private
81163820Sharti    (1 enterprises
82122394Sharti#
83163820Sharti# FreeBSD stuff
84163820Sharti#
85163820Sharti      (2238 freeBSD
86163820Sharti        (4 freeBSDVersion)
87163820Sharti      )
88163820Sharti
89163820Sharti#
90122394Sharti# Private Begemot Stuff
91122394Sharti#
92122394Sharti      (12325 fokus
93122394Sharti        (1 begemot
94122394Sharti
95122394Sharti#
96122394Sharti# Daemon infrastructure
97122394Sharti#
98122394Sharti          (1 begemotSnmpd
99122394Sharti            (1 begemotSnmpdObjects
100122394Sharti
101122394Sharti#
102122394Sharti# Configuration
103122394Sharti#
104122394Sharti              (1 begemotSnmpdConfig
105122394Sharti                (1 begemotSnmpdTransmitBuffer INTEGER op_snmpd_config GET SET)
106122394Sharti                (2 begemotSnmpdReceiveBuffer INTEGER op_snmpd_config GET SET)
107122394Sharti                (3 begemotSnmpdCommunityDisable INTEGER op_snmpd_config GET SET)
108122394Sharti                (4 begemotSnmpdTrap1Addr IPADDRESS op_snmpd_config GET SET)
109124861Sharti                (5 begemotSnmpdVersionEnable UNSIGNED32 op_snmpd_config GET SET)
110122394Sharti              )
111122394Sharti              (2 begemotTrapSinkTable
112122394Sharti                (1 begemotTrapSinkEntry : IPADDRESS INTEGER op_trapsink
113122394Sharti                  (1 begemotTrapSinkAddr IPADDRESS)
114122394Sharti                  (2 begemotTrapSinkPort INTEGER)
115122394Sharti                  (3 begemotTrapSinkStatus INTEGER GET SET)
116122394Sharti                  (4 begemotTrapSinkComm OCTETSTRING GET SET)
117122394Sharti                  (5 begemotTrapSinkVersion INTEGER GET SET)
118122394Sharti                )
119122394Sharti              )
120122394Sharti#
121122394Sharti#	Port table
122122394Sharti#
123122394Sharti              (4 begemotSnmpdPortTable
124122394Sharti                (1 begemotSnmpdPortEntry : IPADDRESS INTEGER op_snmp_port
125122394Sharti                  (1 begemotSnmpdPortAddress IPADDRESS)
126122394Sharti                  (2 begemotSnmpdPortPort UNSIGNED32)
127122394Sharti                  (3 begemotSnmpdPortStatus INTEGER GET SET)
128122394Sharti              ))
129122394Sharti#
130122394Sharti#	Community table
131122394Sharti#
132122394Sharti	      (5 begemotSnmpdCommunityTable
133122394Sharti                (1 begemotSnmpdCommunityEntry : OCTETSTRING UNSIGNED32 op_community
134122394Sharti                  (1 begemotSnmpdCommunityModule OCTETSTRING)
135122394Sharti                  (2 begemotSnmpdCommunityIndex UNSIGNED32)
136122394Sharti                  (3 begemotSnmpdCommunityString OCTETSTRING GET SET)
137122394Sharti                  (4 begemotSnmpdCommunityDescr OCTETSTRING GET)
138122394Sharti              ))
139122394Sharti#
140122394Sharti#	Module table
141122394Sharti#
142122394Sharti              (6 begemotSnmpdModuleTable
143122394Sharti                (1 begemotSnmpdModuleEntry : OCTETSTRING op_modules
144122394Sharti                  (1 begemotSnmpdModuleSection OCTETSTRING)
145122394Sharti                  (2 begemotSnmpdModulePath OCTETSTRING GET SET)
146122394Sharti                  (3 begemotSnmpdModuleComment OCTETSTRING GET)
147122394Sharti              ))
148122394Sharti#
149122394Sharti# 	Statistics
150122394Sharti#
151122394Sharti              (7 begemotSnmpdStats
152122394Sharti                (1 begemotSnmpdStatsNoRxBufs COUNTER op_snmpd_stats GET)
153122394Sharti                (2 begemotSnmpdStatsNoTxBufs COUNTER op_snmpd_stats GET)
154122394Sharti                (3 begemotSnmpdStatsInTooLongPkts COUNTER op_snmpd_stats GET)
155122394Sharti                (4 begemotSnmpdStatsInBadPduTypes COUNTER op_snmpd_stats GET))
156122394Sharti#
157122394Sharti#	Debugging
158122394Sharti#
159122394Sharti              (8 begemotSnmpdDebug
160122394Sharti                (1 begemotSnmpdDebugDumpPdus INTEGER op_debug GET SET)
161122394Sharti                (2 begemotSnmpdDebugSnmpTrace UNSIGNED32 op_debug GET SET)
162122394Sharti                (3 begemotSnmpdDebugSyslogPri INTEGER op_debug GET SET))
163122394Sharti
164122394Sharti#
165122394Sharti#	Local (UNIX domain) port table
166122394Sharti#
167122394Sharti              (9 begemotSnmpdLocalPortTable
168124861Sharti                (1 begemotSnmpdLocalPortEntry : OCTETSTRING op_lsock_port
169122394Sharti                  (1 begemotSnmpdLocalPortPath OCTETSTRING)
170122394Sharti                  (2 begemotSnmpdLocalPortStatus INTEGER GET SET)
171124861Sharti		  (3 begemotSnmpdLocalPortType INTEGER GET SET)
172122394Sharti              ))
173124861Sharti
174124861Sharti              (10 begemotSnmpdTransportMappings
175124861Sharti                (1 begemotSnmpdTransportTable
176124861Sharti                  (1 begemotSnmpdTransportEntry : OCTETSTRING op_transport_table
177124861Sharti                    (1 begemotSnmpdTransportName OCTETSTRING)
178124861Sharti                    (2 begemotSnmpdTransportStatus INTEGER GET)
179124861Sharti                    (3 begemotSnmpdTransportOid OID GET)
180124861Sharti                ))
181124861Sharti                (2 begemotSnmpdTransUdp OID op_transport_dummy)
182124861Sharti                (3 begemotSnmpdTransLsock OID op_transport_dummy)
183124861Sharti              )
184122394Sharti 	    )
185122394Sharti            (2 begemotSnmpdDefs
186122394Sharti              (1 begemotSnmpdAgent
187122394Sharti                (1 begemotSnmpdAgentFreeBSD OID op_dummy)
188122394Sharti              )
189122394Sharti            )
190122394Sharti          )
191122394Sharti      ))
192122394Sharti    )
193122394Sharti  )
194122394Sharti  (6 snmpV2
195122394Sharti    (3 snmpModules
196122394Sharti      (1 snmpMIB
197122394Sharti        (1 snmpMIBObjects
198122394Sharti          (4 snmpTrap
199122394Sharti            (1 snmpTrapOID OID op_snmp_trap)
200122394Sharti          )
201122394Sharti          (5 snmpTraps
202122394Sharti            (1 coldStart OID op_snmp_trap)
203122394Sharti            (2 warmStart OID op_snmp_trap)
204122394Sharti            (5 authenticationFailure OID op_snmp_trap)
205122394Sharti          )
206122394Sharti          (6 snmpSet
207122394Sharti            (1 snmpSetSerialNo INTEGER op_snmp_set GET SET)
208122394Sharti          )
209122394Sharti        )
210122394Sharti      )
211216294Ssyrinx      (10 snmpFrameworkMIB
212216294Ssyrinx        (2 snmpFrameworkMIBObjects
213216294Ssyrinx          (1 snmpEngine
214216294Ssyrinx            (1 snmpEngineID OCTETSTRING | SnmpEngineID op_snmp_engine GET)
215216294Ssyrinx            (2 snmpEngineBoots INTEGER op_snmp_engine GET)
216216294Ssyrinx            (3 snmpEngineTime INTEGER op_snmp_engine GET)
217216294Ssyrinx            (4 snmpEngineMaxMessageSize INTEGER op_snmp_engine GET)
218216294Ssyrinx          )
219216294Ssyrinx        )
220216294Ssyrinx      )
221122394Sharti  ))
222122394Sharti)
223