1 /* $OpenBSD: mib.h,v 1.43 2023/12/21 13:54:05 martijn Exp $ */ 2 3 /* 4 * Copyright (c) 2007, 2008 Reyk Floeter <reyk@openbsd.org> 5 * 6 * Permission to use, copy, modify, and distribute this software for any 7 * purpose with or without fee is hereby granted, provided that the above 8 * copyright notice and this permission notice appear in all copies. 9 * 10 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 11 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 12 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 13 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 14 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 15 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 16 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 17 */ 18 19 #ifndef SNMPD_MIB_H 20 #define SNMPD_MIB_H 21 22 #define MIBDECL(...) { { MIB_##__VA_ARGS__ }, \ 23 (sizeof((uint32_t []) { MIB_##__VA_ARGS__ }) / sizeof(uint32_t))}, #__VA_ARGS__ 24 #define MIBEND { { 0 } }, NULL 25 26 /* 27 * Adding new MIBs: 28 * - add the OID definitions below 29 * - add the OIDs to the MIB_TREE table at the end of this file 30 * - optional: write the implementation in mib.c 31 */ 32 33 /* From the SNMPv2-SMI MIB */ 34 #define MIB_iso 1 35 #define MIB_org MIB_iso, 3 36 #define MIB_dod MIB_org, 6 37 #define MIB_internet MIB_dod, 1 38 #define MIB_directory MIB_internet, 1 39 #define MIB_mgmt MIB_internet, 2 40 #define MIB_mib_2 MIB_mgmt, 1 /* XXX mib-2 */ 41 #define MIB_system MIB_mib_2, 1 42 #define OIDIDX_system 7 43 #define MIB_sysDescr MIB_system, 1 44 #define MIB_sysOID MIB_system, 2 45 #define MIB_sysUpTime MIB_system, 3 46 #define MIB_sysContact MIB_system, 4 47 #define MIB_sysName MIB_system, 5 48 #define MIB_sysLocation MIB_system, 6 49 #define MIB_sysServices MIB_system, 7 50 #define MIB_sysORLastChange MIB_system, 8 51 #define MIB_sysORTable MIB_system, 9 52 #define MIB_sysOREntry MIB_sysORTable, 1 53 #define OIDIDX_sysOR 9 54 #define OIDIDX_sysOREntry 10 55 #define MIB_sysORIndex MIB_sysOREntry, 1 56 #define MIB_sysORID MIB_sysOREntry, 2 57 #define MIB_sysORDescr MIB_sysOREntry, 3 58 #define MIB_sysORUpTime MIB_sysOREntry, 4 59 #define MIB_transmission MIB_mib_2, 10 60 #define MIB_snmp MIB_mib_2, 11 61 #define OIDIDX_snmp 7 62 #define MIB_snmpInPkts MIB_snmp, 1 63 #define MIB_snmpOutPkts MIB_snmp, 2 64 #define MIB_snmpInBadVersions MIB_snmp, 3 65 #define MIB_snmpInBadCommunityNames MIB_snmp, 4 66 #define MIB_snmpInBadCommunityUses MIB_snmp, 5 67 #define MIB_snmpInASNParseErrs MIB_snmp, 6 68 #define MIB_snmpInTooBigs MIB_snmp, 8 69 #define MIB_snmpInNoSuchNames MIB_snmp, 9 70 #define MIB_snmpInBadValues MIB_snmp, 10 71 #define MIB_snmpInReadOnlys MIB_snmp, 11 72 #define MIB_snmpInGenErrs MIB_snmp, 12 73 #define MIB_snmpInTotalReqVars MIB_snmp, 13 74 #define MIB_snmpInTotalSetVars MIB_snmp, 14 75 #define MIB_snmpInGetRequests MIB_snmp, 15 76 #define MIB_snmpInGetNexts MIB_snmp, 16 77 #define MIB_snmpInSetRequests MIB_snmp, 17 78 #define MIB_snmpInGetResponses MIB_snmp, 18 79 #define MIB_snmpInTraps MIB_snmp, 19 80 #define MIB_snmpOutTooBigs MIB_snmp, 20 81 #define MIB_snmpOutNoSuchNames MIB_snmp, 21 82 #define MIB_snmpOutBadValues MIB_snmp, 22 83 #define MIB_snmpOutGenErrs MIB_snmp, 24 84 #define MIB_snmpOutGetRequests MIB_snmp, 25 85 #define MIB_snmpOutGetNexts MIB_snmp, 26 86 #define MIB_snmpOutSetRequests MIB_snmp, 27 87 #define MIB_snmpOutGetResponses MIB_snmp, 28 88 #define MIB_snmpOutTraps MIB_snmp, 29 89 #define MIB_snmpEnableAuthenTraps MIB_snmp, 30 90 #define MIB_snmpSilentDrops MIB_snmp, 31 91 #define MIB_snmpProxyDrops MIB_snmp, 32 92 #define MIB_experimental MIB_internet, 3 93 #define MIB_private MIB_internet, 4 94 #define MIB_enterprises MIB_private, 1 95 #define MIB_security MIB_internet, 5 96 #define MIB_snmpV2 MIB_internet, 6 97 #define MIB_snmpDomains MIB_snmpV2, 1 98 #define MIB_snmpProxies MIB_snmpV2, 2 99 #define MIB_snmpModules MIB_snmpV2, 3 100 #define MIB_snmpMIB MIB_snmpModules, 1 101 #define MIB_snmpMIBObjects MIB_snmpMIB, 1 102 #define MIB_snmpTrap MIB_snmpMIBObjects, 4 103 #define MIB_snmpTrapOID MIB_snmpTrap, 1 104 #define MIB_snmpTrapEnterprise MIB_snmpTrap, 3 105 #define MIB_snmpTraps MIB_snmpMIBObjects, 5 106 #define MIB_coldStart MIB_snmpTraps, 1 107 #define MIB_warmStart MIB_snmpTraps, 2 108 #define MIB_linkDown MIB_snmpTraps, 3 109 #define MIB_linkUp MIB_snmpTraps, 4 110 #define MIB_authenticationFailure MIB_snmpTraps, 5 111 #define MIB_egpNeighborLoss MIB_snmpTraps, 6 112 113 /* SNMP-USER-BASED-SM-MIB */ 114 #define MIB_framework MIB_snmpModules, 10 115 #define MIB_frameworkObjects MIB_framework, 2 116 #define OIDIDX_snmpEngine 9 117 #define MIB_snmpEngine MIB_frameworkObjects, 1 118 #define MIB_snmpEngineID MIB_snmpEngine, 1 119 #define MIB_snmpEngineBoots MIB_snmpEngine, 2 120 #define MIB_snmpEngineTime MIB_snmpEngine, 3 121 #define MIB_snmpEngineMaxMsgSize MIB_snmpEngine, 4 122 #define MIB_usm MIB_snmpModules, 15 123 #define MIB_usmObjects MIB_usm, 1 124 #define MIB_usmStats MIB_usmObjects, 1 125 #define OIDIDX_usmStats 9 126 #define OIDVAL_usmErrSecLevel 1 127 #define OIDVAL_usmErrTimeWindow 2 128 #define OIDVAL_usmErrUserName 3 129 #define OIDVAL_usmErrEngineId 4 130 #define OIDVAL_usmErrDigest 5 131 #define OIDVAL_usmErrDecrypt 6 132 #define MIB_usmStatsUnsupportedSecLevels MIB_usmStats, OIDVAL_usmErrSecLevel 133 #define MIB_usmStatsNotInTimeWindow MIB_usmStats, OIDVAL_usmErrTimeWindow 134 #define MIB_usmStatsUnknownUserNames MIB_usmStats, OIDVAL_usmErrUserName 135 #define MIB_usmStatsUnknownEngineId MIB_usmStats, OIDVAL_usmErrEngineId 136 #define MIB_usmStatsWrongDigests MIB_usmStats, OIDVAL_usmErrDigest 137 #define MIB_usmStatsDecryptionErrors MIB_usmStats, OIDVAL_usmErrDecrypt 138 139 /* SNMP-TARGET-MIB */ 140 #define MIB_snmpTargetMIB MIB_snmpModules, 12 141 #define MIB_snmpTargetObjects MIB_snmpTargetMIB, 1 142 #define MIB_snmpTargetSpinLock MIB_snmpTargetObjects, 1 143 #define MIB_snmpTargetAddrTable MIB_snmpTargetObjects, 2 144 #define MIB_snmpTargetAddrEntry MIB_snmpTargetAddrTable, 1 145 #define MIB_snmpTargetAddrName MIB_snmpTargetAddrEntry, 1 146 #define MIB_snmpTargetAddrTDomain MIB_snmpTargetAddrEntry, 2 147 #define MIB_snmpTargetAddrTAddress MIB_snmpTargetAddrEntry, 3 148 #define MIB_snmpTargetAddrTimeout MIB_snmpTargetAddrEntry, 4 149 #define MIB_snmpTargetAddrRetryCount MIB_snmpTargetAddrEntry, 5 150 #define MIB_snmpTargetAddrTagList MIB_snmpTargetAddrEntry, 6 151 #define MIB_snmpTargetAddrParams MIB_snmpTargetAddrEntry, 7 152 #define MIB_snmpTargetAddrStorageType MIB_snmpTargetAddrEntry, 8 153 #define MIB_snmpTargetAddrRowStatus MIB_snmpTargetAddrEntry, 9 154 #define MIB_snmpTargetParamsTable MIB_snmpTargetObjects, 3 155 #define MIB_snmpTargetParamsEntry MIB_snmpTargetParamsTable, 1 156 #define MIB_snmpTargetParamsName MIB_snmpTargetParamsEntry, 1 157 #define MIB_snmpTargetParamsMPModel MIB_snmpTargetParamsEntry, 2 158 #define MIB_snmpTargetParamsSecurityModel MIB_snmpTargetParamsEntry, 3 159 #define MIB_snmpTargetParamsSecurityName MIB_snmpTargetParamsEntry, 4 160 #define MIB_snmpTargetParamsSecurityLevel MIB_snmpTargetParamsEntry, 5 161 #define MIB_snmpTargetParamsStorageType MIB_snmpTargetParamsEntry, 6 162 #define MIB_snmpTargetParamsRowStatus MIB_snmpTargetParamsEntry, 7 163 #define MIB_snmpUnavailableContexts MIB_snmpTargetObjects, 4 164 #define MIB_snmpUnknownContexts MIB_snmpTargetObjects, 5 165 166 /* HOST-RESOURCES-MIB */ 167 #define MIB_host MIB_mib_2, 25 168 #define MIB_hrSystem MIB_host, 1 169 #define OIDIDX_hrsystem 8 170 #define MIB_hrSystemUptime MIB_hrSystem, 1 171 #define MIB_hrSystemDate MIB_hrSystem, 2 172 #define MIB_hrSystemInitialLoadDevice MIB_hrSystem, 3 173 #define MIB_hrSystemInitialLoadParameters MIB_hrSystem, 4 174 #define MIB_hrSystemNumUsers MIB_hrSystem, 5 175 #define MIB_hrSystemProcesses MIB_hrSystem, 6 176 #define MIB_hrSystemMaxProcesses MIB_hrSystem, 7 177 #define MIB_hrStorage MIB_host, 2 178 #define MIB_hrStorageTypes MIB_hrStorage, 1 179 #define MIB_hrStorageOther MIB_hrStorageTypes, 1 180 #define MIB_hrStorageRam MIB_hrStorageTypes, 2 181 #define MIB_hrStorageVirtualMemory MIB_hrStorageTypes, 3 182 #define MIB_hrStorageFixedDisk MIB_hrStorageTypes, 4 183 #define MIB_hrStorageRemovableDisk MIB_hrStorageTypes, 5 184 #define MIB_hrStorageFloppyDisk MIB_hrStorageTypes, 6 185 #define MIB_hrStorageCompactDisc MIB_hrStorageTypes, 7 186 #define MIB_hrStorageRamDisk MIB_hrStorageTypes, 8 187 #define MIB_hrStorageFlashMemory MIB_hrStorageTypes, 9 188 #define MIB_hrStorageNetworkDisk MIB_hrStorageTypes, 10 189 #define MIB_hrMemorySize MIB_hrStorage, 2 190 #define MIB_hrStorageTable MIB_hrStorage, 3 191 #define MIB_hrStorageEntry MIB_hrStorageTable, 1 192 #define OIDIDX_hrStorage 10 193 #define OIDIDX_hrStorageEntry 11 194 #define MIB_hrStorageIndex MIB_hrStorageEntry, 1 195 #define MIB_hrStorageType MIB_hrStorageEntry, 2 196 #define MIB_hrStorageDescr MIB_hrStorageEntry, 3 197 #define MIB_hrStorageAllocationUnits MIB_hrStorageEntry, 4 198 #define MIB_hrStorageSize MIB_hrStorageEntry, 5 199 #define MIB_hrStorageUsed MIB_hrStorageEntry, 6 200 #define MIB_hrStorageAllocationFailures MIB_hrStorageEntry, 7 201 #define MIB_hrDevice MIB_host, 3 202 #define MIB_hrDeviceTypes MIB_hrDevice, 1 203 #define MIB_hrDeviceOther MIB_hrDeviceTypes, 1 204 #define MIB_hrDeviceUnknown MIB_hrDeviceTypes, 2 205 #define MIB_hrDeviceProcessor MIB_hrDeviceTypes, 3 206 #define MIB_hrDeviceNetwork MIB_hrDeviceTypes, 4 207 #define MIB_hrDevicePrinter MIB_hrDeviceTypes, 5 208 #define MIB_hrDeviceDiskStorage MIB_hrDeviceTypes, 6 209 #define MIB_hrDeviceVideo MIB_hrDeviceTypes, 10 210 #define MIB_hrDeviceAudio MIB_hrDeviceTypes, 11 211 #define MIB_hrDeviceCoprocessor MIB_hrDeviceTypes, 12 212 #define MIB_hrDeviceKeyboard MIB_hrDeviceTypes, 13 213 #define MIB_hrDeviceModem MIB_hrDeviceTypes, 14 214 #define MIB_hrDeviceParallelPort MIB_hrDeviceTypes, 15 215 #define MIB_hrDevicePointing MIB_hrDeviceTypes, 16 216 #define MIB_hrDeviceSerialPort MIB_hrDeviceTypes, 17 217 #define MIB_hrDeviceTape MIB_hrDeviceTypes, 18 218 #define MIB_hrDeviceClock MIB_hrDeviceTypes, 19 219 #define MIB_hrDeviceVolatileMemory MIB_hrDeviceTypes, 20 220 #define MIB_hrDeviceNonVolatileMemory MIB_hrDeviceTypes, 21 221 #define MIB_hrDeviceTable MIB_hrDevice, 2 222 #define MIB_hrDeviceEntry MIB_hrDeviceTable, 1 223 #define OIDIDX_hrDevice 10 224 #define OIDIDX_hrDeviceEntry 11 225 #define MIB_hrDeviceIndex MIB_hrDeviceEntry, 1 226 #define MIB_hrDeviceType MIB_hrDeviceEntry, 2 227 #define MIB_hrDeviceDescr MIB_hrDeviceEntry, 3 228 #define MIB_hrDeviceID MIB_hrDeviceEntry, 4 229 #define MIB_hrDeviceStatus MIB_hrDeviceEntry, 5 230 #define MIB_hrDeviceErrors MIB_hrDeviceEntry, 6 231 #define MIB_hrProcessorTable MIB_hrDevice, 3 232 #define MIB_hrProcessorEntry MIB_hrProcessorTable, 1 233 #define OIDIDX_hrProcessor 10 234 #define OIDIDX_hrProcessorEntry 11 235 #define MIB_hrProcessorFrwID MIB_hrProcessorEntry, 1 236 #define MIB_hrProcessorLoad MIB_hrProcessorEntry, 2 237 #define MIB_hrSWRun MIB_host, 4 238 #define MIB_hrSWOSIndex MIB_hrSWRun, 1 239 #define MIB_hrSWRunTable MIB_hrSWRun, 2 240 #define MIB_hrSWRunEntry MIB_hrSWRunTable, 1 241 #define OIDIDX_hrSWRun 10 242 #define OIDIDX_hrSWRunEntry 11 243 #define MIB_hrSWRunIndex MIB_hrSWRunEntry, 1 244 #define MIB_hrSWRunName MIB_hrSWRunEntry, 2 245 #define MIB_hrSWRunID MIB_hrSWRunEntry, 3 246 #define MIB_hrSWRunPath MIB_hrSWRunEntry, 4 247 #define MIB_hrSWRunParameters MIB_hrSWRunEntry, 5 248 #define MIB_hrSWRunType MIB_hrSWRunEntry, 6 249 #define MIB_hrSWRunStatus MIB_hrSWRunEntry, 7 250 #define MIB_hrSWRunPerf MIB_host, 5 251 #define MIB_hrSWRunPerfTable MIB_hrSWRunPerf, 1 252 #define OIDIDX_hrSWRunPerf 10 253 #define OIDIDX_hrSWRunPerfEntry 11 254 #define MIB_hrSWRunPerfEntry MIB_hrSWRunPerfTable, 1 255 #define MIB_hrSWRunPerfCPU MIB_hrSWRunPerfEntry, 1 256 #define MIB_hrSWRunPerfMem MIB_hrSWRunPerfEntry, 2 257 #define MIB_hrSWInstalled MIB_host, 6 258 #define MIB_hrMIBAdminInfo MIB_host, 7 259 260 /* IF-MIB */ 261 #define MIB_ifMIB MIB_mib_2, 31 262 #define MIB_ifMIBObjects MIB_ifMIB, 1 263 #define MIB_ifXTable MIB_ifMIBObjects, 1 264 #define MIB_ifXEntry MIB_ifXTable, 1 265 #define OIDIDX_ifX 10 266 #define OIDIDX_ifXEntry 11 267 #define MIB_ifName MIB_ifXEntry, 1 268 #define MIB_ifInMulticastPkts MIB_ifXEntry, 2 269 #define MIB_ifInBroadcastPkts MIB_ifXEntry, 3 270 #define MIB_ifOutMulticastPkts MIB_ifXEntry, 4 271 #define MIB_ifOutBroadcastPkts MIB_ifXEntry, 5 272 #define MIB_ifHCInOctets MIB_ifXEntry, 6 273 #define MIB_ifHCInUcastPkts MIB_ifXEntry, 7 274 #define MIB_ifHCInMulticastPkts MIB_ifXEntry, 8 275 #define MIB_ifHCInBroadcastPkts MIB_ifXEntry, 9 276 #define MIB_ifHCOutOctets MIB_ifXEntry, 10 277 #define MIB_ifHCOutUcastPkts MIB_ifXEntry, 11 278 #define MIB_ifHCOutMulticastPkts MIB_ifXEntry, 12 279 #define MIB_ifHCOutBroadcastPkts MIB_ifXEntry, 13 280 #define MIB_ifLinkUpDownTrapEnable MIB_ifXEntry, 14 281 #define MIB_ifHighSpeed MIB_ifXEntry, 15 282 #define MIB_ifPromiscuousMode MIB_ifXEntry, 16 283 #define MIB_ifConnectorPresent MIB_ifXEntry, 17 284 #define MIB_ifAlias MIB_ifXEntry, 18 285 #define MIB_ifCounterDiscontinuityTime MIB_ifXEntry, 19 286 #define MIB_ifStackTable MIB_ifMIBObjects, 2 287 #define MIB_ifStackEntry MIB_ifStackTable, 1 288 #define OIDIDX_ifStack 10 289 #define OIDIDX_ifStackEntry 11 290 #define MIB_ifStackStatus MIB_ifStackEntry, 3 291 #define MIB_ifRcvAddressTable MIB_ifMIBObjects, 4 292 #define MIB_ifRcvAddressEntry MIB_ifRcvAddressTable, 1 293 #define OIDIDX_ifRcvAddress 10 294 #define OIDIDX_ifRcvAddressEntry 11 295 #define MIB_ifRcvAddressStatus MIB_ifRcvAddressEntry, 2 296 #define MIB_ifRcvAddressType MIB_ifRcvAddressEntry, 3 297 #define MIB_ifStackLastChange MIB_ifMIBObjects, 6 298 #define MIB_interfaces MIB_mib_2, 2 299 #define MIB_ifNumber MIB_interfaces, 1 300 #define MIB_ifTable MIB_interfaces, 2 301 #define MIB_ifEntry MIB_ifTable, 1 302 #define OIDIDX_if 9 303 #define OIDIDX_ifEntry 10 304 #define MIB_ifIndex MIB_ifEntry, 1 305 #define MIB_ifDescr MIB_ifEntry, 2 306 #define MIB_ifType MIB_ifEntry, 3 307 #define MIB_ifMtu MIB_ifEntry, 4 308 #define MIB_ifSpeed MIB_ifEntry, 5 309 #define MIB_ifPhysAddress MIB_ifEntry, 6 310 #define MIB_ifAdminStatus MIB_ifEntry, 7 311 #define MIB_ifOperStatus MIB_ifEntry, 8 312 #define MIB_ifLastChange MIB_ifEntry, 9 313 #define MIB_ifInOctets MIB_ifEntry, 10 314 #define MIB_ifInUcastPkts MIB_ifEntry, 11 315 #define MIB_ifInNUcastPkts MIB_ifEntry, 12 316 #define MIB_ifInDiscards MIB_ifEntry, 13 317 #define MIB_ifInErrors MIB_ifEntry, 14 318 #define MIB_ifInUnknownProtos MIB_ifEntry, 15 319 #define MIB_ifOutOctets MIB_ifEntry, 16 320 #define MIB_ifOutUcastPkts MIB_ifEntry, 17 321 #define MIB_ifOutNUcastPkts MIB_ifEntry, 18 322 #define MIB_ifOutDiscards MIB_ifEntry, 19 323 #define MIB_ifOutErrors MIB_ifEntry, 20 324 #define MIB_ifOutQLen MIB_ifEntry, 21 325 #define MIB_ifSpecific MIB_ifEntry, 22 326 327 /* IP-MIB */ 328 #define MIB_ipMIB MIB_mib_2, 4 329 #define OIDIDX_ip 7 330 #define MIB_ipForwarding MIB_ipMIB, 1 331 #define MIB_ipDefaultTTL MIB_ipMIB, 2 332 #define MIB_ipInReceives MIB_ipMIB, 3 333 #define MIB_ipInHdrErrors MIB_ipMIB, 4 334 #define MIB_ipInAddrErrors MIB_ipMIB, 5 335 #define MIB_ipForwDatagrams MIB_ipMIB, 6 336 #define MIB_ipInUnknownProtos MIB_ipMIB, 7 337 #define MIB_ipInDiscards MIB_ipMIB, 8 338 #define MIB_ipInDelivers MIB_ipMIB, 9 339 #define MIB_ipOutRequests MIB_ipMIB, 10 340 #define MIB_ipOutDiscards MIB_ipMIB, 11 341 #define MIB_ipOutNoRoutes MIB_ipMIB, 12 342 #define MIB_ipReasmTimeout MIB_ipMIB, 13 343 #define MIB_ipReasmReqds MIB_ipMIB, 14 344 #define MIB_ipReasmOKs MIB_ipMIB, 15 345 #define MIB_ipReasmFails MIB_ipMIB, 16 346 #define MIB_ipFragOKs MIB_ipMIB, 17 347 #define MIB_ipFragFails MIB_ipMIB, 18 348 #define MIB_ipFragCreates MIB_ipMIB, 19 349 #define MIB_ipAddrTable MIB_ipMIB, 20 350 #define MIB_ipAddrEntry MIB_ipAddrTable, 1 351 #define OIDIDX_ipAddr 9 352 #define OIDIDX_ipAddrEntry 10 353 #define MIB_ipAdEntAddr MIB_ipAddrEntry, 1 354 #define MIB_ipAdEntIfIndex MIB_ipAddrEntry, 2 355 #define MIB_ipAdEntNetMask MIB_ipAddrEntry, 3 356 #define MIB_ipAdEntBcastAddr MIB_ipAddrEntry, 4 357 #define MIB_ipAdEntReasmMaxSize MIB_ipAddrEntry, 5 358 #define MIB_ipNetToMediaTable MIB_ipMIB, 22 359 #define MIB_ipNetToMediaEntry MIB_ipNetToMediaTable, 1 360 #define OIDIDX_ipNetToMedia 9 361 #define MIB_ipNetToMediaIfIndex MIB_ipNetToMediaEntry, 1 362 #define MIB_ipNetToMediaPhysAddress MIB_ipNetToMediaEntry, 2 363 #define MIB_ipNetToMediaNetAddress MIB_ipNetToMediaEntry, 3 364 #define MIB_ipNetToMediaType MIB_ipNetToMediaEntry, 4 365 #define MIB_ipRoutingDiscards MIB_ipMIB, 23 366 367 /* IP-FORWARD-MIB */ 368 #define MIB_ipfMIB MIB_ipMIB, 24 369 #define MIB_ipfInetCidrRouteNumber MIB_ipfMIB, 6 370 #define MIB_ipfInetCidrRouteTable MIB_ipfMIB, 7 371 #define MIB_ipfInetCidrRouteEntry MIB_ipfInetCidrRouteTable, 1 372 #define OIDIDX_ipfInetCidrRoute 10 373 #define MIB_ipfRouteEntDestType MIB_ipfInetCidrRouteEntry, 1 374 #define MIB_ipfRouteEntDest MIB_ipfInetCidrRouteEntry, 2 375 #define MIB_ipfRouteEntPfxLen MIB_ipfInetCidrRouteEntry, 3 376 #define MIB_ipfRouteEntPolicy MIB_ipfInetCidrRouteEntry, 4 377 #define MIB_ipfRouteEntNextHopType MIB_ipfInetCidrRouteEntry, 5 378 #define MIB_ipfRouteEntNextHop MIB_ipfInetCidrRouteEntry, 6 379 #define MIB_ipfRouteEntIfIndex MIB_ipfInetCidrRouteEntry, 7 380 #define MIB_ipfRouteEntType MIB_ipfInetCidrRouteEntry, 8 381 #define MIB_ipfRouteEntProto MIB_ipfInetCidrRouteEntry, 9 382 #define MIB_ipfRouteEntAge MIB_ipfInetCidrRouteEntry, 10 383 #define MIB_ipfRouteEntNextHopAS MIB_ipfInetCidrRouteEntry, 11 384 #define MIB_ipfRouteEntRouteMetric1 MIB_ipfInetCidrRouteEntry, 12 385 #define MIB_ipfRouteEntRouteMetric2 MIB_ipfInetCidrRouteEntry, 13 386 #define MIB_ipfRouteEntRouteMetric3 MIB_ipfInetCidrRouteEntry, 14 387 #define MIB_ipfRouteEntRouteMetric4 MIB_ipfInetCidrRouteEntry, 15 388 #define MIB_ipfRouteEntRouteMetric5 MIB_ipfInetCidrRouteEntry, 16 389 #define MIB_ipfRouteEntStatus MIB_ipfInetCidrRouteEntry, 17 390 #define MIB_ipfInetCidrRouteDiscards MIB_ipfMIB, 8 391 392 /* BRIDGE-MIB */ 393 #define MIB_dot1dBridge MIB_mib_2, 17 394 #define MIB_dot1dBase MIB_dot1dBridge, 1 395 #define MIB_dot1dBaseBridgeAddress MIB_dot1dBase, 1 396 #define MIB_dot1dBaseNumPorts MIB_dot1dBase, 2 397 #define MIB_dot1dBaseType MIB_dot1dBase, 3 398 #define MIB_dot1dBasePortTable MIB_dot1dBase, 4 399 #define OIDIDX_dot1d 10 400 #define OIDIDX_dot1dEntry 11 401 #define MIB_dot1dBasePortEntry MIB_dot1dBasePortTable, 1 402 #define MIB_dot1dBasePort MIB_dot1dBasePortEntry, 1 403 #define MIB_dot1dBasePortIfIndex MIB_dot1dBasePortEntry, 2 404 #define MIB_dot1dBasePortCircuit MIB_dot1dBasePortEntry, 3 405 #define MIB_dot1dBasePortDelayExceededDiscards MIB_dot1dBasePortEntry, 4 406 #define MIB_dot1dBasePortMtuExceededDiscards MIB_dot1dBasePortEntry, 5 407 #define MIB_dot1dStp MIB_dot1dBridge, 2 408 #define MIB_dot1dSr MIB_dot1dBridge, 3 409 #define MIB_dot1dTp MIB_dot1dBridge, 4 410 #define MIB_dot1dStatic MIB_dot1dBridge, 5 411 412 /* 413 * PRIVATE ENTERPRISE NUMBERS from 414 * https://www.iana.org/assignments/enterprise-numbers 415 * 416 * This is not the complete list of private enterprise numbers, it only 417 * includes some well-known companies and especially network companies 418 * that are very common in the datacenters around the world, other 419 * companies that contributed to snmpd or OpenBSD in some way, or just 420 * any other organizations that we wanted to include. It would be an 421 * overkill to include ~30.000 entries for all the organizations from 422 * the official list. 423 */ 424 #define MIB_ibm MIB_enterprises, 2 425 #define MIB_cmu MIB_enterprises, 3 426 #define MIB_unix MIB_enterprises, 4 427 #define MIB_ciscoSystems MIB_enterprises, 9 428 #define MIB_hp MIB_enterprises, 11 429 #define MIB_mit MIB_enterprises, 20 430 #define MIB_nortelNetworks MIB_enterprises, 35 431 #define MIB_sun MIB_enterprises, 42 432 #define MIB_3com MIB_enterprises, 43 433 #define MIB_synOptics MIB_enterprises, 45 434 #define MIB_enterasys MIB_enterprises, 52 435 #define MIB_sgi MIB_enterprises, 59 436 #define MIB_apple MIB_enterprises, 63 437 #define MIB_nasa MIB_enterprises, 71 438 #define MIB_att MIB_enterprises, 74 439 #define MIB_nokia MIB_enterprises, 94 440 #define MIB_cern MIB_enterprises, 96 441 #define MIB_oracle MIB_enterprises, 111 442 #define MIB_motorola MIB_enterprises, 161 443 #define MIB_ncr MIB_enterprises, 191 444 #define MIB_ericsson MIB_enterprises, 193 445 #define MIB_fsc MIB_enterprises, 231 446 #define MIB_compaq MIB_enterprises, 232 447 #define MIB_bmw MIB_enterprises, 513 448 #define MIB_dell MIB_enterprises, 674 449 #define MIB_iij MIB_enterprises, 770 450 #define MIB_sandia MIB_enterprises, 1400 451 #define MIB_mercedesBenz MIB_enterprises, 1635 452 #define MIB_alteon MIB_enterprises, 1872 453 #define MIB_extremeNetworks MIB_enterprises, 1916 454 #define MIB_foundryNetworks MIB_enterprises, 1991 455 #define MIB_huawaiTechnology MIB_enterprises, 2011 456 #define MIB_ucDavis MIB_enterprises, 2021 457 #define MIB_freeBSD MIB_enterprises, 2238 458 #define MIB_checkPoint MIB_enterprises, 2620 459 #define MIB_juniper MIB_enterprises, 2636 460 #define MIB_printerWorkingGroup MIB_enterprises, 2699 461 #define MIB_audi MIB_enterprises, 3195 462 #define MIB_volkswagen MIB_enterprises, 3210 463 #define MIB_genua MIB_enterprises, 3717 464 #define MIB_amazon MIB_enterprises, 4843 465 #define MIB_force10Networks MIB_enterprises, 6027 466 #define MIB_vMware MIB_enterprises, 6876 467 #define MIB_alcatelLucent MIB_enterprises, 7483 468 #define MIB_snom MIB_enterprises, 7526 469 #define MIB_netSNMP MIB_enterprises, 8072 470 #define MIB_netflix MIB_enterprises, 10949 471 #define MIB_google MIB_enterprises, 11129 472 #define MIB_f5Networks MIB_enterprises, 12276 473 #define MIB_bsws MIB_enterprises, 13635 474 #define MIB_sFlow MIB_enterprises, 14706 475 #define MIB_microSystems MIB_enterprises, 18623 476 #define MIB_paloAltoNetworks MIB_enterprises, 25461 477 #define MIB_h3c MIB_enterprises, 25506 478 #define MIB_vantronix MIB_enterprises, 26766 479 #define MIB_netBSD MIB_enterprises, 32388 480 #define OIDVAL_openBSD_eid 30155 481 #define MIB_openBSD MIB_enterprises, OIDVAL_openBSD_eid 482 #define MIB_nicira MIB_enterprises, 39961 483 #define MIB_esdenera MIB_enterprises, 42459 484 #define MIB_arcaTrust MIB_enterprises, 52198 485 486 /* UCD-DISKIO-MIB */ 487 #define MIB_ucdExperimental MIB_ucDavis, 13 488 #define MIB_ucdDiskIOMIB MIB_ucdExperimental, 15 489 #define MIB_diskIOTable MIB_ucdDiskIOMIB, 1 490 #define MIB_diskIOEntry MIB_diskIOTable, 1 491 #define OIDIDX_diskIO 11 492 #define OIDIDX_diskIOEntry 12 493 #define MIB_diskIOIndex MIB_diskIOEntry, 1 494 #define MIB_diskIODevice MIB_diskIOEntry, 2 495 #define MIB_diskIONRead MIB_diskIOEntry, 3 496 #define MIB_diskIONWritten MIB_diskIOEntry, 4 497 #define MIB_diskIOReads MIB_diskIOEntry, 5 498 #define MIB_diskIOWrites MIB_diskIOEntry, 6 499 #define MIB_diskIONReadX MIB_diskIOEntry, 12 500 #define MIB_diskIONWrittenX MIB_diskIOEntry, 13 501 502 /* OPENBSD-MIB */ 503 #define MIB_pfMIBObjects MIB_openBSD, 1 504 #define MIB_pfInfo MIB_pfMIBObjects, 1 505 #define MIB_pfRunning MIB_pfInfo, 1 506 #define MIB_pfRuntime MIB_pfInfo, 2 507 #define MIB_pfDebug MIB_pfInfo, 3 508 #define MIB_pfHostid MIB_pfInfo, 4 509 #define MIB_pfCounters MIB_pfMIBObjects, 2 510 #define MIB_pfCntMatch MIB_pfCounters, 1 511 #define MIB_pfCntBadOffset MIB_pfCounters, 2 512 #define MIB_pfCntFragment MIB_pfCounters, 3 513 #define MIB_pfCntShort MIB_pfCounters, 4 514 #define MIB_pfCntNormalize MIB_pfCounters, 5 515 #define MIB_pfCntMemory MIB_pfCounters, 6 516 #define MIB_pfCntTimestamp MIB_pfCounters, 7 517 #define MIB_pfCntCongestion MIB_pfCounters, 8 518 #define MIB_pfCntIpOptions MIB_pfCounters, 9 519 #define MIB_pfCntProtoCksum MIB_pfCounters, 10 520 #define MIB_pfCntStateMismatch MIB_pfCounters, 11 521 #define MIB_pfCntStateInsert MIB_pfCounters, 12 522 #define MIB_pfCntStateLimit MIB_pfCounters, 13 523 #define MIB_pfCntSrcLimit MIB_pfCounters, 14 524 #define MIB_pfCntSynproxy MIB_pfCounters, 15 525 #define MIB_pfCntTranslate MIB_pfCounters, 16 526 #define MIB_pfCntNoRoute MIB_pfCounters, 17 527 #define MIB_pfStateTable MIB_pfMIBObjects, 3 528 #define MIB_pfStateCount MIB_pfStateTable, 1 529 #define MIB_pfStateSearches MIB_pfStateTable, 2 530 #define MIB_pfStateInserts MIB_pfStateTable, 3 531 #define MIB_pfStateRemovals MIB_pfStateTable, 4 532 #define MIB_pfLogInterface MIB_pfMIBObjects, 4 533 #define MIB_pfLogIfName MIB_pfLogInterface, 1 534 #define MIB_pfLogIfIpBytesIn MIB_pfLogInterface, 2 535 #define MIB_pfLogIfIpBytesOut MIB_pfLogInterface, 3 536 #define MIB_pfLogIfIpPktsInPass MIB_pfLogInterface, 4 537 #define MIB_pfLogIfIpPktsInDrop MIB_pfLogInterface, 5 538 #define MIB_pfLogIfIpPktsOutPass MIB_pfLogInterface, 6 539 #define MIB_pfLogIfIpPktsOutDrop MIB_pfLogInterface, 7 540 #define MIB_pfLogIfIp6BytesIn MIB_pfLogInterface, 8 541 #define MIB_pfLogIfIp6BytesOut MIB_pfLogInterface, 9 542 #define MIB_pfLogIfIp6PktsInPass MIB_pfLogInterface, 10 543 #define MIB_pfLogIfIp6PktsInDrop MIB_pfLogInterface, 11 544 #define MIB_pfLogIfIp6PktsOutPass MIB_pfLogInterface, 12 545 #define MIB_pfLogIfIp6PktsOutDrop MIB_pfLogInterface, 13 546 #define MIB_pfSrcTracking MIB_pfMIBObjects, 5 547 #define MIB_pfSrcTrackCount MIB_pfSrcTracking, 1 548 #define MIB_pfSrcTrackSearches MIB_pfSrcTracking, 2 549 #define MIB_pfSrcTrackInserts MIB_pfSrcTracking, 3 550 #define MIB_pfSrcTrackRemovals MIB_pfSrcTracking, 4 551 #define MIB_pfLimits MIB_pfMIBObjects, 6 552 #define MIB_pfLimitStates MIB_pfLimits, 1 553 #define MIB_pfLimitSourceNodes MIB_pfLimits, 2 554 #define MIB_pfLimitFragments MIB_pfLimits, 3 555 #define MIB_pfLimitMaxTables MIB_pfLimits, 4 556 #define MIB_pfLimitMaxTableEntries MIB_pfLimits, 5 557 #define MIB_pfTimeouts MIB_pfMIBObjects, 7 558 #define MIB_pfTimeoutTcpFirst MIB_pfTimeouts, 1 559 #define MIB_pfTimeoutTcpOpening MIB_pfTimeouts, 2 560 #define MIB_pfTimeoutTcpEstablished MIB_pfTimeouts, 3 561 #define MIB_pfTimeoutTcpClosing MIB_pfTimeouts, 4 562 #define MIB_pfTimeoutTcpFinWait MIB_pfTimeouts, 5 563 #define MIB_pfTimeoutTcpClosed MIB_pfTimeouts, 6 564 #define MIB_pfTimeoutUdpFirst MIB_pfTimeouts, 7 565 #define MIB_pfTimeoutUdpSingle MIB_pfTimeouts, 8 566 #define MIB_pfTimeoutUdpMultiple MIB_pfTimeouts, 9 567 #define MIB_pfTimeoutIcmpFirst MIB_pfTimeouts, 10 568 #define MIB_pfTimeoutIcmpError MIB_pfTimeouts, 11 569 #define MIB_pfTimeoutOtherFirst MIB_pfTimeouts, 12 570 #define MIB_pfTimeoutOtherSingle MIB_pfTimeouts, 13 571 #define MIB_pfTimeoutOtherMultiple MIB_pfTimeouts, 14 572 #define MIB_pfTimeoutFragment MIB_pfTimeouts, 15 573 #define MIB_pfTimeoutInterval MIB_pfTimeouts, 16 574 #define MIB_pfTimeoutAdaptiveStart MIB_pfTimeouts, 17 575 #define MIB_pfTimeoutAdaptiveEnd MIB_pfTimeouts, 18 576 #define MIB_pfTimeoutSrcTrack MIB_pfTimeouts, 19 577 #define OIDIDX_pfstatus 9 578 #define MIB_pfInterfaces MIB_pfMIBObjects, 8 579 #define MIB_pfIfNumber MIB_pfInterfaces, 1 580 #define MIB_pfIfTable MIB_pfInterfaces, 128 581 #define MIB_pfIfEntry MIB_pfIfTable, 1 582 #define OIDIDX_pfInterface 11 583 #define OIDIDX_pfIfEntry 12 584 #define MIB_pfIfIndex MIB_pfIfEntry, 1 585 #define MIB_pfIfDescr MIB_pfIfEntry, 2 586 #define MIB_pfIfType MIB_pfIfEntry, 3 587 #define MIB_pfIfRefs MIB_pfIfEntry, 4 588 #define MIB_pfIfRules MIB_pfIfEntry, 5 589 #define MIB_pfIfIn4PassPkts MIB_pfIfEntry, 6 590 #define MIB_pfIfIn4PassBytes MIB_pfIfEntry, 7 591 #define MIB_pfIfIn4BlockPkts MIB_pfIfEntry, 8 592 #define MIB_pfIfIn4BlockBytes MIB_pfIfEntry, 9 593 #define MIB_pfIfOut4PassPkts MIB_pfIfEntry, 10 594 #define MIB_pfIfOut4PassBytes MIB_pfIfEntry, 11 595 #define MIB_pfIfOut4BlockPkts MIB_pfIfEntry, 12 596 #define MIB_pfIfOut4BlockBytes MIB_pfIfEntry, 13 597 #define MIB_pfIfIn6PassPkts MIB_pfIfEntry, 14 598 #define MIB_pfIfIn6PassBytes MIB_pfIfEntry, 15 599 #define MIB_pfIfIn6BlockPkts MIB_pfIfEntry, 16 600 #define MIB_pfIfIn6BlockBytes MIB_pfIfEntry, 17 601 #define MIB_pfIfOut6PassPkts MIB_pfIfEntry, 18 602 #define MIB_pfIfOut6PassBytes MIB_pfIfEntry, 19 603 #define MIB_pfIfOut6BlockPkts MIB_pfIfEntry, 20 604 #define MIB_pfIfOut6BlockBytes MIB_pfIfEntry, 21 605 #define MIB_pfTables MIB_pfMIBObjects, 9 606 #define MIB_pfTblNumber MIB_pfTables, 1 607 #define MIB_pfTblTable MIB_pfTables, 128 608 #define MIB_pfTblEntry MIB_pfTblTable, 1 609 #define OIDIDX_pfTable 11 610 #define OIDIDX_pfTableEntry 12 611 #define MIB_pfTblIndex MIB_pfTblEntry, 1 612 #define MIB_pfTblName MIB_pfTblEntry, 2 613 #define MIB_pfTblAddresses MIB_pfTblEntry, 3 614 #define MIB_pfTblAnchorRefs MIB_pfTblEntry, 4 615 #define MIB_pfTblRuleRefs MIB_pfTblEntry, 5 616 #define MIB_pfTblEvalsMatch MIB_pfTblEntry, 6 617 #define MIB_pfTblEvalsNoMatch MIB_pfTblEntry, 7 618 #define MIB_pfTblInPassPkts MIB_pfTblEntry, 8 619 #define MIB_pfTblInPassBytes MIB_pfTblEntry, 9 620 #define MIB_pfTblInBlockPkts MIB_pfTblEntry, 10 621 #define MIB_pfTblInBlockBytes MIB_pfTblEntry, 11 622 #define MIB_pfTblInXPassPkts MIB_pfTblEntry, 12 623 #define MIB_pfTblInXPassBytes MIB_pfTblEntry, 13 624 #define MIB_pfTblOutPassPkts MIB_pfTblEntry, 14 625 #define MIB_pfTblOutPassBytes MIB_pfTblEntry, 15 626 #define MIB_pfTblOutBlockPkts MIB_pfTblEntry, 16 627 #define MIB_pfTblOutBlockBytes MIB_pfTblEntry, 17 628 #define MIB_pfTblOutXPassPkts MIB_pfTblEntry, 18 629 #define MIB_pfTblOutXPassBytes MIB_pfTblEntry, 19 630 #define MIB_pfTblStatsCleared MIB_pfTblEntry, 20 631 #define MIB_pfTblInMatchPkts MIB_pfTblEntry, 21 632 #define MIB_pfTblInMatchBytes MIB_pfTblEntry, 22 633 #define MIB_pfTblOutMatchPkts MIB_pfTblEntry, 23 634 #define MIB_pfTblOutMatchBytes MIB_pfTblEntry, 24 635 #define MIB_pfTblAddrTable MIB_pfTables, 129 636 #define MIB_pfTblAddrEntry MIB_pfTblAddrTable, 1 637 #define OIDIDX_pfTblAddr 11 638 #define MIB_pfTblAddrTblIndex MIB_pfTblAddrEntry, 1 639 #define MIB_pfTblAddrNet MIB_pfTblAddrEntry, 2 640 #define MIB_pfTblAddrMask MIB_pfTblAddrEntry, 3 641 #define MIB_pfTblAddrCleared MIB_pfTblAddrEntry, 4 642 #define MIB_pfTblAddrInBlockPkts MIB_pfTblAddrEntry, 5 643 #define MIB_pfTblAddrInBlockBytes MIB_pfTblAddrEntry, 6 644 #define MIB_pfTblAddrInPassPkts MIB_pfTblAddrEntry, 7 645 #define MIB_pfTblAddrInPassBytes MIB_pfTblAddrEntry, 8 646 #define MIB_pfTblAddrOutBlockPkts MIB_pfTblAddrEntry, 9 647 #define MIB_pfTblAddrOutBlockBytes MIB_pfTblAddrEntry, 10 648 #define MIB_pfTblAddrOutPassPkts MIB_pfTblAddrEntry, 11 649 #define MIB_pfTblAddrOutPassBytes MIB_pfTblAddrEntry, 12 650 #define MIB_pfTblAddrInMatchPkts MIB_pfTblAddrEntry, 13 651 #define MIB_pfTblAddrInMatchBytes MIB_pfTblAddrEntry, 14 652 #define MIB_pfTblAddrOutMatchPkts MIB_pfTblAddrEntry, 15 653 #define MIB_pfTblAddrOutMatchBytes MIB_pfTblAddrEntry, 16 654 #define MIB_pfLabels MIB_pfMIBObjects, 10 655 #define MIB_pfLabelNumber MIB_pfLabels, 1 656 #define MIB_pfLabelTable MIB_pfLabels, 128 657 #define OIDIDX_pfLabel 11 658 #define OIDIDX_pfLabelEntry 12 659 #define MIB_pfLabelEntry MIB_pfLabelTable, 1 660 #define MIB_pfLabelIndex MIB_pfLabelEntry, 1 661 #define MIB_pfLabelName MIB_pfLabelEntry, 2 662 #define MIB_pfLabelEvals MIB_pfLabelEntry, 3 663 #define MIB_pfLabelPkts MIB_pfLabelEntry, 4 664 #define MIB_pfLabelBytes MIB_pfLabelEntry, 5 665 #define MIB_pfLabelInPkts MIB_pfLabelEntry, 6 666 #define MIB_pfLabelInBytes MIB_pfLabelEntry, 7 667 #define MIB_pfLabelOutPkts MIB_pfLabelEntry, 8 668 #define MIB_pfLabelOutBytes MIB_pfLabelEntry, 9 669 #define MIB_pfLabelTotalStates MIB_pfLabelEntry, 10 670 #define MIB_pfsyncStats MIB_pfMIBObjects, 11 671 #define MIB_pfsyncIpPktsRecv MIB_pfsyncStats, 1 672 #define MIB_pfsyncIp6PktsRecv MIB_pfsyncStats, 2 673 #define MIB_pfsyncPktDiscardsForBadInterface MIB_pfsyncStats, 3 674 #define MIB_pfsyncPktDiscardsForBadTtl MIB_pfsyncStats, 4 675 #define MIB_pfsyncPktShorterThanHeader MIB_pfsyncStats, 5 676 #define MIB_pfsyncPktDiscardsForBadVersion MIB_pfsyncStats, 6 677 #define MIB_pfsyncPktDiscardsForBadAction MIB_pfsyncStats, 7 678 #define MIB_pfsyncPktDiscardsForBadLength MIB_pfsyncStats, 8 679 #define MIB_pfsyncPktDiscardsForBadAuth MIB_pfsyncStats, 9 680 #define MIB_pfsyncPktDiscardsForStaleState MIB_pfsyncStats, 10 681 #define MIB_pfsyncPktDiscardsForBadValues MIB_pfsyncStats, 11 682 #define MIB_pfsyncPktDiscardsForBadState MIB_pfsyncStats, 12 683 #define MIB_pfsyncIpPktsSent MIB_pfsyncStats, 13 684 #define MIB_pfsyncIp6PktsSent MIB_pfsyncStats, 14 685 #define MIB_pfsyncNoMemory MIB_pfsyncStats, 15 686 #define MIB_pfsyncOutputErrors MIB_pfsyncStats, 16 687 #define MIB_sensorsMIBObjects MIB_openBSD, 2 688 #define MIB_sensors MIB_sensorsMIBObjects, 1 689 #define MIB_sensorNumber MIB_sensors, 1 690 #define MIB_sensorTable MIB_sensors, 2 691 #define MIB_sensorEntry MIB_sensorTable, 1 692 #define OIDIDX_sensor 11 693 #define OIDIDX_sensorEntry 12 694 #define MIB_sensorIndex MIB_sensorEntry, 1 695 #define MIB_sensorDescr MIB_sensorEntry, 2 696 #define MIB_sensorType MIB_sensorEntry, 3 697 #define MIB_sensorDevice MIB_sensorEntry, 4 698 #define MIB_sensorValue MIB_sensorEntry, 5 699 #define MIB_sensorUnits MIB_sensorEntry, 6 700 #define MIB_sensorStatus MIB_sensorEntry, 7 701 #define MIB_relaydMIBObjects MIB_openBSD, 3 702 #define MIB_relaydHostTrap MIB_relaydMIBObjects, 1 703 #define MIB_relaydHostTrapHostName MIB_relaydHostTrap, 1 704 #define MIB_relaydHostTrapUp MIB_relaydHostTrap, 2 705 #define MIB_relaydHostTrapLastUp MIB_relaydHostTrap, 3 706 #define MIB_relaydHostTrapUpCount MIB_relaydHostTrap, 4 707 #define MIB_relaydHostTrapCheckCount MIB_relaydHostTrap, 5 708 #define MIB_relaydHostTrapTableName MIB_relaydHostTrap, 6 709 #define MIB_relaydHostTrapTableUp MIB_relaydHostTrap, 7 710 #define MIB_relaydHostTrapRetry MIB_relaydHostTrap, 8 711 #define MIB_relaydHostTrapRetryCount MIB_relaydHostTrap, 9 712 #define MIB_ipsecMIBObjects MIB_openBSD, 4 713 #define MIB_memMIBObjects MIB_openBSD, 5 714 #define MIB_memMIBVersion MIB_memMIBObjects, 1 715 #define OIDVER_OPENBSD_MEM 1 716 #define MIB_memIfTable MIB_memMIBObjects, 2 717 #define MIB_memIfEntry MIB_memIfTable, 1 718 #define OIDIDX_memIf 10 719 #define OIDIDX_memIfEntry 11 720 #define MIB_memIfName MIB_memIfEntry, 1 721 #define MIB_memIfLiveLocks MIB_memIfEntry, 2 722 #define MIB_carpMIBObjects MIB_openBSD, 6 723 #define MIB_carpSysctl MIB_carpMIBObjects, 1 724 #define MIB_carpAllow MIB_carpSysctl, 1 725 #define MIB_carpPreempt MIB_carpSysctl, 2 726 #define MIB_carpLog MIB_carpSysctl, 3 727 #define OIDIDX_carpsysctl 9 728 #define MIB_carpIf MIB_carpMIBObjects, 2 729 #define MIB_carpIfNumber MIB_carpIf, 1 730 #define MIB_carpIfTable MIB_carpIf, 2 731 #define MIB_carpIfEntry MIB_carpIfTable, 1 732 #define OIDIDX_carpIf 11 733 #define OIDIDX_carpIfEntry 12 734 #define MIB_carpIfIndex MIB_carpIfEntry, 1 735 #define MIB_carpIfDescr MIB_carpIfEntry, 2 736 #define MIB_carpIfVhid MIB_carpIfEntry, 3 737 #define MIB_carpIfDev MIB_carpIfEntry, 4 738 #define MIB_carpIfAdvbase MIB_carpIfEntry, 5 739 #define MIB_carpIfAdvskew MIB_carpIfEntry, 6 740 #define MIB_carpIfState MIB_carpIfEntry, 7 741 #define OIDIDX_carpstats 9 742 #define MIB_carpStats MIB_carpMIBObjects, 3 743 #define MIB_carpIpPktsRecv MIB_carpStats, 1 744 #define MIB_carpIp6PktsRecv MIB_carpStats, 2 745 #define MIB_carpPktDiscardsBadIface MIB_carpStats, 3 746 #define MIB_carpPktDiscardsBadTtl MIB_carpStats, 4 747 #define MIB_carpPktShorterThanHdr MIB_carpStats, 5 748 #define MIB_carpDiscardsBadCksum MIB_carpStats, 6 749 #define MIB_carpDiscardsBadVersion MIB_carpStats, 7 750 #define MIB_carpDiscardsTooShort MIB_carpStats, 8 751 #define MIB_carpDiscardsBadAuth MIB_carpStats, 9 752 #define MIB_carpDiscardsBadVhid MIB_carpStats, 10 753 #define MIB_carpDiscardsBadAddrList MIB_carpStats, 11 754 #define MIB_carpIpPktsSent MIB_carpStats, 12 755 #define MIB_carpIp6PktsSent MIB_carpStats, 13 756 #define MIB_carpNoMemory MIB_carpStats, 14 757 #define MIB_carpTransitionsToMaster MIB_carpStats, 15 758 #define MIB_carpGroupTable MIB_carpMIBObjects, 4 759 #define MIB_carpGroupEntry MIB_carpGroupTable, 1 760 #define OIDIDX_carpGroupEntry 10 761 #define OIDIDX_carpGroupIndex 11 762 #define MIB_carpGroupName MIB_carpGroupEntry, 2 763 #define MIB_carpGroupDemote MIB_carpGroupEntry, 3 764 #define MIB_localSystem MIB_openBSD, 23 765 #define MIB_SYSOID_DEFAULT MIB_openBSD, 23, 1 766 #define MIB_localTest MIB_openBSD, 42 767 768 #define MIB_TREE { \ 769 { MIBDECL(iso) }, \ 770 { MIBDECL(org) }, \ 771 { MIBDECL(dod) }, \ 772 { MIBDECL(internet) }, \ 773 { MIBDECL(directory) }, \ 774 { MIBDECL(mgmt) }, \ 775 { MIBDECL(mib_2) }, \ 776 { MIBDECL(system) }, \ 777 { MIBDECL(sysDescr) }, \ 778 { MIBDECL(sysOID) }, \ 779 { MIBDECL(sysUpTime) }, \ 780 { MIBDECL(sysContact) }, \ 781 { MIBDECL(sysName) }, \ 782 { MIBDECL(sysLocation) }, \ 783 { MIBDECL(sysServices) }, \ 784 { MIBDECL(sysORLastChange) }, \ 785 { MIBDECL(sysORTable) }, \ 786 { MIBDECL(sysOREntry) }, \ 787 { MIBDECL(sysORIndex) }, \ 788 { MIBDECL(sysORID) }, \ 789 { MIBDECL(sysORDescr) }, \ 790 { MIBDECL(sysORUpTime) }, \ 791 { MIBDECL(transmission) }, \ 792 { MIBDECL(snmp) }, \ 793 { MIBDECL(snmpInPkts) }, \ 794 { MIBDECL(snmpOutPkts) }, \ 795 { MIBDECL(snmpInBadVersions) }, \ 796 { MIBDECL(snmpInBadCommunityNames) }, \ 797 { MIBDECL(snmpInBadCommunityUses) }, \ 798 { MIBDECL(snmpInASNParseErrs) }, \ 799 { MIBDECL(snmpInTooBigs) }, \ 800 { MIBDECL(snmpInNoSuchNames) }, \ 801 { MIBDECL(snmpInBadValues) }, \ 802 { MIBDECL(snmpInReadOnlys) }, \ 803 { MIBDECL(snmpInGenErrs) }, \ 804 { MIBDECL(snmpInTotalReqVars) }, \ 805 { MIBDECL(snmpInTotalSetVars) }, \ 806 { MIBDECL(snmpInGetRequests) }, \ 807 { MIBDECL(snmpInGetNexts) }, \ 808 { MIBDECL(snmpInSetRequests) }, \ 809 { MIBDECL(snmpInGetResponses) }, \ 810 { MIBDECL(snmpInTraps) }, \ 811 { MIBDECL(snmpOutTooBigs) }, \ 812 { MIBDECL(snmpOutNoSuchNames) }, \ 813 { MIBDECL(snmpOutBadValues) }, \ 814 { MIBDECL(snmpOutGenErrs) }, \ 815 { MIBDECL(snmpOutGetRequests) }, \ 816 { MIBDECL(snmpOutGetNexts) }, \ 817 { MIBDECL(snmpOutSetRequests) }, \ 818 { MIBDECL(snmpOutGetResponses) }, \ 819 { MIBDECL(snmpOutTraps) }, \ 820 { MIBDECL(snmpEnableAuthenTraps) }, \ 821 { MIBDECL(snmpSilentDrops) }, \ 822 { MIBDECL(snmpProxyDrops) }, \ 823 { MIBDECL(experimental) }, \ 824 { MIBDECL(private) }, \ 825 { MIBDECL(enterprises) }, \ 826 { MIBDECL(security) }, \ 827 { MIBDECL(snmpV2) }, \ 828 { MIBDECL(snmpDomains) }, \ 829 { MIBDECL(snmpProxies) }, \ 830 { MIBDECL(snmpModules) }, \ 831 { MIBDECL(snmpMIB) }, \ 832 { MIBDECL(snmpMIBObjects) }, \ 833 { MIBDECL(snmpTrap) }, \ 834 { MIBDECL(snmpTrapOID) }, \ 835 { MIBDECL(snmpTrapEnterprise) }, \ 836 { MIBDECL(snmpTraps) }, \ 837 { MIBDECL(coldStart) }, \ 838 { MIBDECL(warmStart) }, \ 839 { MIBDECL(linkDown) }, \ 840 { MIBDECL(linkUp) }, \ 841 { MIBDECL(authenticationFailure) }, \ 842 { MIBDECL(egpNeighborLoss) }, \ 843 \ 844 { MIBDECL(framework) }, \ 845 { MIBDECL(frameworkObjects) }, \ 846 { MIBDECL(snmpEngine) }, \ 847 { MIBDECL(snmpEngineID) }, \ 848 { MIBDECL(snmpEngineBoots) }, \ 849 { MIBDECL(snmpEngineTime) }, \ 850 { MIBDECL(snmpEngineMaxMsgSize) }, \ 851 { MIBDECL(usm) }, \ 852 { MIBDECL(usmObjects) }, \ 853 { MIBDECL(usmStats) }, \ 854 { MIBDECL(usmStatsUnsupportedSecLevels) }, \ 855 { MIBDECL(usmStatsNotInTimeWindow) }, \ 856 { MIBDECL(usmStatsUnknownUserNames) }, \ 857 { MIBDECL(usmStatsUnknownEngineId) }, \ 858 { MIBDECL(usmStatsWrongDigests) }, \ 859 { MIBDECL(usmStatsDecryptionErrors) }, \ 860 \ 861 { MIBDECL(snmpTargetMIB) }, \ 862 { MIBDECL(snmpTargetObjects) }, \ 863 { MIBDECL(snmpTargetSpinLock) }, \ 864 { MIBDECL(snmpTargetAddrTable) }, \ 865 { MIBDECL(snmpTargetAddrEntry) }, \ 866 { MIBDECL(snmpTargetAddrName) }, \ 867 { MIBDECL(snmpTargetAddrTDomain) }, \ 868 { MIBDECL(snmpTargetAddrTAddress) }, \ 869 { MIBDECL(snmpTargetAddrTimeout) }, \ 870 { MIBDECL(snmpTargetAddrRetryCount) }, \ 871 { MIBDECL(snmpTargetAddrTagList) }, \ 872 { MIBDECL(snmpTargetAddrParams) }, \ 873 { MIBDECL(snmpTargetAddrStorageType) }, \ 874 { MIBDECL(snmpTargetAddrRowStatus) }, \ 875 { MIBDECL(snmpTargetParamsTable) }, \ 876 { MIBDECL(snmpTargetParamsEntry) }, \ 877 { MIBDECL(snmpTargetParamsName) }, \ 878 { MIBDECL(snmpTargetParamsMPModel) }, \ 879 { MIBDECL(snmpTargetParamsSecurityModel) }, \ 880 { MIBDECL(snmpTargetParamsSecurityName) }, \ 881 { MIBDECL(snmpTargetParamsSecurityLevel) }, \ 882 { MIBDECL(snmpTargetParamsStorageType) }, \ 883 { MIBDECL(snmpTargetParamsRowStatus) }, \ 884 { MIBDECL(snmpUnavailableContexts) }, \ 885 { MIBDECL(snmpUnknownContexts) }, \ 886 \ 887 { MIBDECL(host) }, \ 888 { MIBDECL(hrSystem) }, \ 889 { MIBDECL(hrSystemUptime) }, \ 890 { MIBDECL(hrSystemDate) }, \ 891 { MIBDECL(hrSystemInitialLoadDevice) }, \ 892 { MIBDECL(hrSystemInitialLoadParameters) }, \ 893 { MIBDECL(hrSystemNumUsers) }, \ 894 { MIBDECL(hrSystemProcesses) }, \ 895 { MIBDECL(hrSystemMaxProcesses) }, \ 896 { MIBDECL(hrStorage) }, \ 897 { MIBDECL(hrStorageTypes) }, \ 898 { MIBDECL(hrMemorySize) }, \ 899 { MIBDECL(hrStorageTable) }, \ 900 { MIBDECL(hrStorageEntry) }, \ 901 { MIBDECL(hrStorageIndex) }, \ 902 { MIBDECL(hrStorageType) }, \ 903 { MIBDECL(hrStorageDescr) }, \ 904 { MIBDECL(hrStorageAllocationUnits) }, \ 905 { MIBDECL(hrStorageSize) }, \ 906 { MIBDECL(hrStorageUsed) }, \ 907 { MIBDECL(hrStorageAllocationFailures) }, \ 908 { MIBDECL(hrDevice) }, \ 909 { MIBDECL(hrDeviceTypes) }, \ 910 { MIBDECL(hrDeviceOther) }, \ 911 { MIBDECL(hrDeviceUnknown) }, \ 912 { MIBDECL(hrDeviceProcessor) }, \ 913 { MIBDECL(hrDeviceNetwork) }, \ 914 { MIBDECL(hrDevicePrinter) }, \ 915 { MIBDECL(hrDeviceDiskStorage) }, \ 916 { MIBDECL(hrDeviceVideo) }, \ 917 { MIBDECL(hrDeviceAudio) }, \ 918 { MIBDECL(hrDeviceCoprocessor) }, \ 919 { MIBDECL(hrDeviceKeyboard) }, \ 920 { MIBDECL(hrDeviceModem) }, \ 921 { MIBDECL(hrDeviceParallelPort) }, \ 922 { MIBDECL(hrDevicePointing) }, \ 923 { MIBDECL(hrDeviceSerialPort) }, \ 924 { MIBDECL(hrDeviceTape) }, \ 925 { MIBDECL(hrDeviceClock) }, \ 926 { MIBDECL(hrDeviceVolatileMemory) }, \ 927 { MIBDECL(hrDeviceNonVolatileMemory) }, \ 928 { MIBDECL(hrDeviceTable) }, \ 929 { MIBDECL(hrDeviceEntry) }, \ 930 { MIBDECL(hrDeviceIndex) }, \ 931 { MIBDECL(hrDeviceType) }, \ 932 { MIBDECL(hrDeviceDescr) }, \ 933 { MIBDECL(hrDeviceID) }, \ 934 { MIBDECL(hrDeviceStatus) }, \ 935 { MIBDECL(hrDeviceErrors) }, \ 936 { MIBDECL(hrProcessorTable) }, \ 937 { MIBDECL(hrProcessorEntry) }, \ 938 { MIBDECL(hrProcessorFrwID) }, \ 939 { MIBDECL(hrProcessorLoad) }, \ 940 { MIBDECL(hrSWRun) }, \ 941 { MIBDECL(hrSWOSIndex) }, \ 942 { MIBDECL(hrSWRunTable) }, \ 943 { MIBDECL(hrSWRunEntry) }, \ 944 { MIBDECL(hrSWRunIndex) }, \ 945 { MIBDECL(hrSWRunName) }, \ 946 { MIBDECL(hrSWRunID) }, \ 947 { MIBDECL(hrSWRunPath) }, \ 948 { MIBDECL(hrSWRunParameters) }, \ 949 { MIBDECL(hrSWRunType) }, \ 950 { MIBDECL(hrSWRunStatus) }, \ 951 { MIBDECL(hrSWRunPerf) }, \ 952 { MIBDECL(hrSWRunPerfTable) }, \ 953 { MIBDECL(hrSWRunPerfEntry) }, \ 954 { MIBDECL(hrSWRunPerfCPU) }, \ 955 { MIBDECL(hrSWRunPerfMem) }, \ 956 \ 957 { MIBDECL(ifMIB) }, \ 958 { MIBDECL(ifMIBObjects) }, \ 959 { MIBDECL(ifXTable) }, \ 960 { MIBDECL(ifXEntry) }, \ 961 { MIBDECL(ifName) }, \ 962 { MIBDECL(ifInMulticastPkts) }, \ 963 { MIBDECL(ifInBroadcastPkts) }, \ 964 { MIBDECL(ifOutMulticastPkts) }, \ 965 { MIBDECL(ifOutBroadcastPkts) }, \ 966 { MIBDECL(ifHCInOctets) }, \ 967 { MIBDECL(ifHCInUcastPkts) }, \ 968 { MIBDECL(ifHCInMulticastPkts) }, \ 969 { MIBDECL(ifHCInBroadcastPkts) }, \ 970 { MIBDECL(ifHCOutOctets) }, \ 971 { MIBDECL(ifHCOutUcastPkts) }, \ 972 { MIBDECL(ifHCOutMulticastPkts) }, \ 973 { MIBDECL(ifHCOutBroadcastPkts) }, \ 974 { MIBDECL(ifLinkUpDownTrapEnable) }, \ 975 { MIBDECL(ifHighSpeed) }, \ 976 { MIBDECL(ifPromiscuousMode) }, \ 977 { MIBDECL(ifConnectorPresent) }, \ 978 { MIBDECL(ifAlias) }, \ 979 { MIBDECL(ifCounterDiscontinuityTime) }, \ 980 { MIBDECL(ifStackTable) }, \ 981 { MIBDECL(ifStackEntry) }, \ 982 { MIBDECL(ifRcvAddressTable) }, \ 983 { MIBDECL(ifRcvAddressEntry) }, \ 984 { MIBDECL(ifRcvAddressStatus) }, \ 985 { MIBDECL(ifRcvAddressType) }, \ 986 { MIBDECL(ifStackLastChange) }, \ 987 { MIBDECL(interfaces) }, \ 988 { MIBDECL(ifNumber) }, \ 989 { MIBDECL(ifTable) }, \ 990 { MIBDECL(ifEntry) }, \ 991 { MIBDECL(ifIndex) }, \ 992 { MIBDECL(ifDescr) }, \ 993 { MIBDECL(ifType) }, \ 994 { MIBDECL(ifMtu) }, \ 995 { MIBDECL(ifSpeed) }, \ 996 { MIBDECL(ifPhysAddress) }, \ 997 { MIBDECL(ifAdminStatus) }, \ 998 { MIBDECL(ifOperStatus) }, \ 999 { MIBDECL(ifLastChange) }, \ 1000 { MIBDECL(ifInOctets) }, \ 1001 { MIBDECL(ifInUcastPkts) }, \ 1002 { MIBDECL(ifInNUcastPkts) }, \ 1003 { MIBDECL(ifInDiscards) }, \ 1004 { MIBDECL(ifInErrors) }, \ 1005 { MIBDECL(ifInUnknownProtos) }, \ 1006 { MIBDECL(ifOutOctets) }, \ 1007 { MIBDECL(ifOutUcastPkts) }, \ 1008 { MIBDECL(ifOutNUcastPkts) }, \ 1009 { MIBDECL(ifOutDiscards) }, \ 1010 { MIBDECL(ifOutErrors) }, \ 1011 { MIBDECL(ifOutQLen) }, \ 1012 { MIBDECL(ifSpecific) }, \ 1013 \ 1014 { MIBDECL(dot1dBridge) }, \ 1015 { MIBDECL(dot1dBase) }, \ 1016 { MIBDECL(dot1dBaseBridgeAddress) }, \ 1017 { MIBDECL(dot1dBaseNumPorts) }, \ 1018 { MIBDECL(dot1dBaseType) }, \ 1019 { MIBDECL(dot1dBasePortTable) }, \ 1020 { MIBDECL(dot1dBasePortEntry) }, \ 1021 { MIBDECL(dot1dBasePort) }, \ 1022 { MIBDECL(dot1dBasePortIfIndex) }, \ 1023 { MIBDECL(dot1dBasePortCircuit) }, \ 1024 { MIBDECL(dot1dBasePortDelayExceededDiscards) },\ 1025 { MIBDECL(dot1dBasePortMtuExceededDiscards) }, \ 1026 { MIBDECL(dot1dStp) }, \ 1027 { MIBDECL(dot1dSr) }, \ 1028 { MIBDECL(dot1dTp) }, \ 1029 { MIBDECL(dot1dStatic) }, \ 1030 \ 1031 { MIBDECL(ibm) }, \ 1032 { MIBDECL(cmu) }, \ 1033 { MIBDECL(unix) }, \ 1034 { MIBDECL(ciscoSystems) }, \ 1035 { MIBDECL(hp) }, \ 1036 { MIBDECL(mit) }, \ 1037 { MIBDECL(nortelNetworks) }, \ 1038 { MIBDECL(sun) }, \ 1039 { MIBDECL(3com) }, \ 1040 { MIBDECL(synOptics) }, \ 1041 { MIBDECL(enterasys) }, \ 1042 { MIBDECL(sgi) }, \ 1043 { MIBDECL(apple) }, \ 1044 { MIBDECL(nasa) }, \ 1045 { MIBDECL(att) }, \ 1046 { MIBDECL(nokia) }, \ 1047 { MIBDECL(cern) }, \ 1048 { MIBDECL(oracle) }, \ 1049 { MIBDECL(motorola) }, \ 1050 { MIBDECL(ncr) }, \ 1051 { MIBDECL(ericsson) }, \ 1052 { MIBDECL(fsc) }, \ 1053 { MIBDECL(compaq) }, \ 1054 { MIBDECL(bmw) }, \ 1055 { MIBDECL(dell) }, \ 1056 { MIBDECL(iij) }, \ 1057 { MIBDECL(sandia) }, \ 1058 { MIBDECL(mercedesBenz) }, \ 1059 { MIBDECL(alteon) }, \ 1060 { MIBDECL(extremeNetworks) }, \ 1061 { MIBDECL(foundryNetworks) }, \ 1062 { MIBDECL(huawaiTechnology) }, \ 1063 { MIBDECL(ucDavis) }, \ 1064 { MIBDECL(freeBSD) }, \ 1065 { MIBDECL(checkPoint) }, \ 1066 { MIBDECL(juniper) }, \ 1067 { MIBDECL(printerWorkingGroup) }, \ 1068 { MIBDECL(audi) }, \ 1069 { MIBDECL(volkswagen) }, \ 1070 { MIBDECL(genua) }, \ 1071 { MIBDECL(amazon) }, \ 1072 { MIBDECL(force10Networks) }, \ 1073 { MIBDECL(vMware) }, \ 1074 { MIBDECL(alcatelLucent) }, \ 1075 { MIBDECL(snom) }, \ 1076 { MIBDECL(netSNMP) }, \ 1077 { MIBDECL(netflix) }, \ 1078 { MIBDECL(google) }, \ 1079 { MIBDECL(f5Networks) }, \ 1080 { MIBDECL(bsws) }, \ 1081 { MIBDECL(sFlow) }, \ 1082 { MIBDECL(microSystems) }, \ 1083 { MIBDECL(paloAltoNetworks) }, \ 1084 { MIBDECL(h3c) }, \ 1085 { MIBDECL(vantronix) }, \ 1086 { MIBDECL(netBSD) }, \ 1087 { MIBDECL(openBSD) }, \ 1088 { MIBDECL(nicira) }, \ 1089 { MIBDECL(esdenera) }, \ 1090 { MIBDECL(arcaTrust) }, \ 1091 \ 1092 { MIBDECL(ucdExperimental) }, \ 1093 { MIBDECL(ucdDiskIOMIB) }, \ 1094 { MIBDECL(diskIOTable) }, \ 1095 { MIBDECL(diskIOEntry) }, \ 1096 { MIBDECL(diskIOIndex) }, \ 1097 { MIBDECL(diskIODevice) }, \ 1098 { MIBDECL(diskIONRead) }, \ 1099 { MIBDECL(diskIONWritten) }, \ 1100 { MIBDECL(diskIOReads) }, \ 1101 { MIBDECL(diskIOWrites) }, \ 1102 { MIBDECL(diskIONReadX) }, \ 1103 { MIBDECL(diskIONWrittenX) }, \ 1104 \ 1105 { MIBDECL(pfMIBObjects) }, \ 1106 { MIBDECL(pfInfo) }, \ 1107 { MIBDECL(pfRunning) }, \ 1108 { MIBDECL(pfRuntime) }, \ 1109 { MIBDECL(pfDebug) }, \ 1110 { MIBDECL(pfHostid) }, \ 1111 { MIBDECL(pfCounters) }, \ 1112 { MIBDECL(pfCntMatch) }, \ 1113 { MIBDECL(pfCntBadOffset) }, \ 1114 { MIBDECL(pfCntFragment) }, \ 1115 { MIBDECL(pfCntShort) }, \ 1116 { MIBDECL(pfCntNormalize) }, \ 1117 { MIBDECL(pfCntMemory) }, \ 1118 { MIBDECL(pfCntTimestamp) }, \ 1119 { MIBDECL(pfCntCongestion) }, \ 1120 { MIBDECL(pfCntIpOptions) }, \ 1121 { MIBDECL(pfCntProtoCksum) }, \ 1122 { MIBDECL(pfCntStateMismatch) }, \ 1123 { MIBDECL(pfCntStateInsert) }, \ 1124 { MIBDECL(pfCntStateLimit) }, \ 1125 { MIBDECL(pfCntSrcLimit) }, \ 1126 { MIBDECL(pfCntSynproxy) }, \ 1127 { MIBDECL(pfCntTranslate) }, \ 1128 { MIBDECL(pfCntNoRoute) }, \ 1129 { MIBDECL(pfStateTable) }, \ 1130 { MIBDECL(pfStateCount) }, \ 1131 { MIBDECL(pfStateSearches) }, \ 1132 { MIBDECL(pfStateInserts) }, \ 1133 { MIBDECL(pfStateRemovals) }, \ 1134 { MIBDECL(pfLogInterface) }, \ 1135 { MIBDECL(pfLogIfName) }, \ 1136 { MIBDECL(pfLogIfIpBytesIn) }, \ 1137 { MIBDECL(pfLogIfIpBytesOut) }, \ 1138 { MIBDECL(pfLogIfIpPktsInPass) }, \ 1139 { MIBDECL(pfLogIfIpPktsInDrop) }, \ 1140 { MIBDECL(pfLogIfIpPktsOutPass) }, \ 1141 { MIBDECL(pfLogIfIpPktsOutDrop) }, \ 1142 { MIBDECL(pfLogIfIp6BytesIn) }, \ 1143 { MIBDECL(pfLogIfIp6BytesOut) }, \ 1144 { MIBDECL(pfLogIfIp6PktsInPass) }, \ 1145 { MIBDECL(pfLogIfIp6PktsInDrop) }, \ 1146 { MIBDECL(pfLogIfIp6PktsOutPass) }, \ 1147 { MIBDECL(pfLogIfIp6PktsOutDrop) }, \ 1148 { MIBDECL(pfSrcTracking) }, \ 1149 { MIBDECL(pfSrcTrackCount) }, \ 1150 { MIBDECL(pfSrcTrackSearches) }, \ 1151 { MIBDECL(pfSrcTrackInserts) }, \ 1152 { MIBDECL(pfSrcTrackRemovals) }, \ 1153 { MIBDECL(pfLimits) }, \ 1154 { MIBDECL(pfLimitStates) }, \ 1155 { MIBDECL(pfLimitSourceNodes) }, \ 1156 { MIBDECL(pfLimitFragments) }, \ 1157 { MIBDECL(pfLimitMaxTables) }, \ 1158 { MIBDECL(pfLimitMaxTableEntries) }, \ 1159 { MIBDECL(pfTimeouts) }, \ 1160 { MIBDECL(pfTimeoutTcpFirst) }, \ 1161 { MIBDECL(pfTimeoutTcpOpening) }, \ 1162 { MIBDECL(pfTimeoutTcpEstablished) }, \ 1163 { MIBDECL(pfTimeoutTcpClosing) }, \ 1164 { MIBDECL(pfTimeoutTcpFinWait) }, \ 1165 { MIBDECL(pfTimeoutTcpClosed) }, \ 1166 { MIBDECL(pfTimeoutUdpFirst) }, \ 1167 { MIBDECL(pfTimeoutUdpSingle) }, \ 1168 { MIBDECL(pfTimeoutUdpMultiple) }, \ 1169 { MIBDECL(pfTimeoutIcmpFirst) }, \ 1170 { MIBDECL(pfTimeoutIcmpError) }, \ 1171 { MIBDECL(pfTimeoutOtherFirst) }, \ 1172 { MIBDECL(pfTimeoutOtherSingle) }, \ 1173 { MIBDECL(pfTimeoutOtherMultiple) }, \ 1174 { MIBDECL(pfTimeoutFragment) }, \ 1175 { MIBDECL(pfTimeoutInterval) }, \ 1176 { MIBDECL(pfTimeoutAdaptiveStart) }, \ 1177 { MIBDECL(pfTimeoutAdaptiveEnd) }, \ 1178 { MIBDECL(pfTimeoutSrcTrack) }, \ 1179 { MIBDECL(pfInterfaces) }, \ 1180 { MIBDECL(pfIfNumber) }, \ 1181 { MIBDECL(pfIfTable) }, \ 1182 { MIBDECL(pfIfEntry) }, \ 1183 { MIBDECL(pfIfIndex) }, \ 1184 { MIBDECL(pfIfDescr) }, \ 1185 { MIBDECL(pfIfType) }, \ 1186 { MIBDECL(pfIfRefs) }, \ 1187 { MIBDECL(pfIfRules) }, \ 1188 { MIBDECL(pfIfIn4PassPkts) }, \ 1189 { MIBDECL(pfIfIn4PassBytes) }, \ 1190 { MIBDECL(pfIfIn4BlockPkts) }, \ 1191 { MIBDECL(pfIfIn4BlockBytes) }, \ 1192 { MIBDECL(pfIfOut4PassPkts) }, \ 1193 { MIBDECL(pfIfOut4PassBytes) }, \ 1194 { MIBDECL(pfIfOut4BlockPkts) }, \ 1195 { MIBDECL(pfIfOut4BlockBytes) }, \ 1196 { MIBDECL(pfIfIn6PassPkts) }, \ 1197 { MIBDECL(pfIfIn6PassBytes) }, \ 1198 { MIBDECL(pfIfIn6BlockPkts) }, \ 1199 { MIBDECL(pfIfIn6BlockBytes) }, \ 1200 { MIBDECL(pfIfOut6PassPkts) }, \ 1201 { MIBDECL(pfIfOut6PassBytes) }, \ 1202 { MIBDECL(pfIfOut6BlockPkts) }, \ 1203 { MIBDECL(pfIfOut6BlockBytes) }, \ 1204 { MIBDECL(pfTables) }, \ 1205 { MIBDECL(pfTblNumber) }, \ 1206 { MIBDECL(pfTblTable) }, \ 1207 { MIBDECL(pfTblEntry) }, \ 1208 { MIBDECL(pfTblIndex) }, \ 1209 { MIBDECL(pfTblName) }, \ 1210 { MIBDECL(pfTblAddresses) }, \ 1211 { MIBDECL(pfTblAnchorRefs) }, \ 1212 { MIBDECL(pfTblRuleRefs) }, \ 1213 { MIBDECL(pfTblEvalsMatch) }, \ 1214 { MIBDECL(pfTblEvalsNoMatch) }, \ 1215 { MIBDECL(pfTblInPassPkts) }, \ 1216 { MIBDECL(pfTblInPassBytes) }, \ 1217 { MIBDECL(pfTblInBlockPkts) }, \ 1218 { MIBDECL(pfTblInBlockBytes) }, \ 1219 { MIBDECL(pfTblInXPassPkts) }, \ 1220 { MIBDECL(pfTblInXPassBytes) }, \ 1221 { MIBDECL(pfTblOutPassPkts) }, \ 1222 { MIBDECL(pfTblOutPassBytes) }, \ 1223 { MIBDECL(pfTblOutBlockPkts) }, \ 1224 { MIBDECL(pfTblOutBlockBytes) }, \ 1225 { MIBDECL(pfTblOutXPassPkts) }, \ 1226 { MIBDECL(pfTblOutXPassBytes) }, \ 1227 { MIBDECL(pfTblStatsCleared) }, \ 1228 { MIBDECL(pfTblInMatchPkts) }, \ 1229 { MIBDECL(pfTblInMatchBytes) }, \ 1230 { MIBDECL(pfTblOutMatchPkts) }, \ 1231 { MIBDECL(pfTblOutMatchBytes) }, \ 1232 { MIBDECL(pfTblAddrTable) }, \ 1233 { MIBDECL(pfTblAddrEntry) }, \ 1234 { MIBDECL(pfTblAddrTblIndex) }, \ 1235 { MIBDECL(pfTblAddrNet) }, \ 1236 { MIBDECL(pfTblAddrMask) }, \ 1237 { MIBDECL(pfTblAddrCleared) }, \ 1238 { MIBDECL(pfTblAddrInBlockPkts) }, \ 1239 { MIBDECL(pfTblAddrInBlockBytes) }, \ 1240 { MIBDECL(pfTblAddrInPassPkts) }, \ 1241 { MIBDECL(pfTblAddrInPassBytes) }, \ 1242 { MIBDECL(pfTblAddrOutBlockPkts) }, \ 1243 { MIBDECL(pfTblAddrOutBlockBytes) }, \ 1244 { MIBDECL(pfTblAddrOutPassPkts) }, \ 1245 { MIBDECL(pfTblAddrOutPassBytes) }, \ 1246 { MIBDECL(pfTblAddrInMatchPkts) }, \ 1247 { MIBDECL(pfTblAddrInMatchBytes) }, \ 1248 { MIBDECL(pfTblAddrOutMatchPkts) }, \ 1249 { MIBDECL(pfTblAddrOutMatchBytes) }, \ 1250 { MIBDECL(pfLabels) }, \ 1251 { MIBDECL(pfLabelNumber) }, \ 1252 { MIBDECL(pfLabelTable) }, \ 1253 { MIBDECL(pfLabelEntry) }, \ 1254 { MIBDECL(pfLabelIndex) }, \ 1255 { MIBDECL(pfLabelName) }, \ 1256 { MIBDECL(pfLabelEvals) }, \ 1257 { MIBDECL(pfLabelPkts) }, \ 1258 { MIBDECL(pfLabelBytes) }, \ 1259 { MIBDECL(pfLabelInPkts) }, \ 1260 { MIBDECL(pfLabelInBytes) }, \ 1261 { MIBDECL(pfLabelOutPkts) }, \ 1262 { MIBDECL(pfLabelOutBytes) }, \ 1263 { MIBDECL(pfLabelTotalStates) }, \ 1264 { MIBDECL(pfsyncStats) }, \ 1265 { MIBDECL(pfsyncIpPktsRecv) }, \ 1266 { MIBDECL(pfsyncIp6PktsRecv) }, \ 1267 { MIBDECL(pfsyncPktDiscardsForBadInterface) }, \ 1268 { MIBDECL(pfsyncPktDiscardsForBadTtl) }, \ 1269 { MIBDECL(pfsyncPktShorterThanHeader) }, \ 1270 { MIBDECL(pfsyncPktDiscardsForBadVersion) }, \ 1271 { MIBDECL(pfsyncPktDiscardsForBadAction) }, \ 1272 { MIBDECL(pfsyncPktDiscardsForBadLength) }, \ 1273 { MIBDECL(pfsyncPktDiscardsForBadAuth) }, \ 1274 { MIBDECL(pfsyncPktDiscardsForStaleState) }, \ 1275 { MIBDECL(pfsyncPktDiscardsForBadValues) }, \ 1276 { MIBDECL(pfsyncPktDiscardsForBadState) }, \ 1277 { MIBDECL(pfsyncIpPktsSent) }, \ 1278 { MIBDECL(pfsyncIp6PktsSent) }, \ 1279 { MIBDECL(pfsyncNoMemory) }, \ 1280 { MIBDECL(pfsyncOutputErrors) }, \ 1281 { MIBDECL(sensorsMIBObjects) }, \ 1282 { MIBDECL(relaydMIBObjects) }, \ 1283 { MIBDECL(relaydHostTrap) }, \ 1284 { MIBDECL(relaydHostTrapHostName) }, \ 1285 { MIBDECL(relaydHostTrapUp) }, \ 1286 { MIBDECL(relaydHostTrapLastUp) }, \ 1287 { MIBDECL(relaydHostTrapUpCount) }, \ 1288 { MIBDECL(relaydHostTrapCheckCount) }, \ 1289 { MIBDECL(relaydHostTrapTableName) }, \ 1290 { MIBDECL(relaydHostTrapTableUp) }, \ 1291 { MIBDECL(relaydHostTrapRetry) }, \ 1292 { MIBDECL(relaydHostTrapRetryCount) }, \ 1293 { MIBDECL(sensors) }, \ 1294 { MIBDECL(sensorNumber) }, \ 1295 { MIBDECL(sensorTable) }, \ 1296 { MIBDECL(sensorEntry) }, \ 1297 { MIBDECL(sensorIndex) }, \ 1298 { MIBDECL(sensorDescr) }, \ 1299 { MIBDECL(sensorType) }, \ 1300 { MIBDECL(sensorDevice) }, \ 1301 { MIBDECL(sensorValue) }, \ 1302 { MIBDECL(sensorUnits) }, \ 1303 { MIBDECL(sensorStatus) }, \ 1304 { MIBDECL(memMIBObjects) }, \ 1305 { MIBDECL(memMIBVersion) }, \ 1306 { MIBDECL(memIfTable) }, \ 1307 { MIBDECL(memIfEntry) }, \ 1308 { MIBDECL(memIfName) }, \ 1309 { MIBDECL(memIfLiveLocks) }, \ 1310 { MIBDECL(carpMIBObjects) }, \ 1311 { MIBDECL(carpSysctl) }, \ 1312 { MIBDECL(carpAllow) }, \ 1313 { MIBDECL(carpPreempt) }, \ 1314 { MIBDECL(carpLog) }, \ 1315 { MIBDECL(carpIf) }, \ 1316 { MIBDECL(carpIfNumber) }, \ 1317 { MIBDECL(carpIfTable) }, \ 1318 { MIBDECL(carpIfEntry) }, \ 1319 { MIBDECL(carpIfIndex) }, \ 1320 { MIBDECL(carpIfDescr) }, \ 1321 { MIBDECL(carpIfVhid) }, \ 1322 { MIBDECL(carpIfDev) }, \ 1323 { MIBDECL(carpIfAdvbase) }, \ 1324 { MIBDECL(carpIfAdvskew) }, \ 1325 { MIBDECL(carpIfState) }, \ 1326 { MIBDECL(carpStats) }, \ 1327 { MIBDECL(carpIpPktsRecv) }, \ 1328 { MIBDECL(carpIp6PktsRecv) }, \ 1329 { MIBDECL(carpPktDiscardsBadIface) }, \ 1330 { MIBDECL(carpPktDiscardsBadTtl) }, \ 1331 { MIBDECL(carpPktShorterThanHdr) }, \ 1332 { MIBDECL(carpDiscardsBadCksum) }, \ 1333 { MIBDECL(carpDiscardsBadVersion) }, \ 1334 { MIBDECL(carpDiscardsTooShort) }, \ 1335 { MIBDECL(carpDiscardsBadAuth) }, \ 1336 { MIBDECL(carpDiscardsBadVhid) }, \ 1337 { MIBDECL(carpDiscardsBadAddrList) }, \ 1338 { MIBDECL(carpIpPktsSent) }, \ 1339 { MIBDECL(carpIp6PktsSent) }, \ 1340 { MIBDECL(carpNoMemory) }, \ 1341 { MIBDECL(carpTransitionsToMaster) }, \ 1342 { MIBDECL(carpGroupTable) }, \ 1343 { MIBDECL(carpGroupEntry) }, \ 1344 { MIBDECL(carpGroupName) }, \ 1345 { MIBDECL(carpGroupDemote) }, \ 1346 { MIBDECL(localSystem) }, \ 1347 { MIBDECL(localTest) }, \ 1348 \ 1349 { MIBDECL(ipMIB) }, \ 1350 { MIBDECL(ipForwarding) }, \ 1351 { MIBDECL(ipDefaultTTL) }, \ 1352 { MIBDECL(ipInReceives) }, \ 1353 { MIBDECL(ipInHdrErrors) }, \ 1354 { MIBDECL(ipInAddrErrors) }, \ 1355 { MIBDECL(ipForwDatagrams) }, \ 1356 { MIBDECL(ipInUnknownProtos) }, \ 1357 { MIBDECL(ipInDiscards) }, \ 1358 { MIBDECL(ipInDelivers) }, \ 1359 { MIBDECL(ipOutRequests) }, \ 1360 { MIBDECL(ipOutDiscards) }, \ 1361 { MIBDECL(ipOutNoRoutes) }, \ 1362 { MIBDECL(ipReasmTimeout) }, \ 1363 { MIBDECL(ipReasmReqds) }, \ 1364 { MIBDECL(ipReasmOKs) }, \ 1365 { MIBDECL(ipReasmFails) }, \ 1366 { MIBDECL(ipFragOKs) }, \ 1367 { MIBDECL(ipFragFails) }, \ 1368 { MIBDECL(ipFragCreates) }, \ 1369 { MIBDECL(ipRoutingDiscards) }, \ 1370 { MIBDECL(ipAddrTable) }, \ 1371 { MIBDECL(ipAddrEntry) }, \ 1372 { MIBDECL(ipAdEntAddr) }, \ 1373 { MIBDECL(ipAdEntIfIndex) }, \ 1374 { MIBDECL(ipAdEntNetMask) }, \ 1375 { MIBDECL(ipAdEntBcastAddr) }, \ 1376 { MIBDECL(ipAdEntReasmMaxSize) }, \ 1377 { MIBDECL(ipNetToMediaTable) }, \ 1378 { MIBDECL(ipNetToMediaEntry) }, \ 1379 { MIBDECL(ipNetToMediaIfIndex) }, \ 1380 { MIBDECL(ipNetToMediaPhysAddress) }, \ 1381 { MIBDECL(ipNetToMediaNetAddress) }, \ 1382 { MIBDECL(ipNetToMediaType) }, \ 1383 \ 1384 { MIBDECL(ipfMIB) }, \ 1385 { MIBDECL(ipfInetCidrRouteNumber) }, \ 1386 { MIBDECL(ipfInetCidrRouteTable) }, \ 1387 { MIBDECL(ipfInetCidrRouteEntry) }, \ 1388 { MIBDECL(ipfRouteEntIfIndex) }, \ 1389 { MIBDECL(ipfRouteEntType) }, \ 1390 { MIBDECL(ipfRouteEntProto) }, \ 1391 { MIBDECL(ipfRouteEntAge) }, \ 1392 { MIBDECL(ipfRouteEntNextHopAS) }, \ 1393 { MIBDECL(ipfRouteEntRouteMetric1) }, \ 1394 { MIBDECL(ipfRouteEntRouteMetric2) }, \ 1395 { MIBDECL(ipfRouteEntRouteMetric3) }, \ 1396 { MIBDECL(ipfRouteEntRouteMetric4) }, \ 1397 { MIBDECL(ipfRouteEntRouteMetric5) }, \ 1398 { MIBDECL(ipfRouteEntStatus) }, \ 1399 { MIBEND } \ 1400 } 1401 1402 #endif /* SNMPD_MIB_H */ 1403