tree.def revision 216605
1207753Smm# 2207753Smm# Copyright (c) 2001-2003 3207753Smm# Fraunhofer Institute for Open Communication Systems (FhG Fokus). 4207753Smm# All rights reserved. 5207753Smm# 6207753Smm# Author: Harti Brandt <harti@freebsd.org> 7207753Smm# 8207753Smm# Redistribution and use in source and binary forms, with or without 9207753Smm# modification, are permitted provided that the following conditions 10207753Smm# are met: 11207753Smm# 1. Redistributions of source code must retain the above copyright 12207753Smm# notice, this list of conditions and the following disclaimer. 13207753Smm# 2. Redistributions in binary form must reproduce the above copyright 14207753Smm# notice, this list of conditions and the following disclaimer in the 15207753Smm# documentation and/or other materials provided with the distribution. 16207753Smm# 17207753Smm# THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND 18207753Smm# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19207753Smm# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20207753Smm# ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE 21207753Smm# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22207753Smm# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23207753Smm# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24207753Smm# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25207753Smm# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26207753Smm# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27207753Smm# SUCH DAMAGE. 28207753Smm# 29207753Smm# $Begemot: tree.def 517 2006-10-31 08:52:04Z brandt_h $ 30207753Smm# 31207753Smm# System group and private Begemot SNMPd MIB. 32207753Smm# 33207753Smm 34207753Smm#include "tc.def" 35207753Smm 36207753Smmtypedef RowStatus ENUM ( 37207753Smm 1 active 38207753Smm 2 notInService 39207753Smm 3 notReady 40207753Smm 4 createAndGo 41207753Smm 5 createAndWait 42207753Smm 6 destroy 43207753Smm) 44207753Smm 45207753Smm(1 internet 46207753Smm (2 mgmt 47207753Smm (1 mibII 48207753Smm (1 system 49207753Smm# 50207753Smm# The standard System group 51207753Smm# 52207753Smm (1 sysDescr OCTETSTRING op_system_group GET) 53207753Smm (2 sysObjectId OID op_system_group GET) 54207753Smm (3 sysUpTime TIMETICKS op_system_group GET) 55207753Smm (4 sysContact OCTETSTRING op_system_group GET SET) 56207753Smm (5 sysName OCTETSTRING op_system_group GET SET) 57207753Smm (6 sysLocation OCTETSTRING op_system_group GET SET) 58207753Smm (7 sysServices INTEGER op_system_group GET) 59207753Smm (8 sysORLastChange TIMETICKS op_system_group GET) 60207753Smm (9 sysORTable 61207753Smm (1 sysOREntry : INTEGER op_or_table 62207753Smm (1 sysORIndex INTEGER) 63207753Smm (2 sysORID OID GET) 64207753Smm (3 sysORDescr OCTETSTRING GET) 65207753Smm (4 sysORUpTime TIMETICKS GET) 66207753Smm )) 67207753Smm ) 68207753Smm (11 snmp 69207753Smm (1 snmpInPkts COUNTER op_snmp GET) 70207753Smm (3 snmpInBadVersions COUNTER op_snmp GET) 71207753Smm (4 snmpInBadCommunityNames COUNTER op_snmp GET) 72207753Smm (5 snmpInBadCommunityUses COUNTER op_snmp GET) 73207753Smm (6 snmpInASNParseErrs COUNTER op_snmp GET) 74207753Smm (30 snmpEnableAuthenTraps INTEGER op_snmp GET SET) 75207753Smm (31 snmpSilentDrops COUNTER op_snmp GET) 76207753Smm (32 snmpProxyDrops COUNTER op_snmp GET) 77207753Smm ) 78207753Smm )) 79207753Smm 80207753Smm (4 private 81207753Smm (1 enterprises 82207753Smm# 83207753Smm# FreeBSD stuff 84207753Smm# 85207753Smm (2238 freeBSD 86207753Smm (4 freeBSDVersion) 87207753Smm ) 88207753Smm 89207753Smm# 90207753Smm# Private Begemot Stuff 91207753Smm# 92207753Smm (12325 fokus 93207753Smm (1 begemot 94207753Smm 95207753Smm# 96207753Smm# Daemon infrastructure 97207753Smm# 98207753Smm (1 begemotSnmpd 99207753Smm (1 begemotSnmpdObjects 100207753Smm 101207753Smm# 102207753Smm# Configuration 103207753Smm# 104207753Smm (1 begemotSnmpdConfig 105207753Smm (1 begemotSnmpdTransmitBuffer INTEGER op_snmpd_config GET SET) 106207753Smm (2 begemotSnmpdReceiveBuffer INTEGER op_snmpd_config GET SET) 107207753Smm (3 begemotSnmpdCommunityDisable INTEGER op_snmpd_config GET SET) 108207753Smm (4 begemotSnmpdTrap1Addr IPADDRESS op_snmpd_config GET SET) 109207753Smm (5 begemotSnmpdVersionEnable UNSIGNED32 op_snmpd_config GET SET) 110207753Smm ) 111207753Smm (2 begemotTrapSinkTable 112207753Smm (1 begemotTrapSinkEntry : IPADDRESS INTEGER op_trapsink 113207753Smm (1 begemotTrapSinkAddr IPADDRESS) 114207753Smm (2 begemotTrapSinkPort INTEGER) 115207753Smm (3 begemotTrapSinkStatus INTEGER GET SET) 116207753Smm (4 begemotTrapSinkComm OCTETSTRING GET SET) 117207753Smm (5 begemotTrapSinkVersion INTEGER GET SET) 118207753Smm ) 119207753Smm ) 120207753Smm# 121207753Smm# Port table 122207753Smm# 123207753Smm (4 begemotSnmpdPortTable 124207753Smm (1 begemotSnmpdPortEntry : IPADDRESS INTEGER op_snmp_port 125207753Smm (1 begemotSnmpdPortAddress IPADDRESS) 126207753Smm (2 begemotSnmpdPortPort UNSIGNED32) 127207753Smm (3 begemotSnmpdPortStatus INTEGER GET SET) 128207753Smm )) 129207753Smm# 130207753Smm# Community table 131207753Smm# 132 (5 begemotSnmpdCommunityTable 133 (1 begemotSnmpdCommunityEntry : OCTETSTRING UNSIGNED32 op_community 134 (1 begemotSnmpdCommunityModule OCTETSTRING) 135 (2 begemotSnmpdCommunityIndex UNSIGNED32) 136 (3 begemotSnmpdCommunityString OCTETSTRING GET SET) 137 (4 begemotSnmpdCommunityDescr OCTETSTRING GET) 138 )) 139# 140# Module table 141# 142 (6 begemotSnmpdModuleTable 143 (1 begemotSnmpdModuleEntry : OCTETSTRING op_modules 144 (1 begemotSnmpdModuleSection OCTETSTRING) 145 (2 begemotSnmpdModulePath OCTETSTRING GET SET) 146 (3 begemotSnmpdModuleComment OCTETSTRING GET) 147 )) 148# 149# Statistics 150# 151 (7 begemotSnmpdStats 152 (1 begemotSnmpdStatsNoRxBufs COUNTER op_snmpd_stats GET) 153 (2 begemotSnmpdStatsNoTxBufs COUNTER op_snmpd_stats GET) 154 (3 begemotSnmpdStatsInTooLongPkts COUNTER op_snmpd_stats GET) 155 (4 begemotSnmpdStatsInBadPduTypes COUNTER op_snmpd_stats GET)) 156# 157# Debugging 158# 159 (8 begemotSnmpdDebug 160 (1 begemotSnmpdDebugDumpPdus INTEGER op_debug GET SET) 161 (2 begemotSnmpdDebugSnmpTrace UNSIGNED32 op_debug GET SET) 162 (3 begemotSnmpdDebugSyslogPri INTEGER op_debug GET SET)) 163 164# 165# Local (UNIX domain) port table 166# 167 (9 begemotSnmpdLocalPortTable 168 (1 begemotSnmpdLocalPortEntry : OCTETSTRING op_lsock_port 169 (1 begemotSnmpdLocalPortPath OCTETSTRING) 170 (2 begemotSnmpdLocalPortStatus INTEGER GET SET) 171 (3 begemotSnmpdLocalPortType INTEGER GET SET) 172 )) 173 174 (10 begemotSnmpdTransportMappings 175 (1 begemotSnmpdTransportTable 176 (1 begemotSnmpdTransportEntry : OCTETSTRING op_transport_table 177 (1 begemotSnmpdTransportName OCTETSTRING) 178 (2 begemotSnmpdTransportStatus INTEGER GET) 179 (3 begemotSnmpdTransportOid OID GET) 180 )) 181 (2 begemotSnmpdTransUdp OID op_transport_dummy) 182 (3 begemotSnmpdTransLsock OID op_transport_dummy) 183 ) 184 ) 185 (2 begemotSnmpdDefs 186 (1 begemotSnmpdAgent 187 (1 begemotSnmpdAgentFreeBSD OID op_dummy) 188 ) 189 ) 190 ) 191 )) 192 ) 193 ) 194 (6 snmpV2 195 (3 snmpModules 196 (1 snmpMIB 197 (1 snmpMIBObjects 198 (4 snmpTrap 199 (1 snmpTrapOID OID op_snmp_trap) 200 ) 201 (5 snmpTraps 202 (1 coldStart OID op_snmp_trap) 203 (2 warmStart OID op_snmp_trap) 204 (5 authenticationFailure OID op_snmp_trap) 205 ) 206 (6 snmpSet 207 (1 snmpSetSerialNo INTEGER op_snmp_set GET SET) 208 ) 209 ) 210 ) 211 (10 snmpFrameworkMIB 212 (2 snmpFrameworkMIBObjects 213 (1 snmpEngine 214 (1 snmpEngineID OCTETSTRING | SnmpEngineID op_snmp_engine GET) 215 (2 snmpEngineBoots INTEGER op_snmp_engine GET) 216 (3 snmpEngineTime INTEGER op_snmp_engine GET) 217 (4 snmpEngineMaxMessageSize INTEGER op_snmp_engine GET) 218 ) 219 ) 220 ) 221 )) 222) 223