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: bsnmp/snmpd/tree.def,v 1.38 2004/08/06 08:47:17 brandt Exp $ 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# Private Begemot Stuff 69# 70 (4 private 71 (1 enterprises 72 (12325 fokus 73 (1 begemot 74 75# 76# Daemon infrastructure 77# 78 (1 begemotSnmpd 79 (1 begemotSnmpdObjects 80 81# 82# Configuration 83# 84 (1 begemotSnmpdConfig 85 (1 begemotSnmpdTransmitBuffer INTEGER op_snmpd_config GET SET) 86 (2 begemotSnmpdReceiveBuffer INTEGER op_snmpd_config GET SET) 87 (3 begemotSnmpdCommunityDisable INTEGER op_snmpd_config GET SET) 88 (4 begemotSnmpdTrap1Addr IPADDRESS op_snmpd_config GET SET) 89 (5 begemotSnmpdVersionEnable UNSIGNED32 op_snmpd_config GET SET) 90 ) 91 (2 begemotTrapSinkTable 92 (1 begemotTrapSinkEntry : IPADDRESS INTEGER op_trapsink 93 (1 begemotTrapSinkAddr IPADDRESS) 94 (2 begemotTrapSinkPort INTEGER) 95 (3 begemotTrapSinkStatus INTEGER GET SET) 96 (4 begemotTrapSinkComm OCTETSTRING GET SET) 97 (5 begemotTrapSinkVersion INTEGER GET SET) 98 ) 99 ) 100# 101# Port table 102# 103 (4 begemotSnmpdPortTable 104 (1 begemotSnmpdPortEntry : IPADDRESS INTEGER op_snmp_port 105 (1 begemotSnmpdPortAddress IPADDRESS) 106 (2 begemotSnmpdPortPort UNSIGNED32) 107 (3 begemotSnmpdPortStatus INTEGER GET SET) 108 )) 109# 110# Community table 111# 112 (5 begemotSnmpdCommunityTable 113 (1 begemotSnmpdCommunityEntry : OCTETSTRING UNSIGNED32 op_community 114 (1 begemotSnmpdCommunityModule OCTETSTRING) 115 (2 begemotSnmpdCommunityIndex UNSIGNED32) 116 (3 begemotSnmpdCommunityString OCTETSTRING GET SET) 117 (4 begemotSnmpdCommunityDescr OCTETSTRING GET) 118 )) 119# 120# Module table 121# 122 (6 begemotSnmpdModuleTable 123 (1 begemotSnmpdModuleEntry : OCTETSTRING op_modules 124 (1 begemotSnmpdModuleSection OCTETSTRING) 125 (2 begemotSnmpdModulePath OCTETSTRING GET SET) 126 (3 begemotSnmpdModuleComment OCTETSTRING GET) 127 )) 128# 129# Statistics 130# 131 (7 begemotSnmpdStats 132 (1 begemotSnmpdStatsNoRxBufs COUNTER op_snmpd_stats GET) 133 (2 begemotSnmpdStatsNoTxBufs COUNTER op_snmpd_stats GET) 134 (3 begemotSnmpdStatsInTooLongPkts COUNTER op_snmpd_stats GET) 135 (4 begemotSnmpdStatsInBadPduTypes COUNTER op_snmpd_stats GET)) 136# 137# Debugging 138# 139 (8 begemotSnmpdDebug 140 (1 begemotSnmpdDebugDumpPdus INTEGER op_debug GET SET) 141 (2 begemotSnmpdDebugSnmpTrace UNSIGNED32 op_debug GET SET) 142 (3 begemotSnmpdDebugSyslogPri INTEGER op_debug GET SET)) 143 144# 145# Local (UNIX domain) port table 146# 147 (9 begemotSnmpdLocalPortTable 148 (1 begemotSnmpdLocalPortEntry : OCTETSTRING op_lsock_port 149 (1 begemotSnmpdLocalPortPath OCTETSTRING) 150 (2 begemotSnmpdLocalPortStatus INTEGER GET SET) 151 (3 begemotSnmpdLocalPortType INTEGER GET SET) 152 )) 153 154 (10 begemotSnmpdTransportMappings 155 (1 begemotSnmpdTransportTable 156 (1 begemotSnmpdTransportEntry : OCTETSTRING op_transport_table 157 (1 begemotSnmpdTransportName OCTETSTRING) 158 (2 begemotSnmpdTransportStatus INTEGER GET) 159 (3 begemotSnmpdTransportOid OID GET) 160 )) 161 (2 begemotSnmpdTransUdp OID op_transport_dummy) 162 (3 begemotSnmpdTransLsock OID op_transport_dummy) 163 ) 164 ) 165 (2 begemotSnmpdDefs 166 (1 begemotSnmpdAgent 167 (1 begemotSnmpdAgentFreeBSD OID op_dummy) 168 ) 169 ) 170 ) 171 )) 172 ) 173 ) 174 (6 snmpV2 175 (3 snmpModules 176 (1 snmpMIB 177 (1 snmpMIBObjects 178 (4 snmpTrap 179 (1 snmpTrapOID OID op_snmp_trap) 180 ) 181 (5 snmpTraps 182 (1 coldStart OID op_snmp_trap) 183 (2 warmStart OID op_snmp_trap) 184 (5 authenticationFailure OID op_snmp_trap) 185 ) 186 (6 snmpSet 187 (1 snmpSetSerialNo INTEGER op_snmp_set GET SET) 188 ) 189 ) 190 ) 191 )) 192) 193