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