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 of this software and documentation and use in source and 9# binary forms, with or without modification, are permitted provided that 10# the following conditions are met: 11# 12# 1. Redistributions of source code or documentation must retain the above 13# copyright notice, this list of conditions and the following disclaimer. 14# 2. Redistributions in binary form must reproduce the above copyright 15# notice, this list of conditions and the following disclaimer in the 16# documentation and/or other materials provided with the distribution. 17# 3. Neither the name of the Institute nor the names of its contributors 18# may be used to endorse or promote products derived from this software 19# without specific prior written permission. 20# 21# THIS SOFTWARE AND DOCUMENTATION IS PROVIDED BY FRAUNHOFER FOKUS 22# AND ITS CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, 23# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 24# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL 25# FRAUNHOFER FOKUS OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 26# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 27# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 28# OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 29# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 30# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 31# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32# 33# $Begemot: bsnmp/snmpd/tree.def,v 1.37 2003/12/09 12:28:53 hbb Exp $ 34# 35# System group and private Begemot SNMPd MIB. 36# 37(1 internet 38 (2 mgmt 39 (1 mibII 40 (1 system 41# 42# The standard System group 43# 44 (1 sysDescr OCTETSTRING op_system_group GET) 45 (2 sysObjectId OID op_system_group GET) 46 (3 sysUpTime TIMETICKS op_system_group GET) 47 (4 sysContact OCTETSTRING op_system_group GET SET) 48 (5 sysName OCTETSTRING op_system_group GET SET) 49 (6 sysLocation OCTETSTRING op_system_group GET SET) 50 (7 sysServices INTEGER op_system_group GET) 51 (8 sysORLastChange TIMETICKS op_system_group GET) 52 (9 sysORTable 53 (1 sysOREntry : INTEGER op_or_table 54 (1 sysORIndex INTEGER) 55 (2 sysORID OID GET) 56 (3 sysORDescr OCTETSTRING GET) 57 (4 sysORUpTime TIMETICKS GET) 58 )) 59 ) 60 (11 snmp 61 (1 snmpInPkts COUNTER op_snmp GET) 62 (3 snmpInBadVersions COUNTER op_snmp GET) 63 (4 snmpInBadCommunityNames COUNTER op_snmp GET) 64 (5 snmpInBadCommunityUses COUNTER op_snmp GET) 65 (6 snmpInASNParseErrs COUNTER op_snmp GET) 66 (30 snmpEnableAuthenTraps INTEGER op_snmp GET SET) 67 (31 snmpSilentDrops COUNTER op_snmp GET) 68 (32 snmpProxyDrops COUNTER op_snmp GET) 69 ) 70 )) 71# 72# Private Begemot Stuff 73# 74 (4 private 75 (1 enterprises 76 (12325 fokus 77 (1 begemot 78 79# 80# Daemon infrastructure 81# 82 (1 begemotSnmpd 83 (1 begemotSnmpdObjects 84 85# 86# Configuration 87# 88 (1 begemotSnmpdConfig 89 (1 begemotSnmpdTransmitBuffer INTEGER op_snmpd_config GET SET) 90 (2 begemotSnmpdReceiveBuffer INTEGER op_snmpd_config GET SET) 91 (3 begemotSnmpdCommunityDisable INTEGER op_snmpd_config GET SET) 92 (4 begemotSnmpdTrap1Addr IPADDRESS op_snmpd_config GET SET) 93 (5 begemotSnmpdVersionEnable UNSIGNED32 op_snmpd_config GET SET) 94 ) 95 (2 begemotTrapSinkTable 96 (1 begemotTrapSinkEntry : IPADDRESS INTEGER op_trapsink 97 (1 begemotTrapSinkAddr IPADDRESS) 98 (2 begemotTrapSinkPort INTEGER) 99 (3 begemotTrapSinkStatus INTEGER GET SET) 100 (4 begemotTrapSinkComm OCTETSTRING GET SET) 101 (5 begemotTrapSinkVersion INTEGER GET SET) 102 ) 103 ) 104# 105# Port table 106# 107 (4 begemotSnmpdPortTable 108 (1 begemotSnmpdPortEntry : IPADDRESS INTEGER op_snmp_port 109 (1 begemotSnmpdPortAddress IPADDRESS) 110 (2 begemotSnmpdPortPort UNSIGNED32) 111 (3 begemotSnmpdPortStatus INTEGER GET SET) 112 )) 113# 114# Community table 115# 116 (5 begemotSnmpdCommunityTable 117 (1 begemotSnmpdCommunityEntry : OCTETSTRING UNSIGNED32 op_community 118 (1 begemotSnmpdCommunityModule OCTETSTRING) 119 (2 begemotSnmpdCommunityIndex UNSIGNED32) 120 (3 begemotSnmpdCommunityString OCTETSTRING GET SET) 121 (4 begemotSnmpdCommunityDescr OCTETSTRING GET) 122 )) 123# 124# Module table 125# 126 (6 begemotSnmpdModuleTable 127 (1 begemotSnmpdModuleEntry : OCTETSTRING op_modules 128 (1 begemotSnmpdModuleSection OCTETSTRING) 129 (2 begemotSnmpdModulePath OCTETSTRING GET SET) 130 (3 begemotSnmpdModuleComment OCTETSTRING GET) 131 )) 132# 133# Statistics 134# 135 (7 begemotSnmpdStats 136 (1 begemotSnmpdStatsNoRxBufs COUNTER op_snmpd_stats GET) 137 (2 begemotSnmpdStatsNoTxBufs COUNTER op_snmpd_stats GET) 138 (3 begemotSnmpdStatsInTooLongPkts COUNTER op_snmpd_stats GET) 139 (4 begemotSnmpdStatsInBadPduTypes COUNTER op_snmpd_stats GET)) 140# 141# Debugging 142# 143 (8 begemotSnmpdDebug 144 (1 begemotSnmpdDebugDumpPdus INTEGER op_debug GET SET) 145 (2 begemotSnmpdDebugSnmpTrace UNSIGNED32 op_debug GET SET) 146 (3 begemotSnmpdDebugSyslogPri INTEGER op_debug GET SET)) 147 148# 149# Local (UNIX domain) port table 150# 151 (9 begemotSnmpdLocalPortTable 152 (1 begemotSnmpdLocalPortEntry : OCTETSTRING op_lsock_port 153 (1 begemotSnmpdLocalPortPath OCTETSTRING) 154 (2 begemotSnmpdLocalPortStatus INTEGER GET SET) 155 (3 begemotSnmpdLocalPortType INTEGER GET SET) 156 )) 157 158 (10 begemotSnmpdTransportMappings 159 (1 begemotSnmpdTransportTable 160 (1 begemotSnmpdTransportEntry : OCTETSTRING op_transport_table 161 (1 begemotSnmpdTransportName OCTETSTRING) 162 (2 begemotSnmpdTransportStatus INTEGER GET) 163 (3 begemotSnmpdTransportOid OID GET) 164 )) 165 (2 begemotSnmpdTransUdp OID op_transport_dummy) 166 (3 begemotSnmpdTransLsock OID op_transport_dummy) 167 ) 168 ) 169 (2 begemotSnmpdDefs 170 (1 begemotSnmpdAgent 171 (1 begemotSnmpdAgentFreeBSD OID op_dummy) 172 ) 173 ) 174 ) 175 )) 176 ) 177 ) 178 (6 snmpV2 179 (3 snmpModules 180 (1 snmpMIB 181 (1 snmpMIBObjects 182 (4 snmpTrap 183 (1 snmpTrapOID OID op_snmp_trap) 184 ) 185 (5 snmpTraps 186 (1 coldStart OID op_snmp_trap) 187 (2 warmStart OID op_snmp_trap) 188 (5 authenticationFailure OID op_snmp_trap) 189 ) 190 (6 snmpSet 191 (1 snmpSetSerialNo INTEGER op_snmp_set GET SET) 192 ) 193 ) 194 ) 195 )) 196) 197