1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
|
/* $OpenBSD: mib.h,v 1.15 2008/03/16 00:35:05 dlg Exp $ */
/*
* Copyright (c) 2007, 2008 Reyk Floeter <reyk@vantronix.net>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#ifndef _SNMPD_MIB_H
#define _SNMPD_MIB_H
/*
* Adding new MIBs:
* - add the OID definitions below
* - add the OIDs to the MIB_TREE table at the end of this file
* - optional: write the implementation in mib.c
*/
/* From the SNMPv2-SMI MIB */
#define MIB_iso 1
#define MIB_org MIB_iso, 3
#define MIB_dod MIB_org, 6
#define MIB_internet MIB_dod, 1
#define MIB_directory MIB_internet, 1
#define MIB_mgmt MIB_internet, 2
#define MIB_mib_2 MIB_mgmt, 1 /* XXX mib-2 */
#define MIB_system MIB_mib_2, 1
#define OIDIDX_system 7
#define MIB_sysDescr MIB_system, 1
#define MIB_sysOID MIB_system, 2
#define MIB_sysUpTime MIB_system, 3
#define MIB_sysContact MIB_system, 4
#define MIB_sysName MIB_system, 5
#define MIB_sysLocation MIB_system, 6
#define MIB_sysServices MIB_system, 7
#define MIB_sysORLastChange MIB_system, 8
#define MIB_sysORTable MIB_system, 9
#define MIB_sysOREntry MIB_sysORTable, 1
#define OIDIDX_sysOR 9
#define OIDIDX_sysOREntry 10
#define MIB_sysORIndex MIB_sysOREntry, 1
#define MIB_sysORID MIB_sysOREntry, 2
#define MIB_sysORDescr MIB_sysOREntry, 3
#define MIB_sysORUpTime MIB_sysOREntry, 4
#define MIB_transmission MIB_mib_2, 10
#define MIB_snmp MIB_mib_2, 11
#define OIDIDX_snmp 7
#define MIB_snmpInPkts MIB_snmp, 1
#define MIB_snmpOutPkts MIB_snmp, 2
#define MIB_snmpInBadVersions MIB_snmp, 3
#define MIB_snmpInBadCommunityNames MIB_snmp, 4
#define MIB_snmpInBadCommunityUses MIB_snmp, 5
#define MIB_snmpInASNParseErrs MIB_snmp, 6
#define MIB_snmpInTooBigs MIB_snmp, 8
#define MIB_snmpInNoSuchNames MIB_snmp, 9
#define MIB_snmpInBadValues MIB_snmp, 10
#define MIB_snmpInReadOnlys MIB_snmp, 11
#define MIB_snmpInGenErrs MIB_snmp, 12
#define MIB_snmpInTotalReqVars MIB_snmp, 13
#define MIB_snmpInTotalSetVars MIB_snmp, 14
#define MIB_snmpInGetRequests MIB_snmp, 15
#define MIB_snmpInGetNexts MIB_snmp, 16
#define MIB_snmpInSetRequests MIB_snmp, 17
#define MIB_snmpInGetResponses MIB_snmp, 18
#define MIB_snmpInTraps MIB_snmp, 19
#define MIB_snmpOutTooBigs MIB_snmp, 20
#define MIB_snmpOutNoSuchNames MIB_snmp, 21
#define MIB_snmpOutBadValues MIB_snmp, 22
#define MIB_snmpOutGenErrs MIB_snmp, 24
#define MIB_snmpOutGetRequests MIB_snmp, 25
#define MIB_snmpOutGetNexts MIB_snmp, 26
#define MIB_snmpOutSetRequests MIB_snmp, 27
#define MIB_snmpOutGetResponses MIB_snmp, 28
#define MIB_snmpOutTraps MIB_snmp, 29
#define MIB_snmpEnableAuthenTraps MIB_snmp, 30
#define MIB_snmpSilentDrops MIB_snmp, 31
#define MIB_snmpProxyDrops MIB_snmp, 32
#define MIB_experimental MIB_internet, 3
#define MIB_private MIB_internet, 4
#define MIB_enterprises MIB_private, 1
#define MIB_security MIB_internet, 5
#define MIB_snmpV2 MIB_internet, 6
#define MIB_snmpDomains MIB_snmpV2, 1
#define MIB_snmpProxies MIB_snmpV2, 2
#define MIB_snmpModules MIB_snmpV2, 3
#define MIB_snmpMIB MIB_snmpModules, 1
#define MIB_snmpMIBObjects MIB_snmpMIB, 1
#define MIB_snmpTrap MIB_snmpMIBObjects, 4
#define MIB_snmpTrapOID MIB_snmpTrap, 1
#define MIB_snmpTrapEnterprise MIB_snmpTrap, 3
#define MIB_snmpTraps MIB_snmpMIBObjects, 5
#define MIB_coldStart MIB_snmpTraps, 1
#define MIB_warmStart MIB_snmpTraps, 2
#define MIB_linkDown MIB_snmpTraps, 3
#define MIB_linkUp MIB_snmpTraps, 4
#define MIB_authenticationFailure MIB_snmpTraps, 5
#define MIB_egpNeighborLoss MIB_snmpTraps, 6
/* HOST-RESOURCES-MIB */
#define MIB_host MIB_mib_2, 25
#define MIB_hrSystem MIB_host, 1
#define MIB_hrSystemUptime MIB_hrSystem, 1
#define MIB_hrSystemDate MIB_hrSystem, 2
#define MIB_hrSystemInitialLoadDevice MIB_hrSystem, 3
#define MIB_hrSystemInitialLoadParameters MIB_hrSystem, 4
#define MIB_hrSystemNumUsers MIB_hrSystem, 5
#define MIB_hrSystemProcesses MIB_hrSystem, 6
#define MIB_hrSystemMaxProcesses MIB_hrSystem, 7
#define MIB_hrStorage MIB_host, 2
#define MIB_hrStorageTypes MIB_hrStorage, 1
#define MIB_hrStorageOther MIB_hrStorageTypes, 1
#define MIB_hrStorageRam MIB_hrStorageTypes, 2
#define MIB_hrStorageVirtualMemory MIB_hrStorageTypes, 3
#define MIB_hrStorageFixedDisk MIB_hrStorageTypes, 4
#define MIB_hrStorageRemovableDisk MIB_hrStorageTypes, 5
#define MIB_hrStorageFloppyDisk MIB_hrStorageTypes, 6
#define MIB_hrStorageCompactDisc MIB_hrStorageTypes, 7
#define MIB_hrStorageRamDisk MIB_hrStorageTypes, 8
#define MIB_hrStorageFlashMemory MIB_hrStorageTypes, 9
#define MIB_hrStorageNetworkDisk MIB_hrStorageTypes, 10
#define MIB_hrMemorySize MIB_hrStorage, 2
#define MIB_hrStorageTable MIB_hrStorage, 3
#define MIB_hrStorageEntry MIB_hrStorageTable, 1
#define OIDIDX_hrStorage 10
#define OIDIDX_hrStorageEntry 11
#define MIB_hrStorageIndex MIB_hrStorageEntry, 1
#define MIB_hrStorageType MIB_hrStorageEntry, 2
#define MIB_hrStorageDescr MIB_hrStorageEntry, 3
#define MIB_hrStorageAllocationUnits MIB_hrStorageEntry, 4
#define MIB_hrStorageSize MIB_hrStorageEntry, 5
#define MIB_hrStorageUsed MIB_hrStorageEntry, 6
#define MIB_hrStorageAllocationFailures MIB_hrStorageEntry, 7
#define MIB_hrSWRun MIB_host, 4
#define MIB_hrSWOSIndex MIB_hrSWRun, 1
#define MIB_hrSWRunTable MIB_hrSWRun, 2
#define MIB_hrSWRunEntry MIB_hrSWRunTable, 1
#define OIDIDX_hrSWRun 10
#define OIDIDX_hrSWRunEntry 11
#define MIB_hrSWRunIndex MIB_hrSWRunEntry, 1
#define MIB_hrSWRunName MIB_hrSWRunEntry, 2
#define MIB_hrSWRunID MIB_hrSWRunEntry, 3
#define MIB_hrSWRunPath MIB_hrSWRunEntry, 4
#define MIB_hrSWRunParameters MIB_hrSWRunEntry, 5
#define MIB_hrSWRunType MIB_hrSWRunEntry, 6
#define MIB_hrSWRunStatus MIB_hrSWRunEntry, 7
#define MIB_hrSWRunPerf MIB_host, 5
#define MIB_hrSWRunPerfTable MIB_hrSWRunPerf, 1
#define OIDIDX_hrSWRunPerf 10
#define OIDIDX_hrSWRunPerfEntry 11
#define MIB_hrSWRunPerfEntry MIB_hrSWRunPerfTable, 1
#define MIB_hrSWRunPerfCPU MIB_hrSWRunPerfEntry, 1
#define MIB_hrSWRunPerfMem MIB_hrSWRunPerfEntry, 2
#define MIB_hrSWInstalled MIB_host, 6
#define MIB_hrMIBAdminInfo MIB_host, 7
/* IF-MIB */
#define MIB_ifMIB MIB_mib_2, 31
#define MIB_ifMIBObjects MIB_ifMIB, 1
#define MIB_ifXTable MIB_ifMIBObjects, 1
#define MIB_ifXEntry MIB_ifXTable, 1
#define OIDIDX_ifX 10
#define OIDIDX_ifXEntry 11
#define MIB_ifName MIB_ifXEntry, 1
#define MIB_ifInMulticastPkts MIB_ifXEntry, 2
#define MIB_ifInBroadcastPkts MIB_ifXEntry, 3
#define MIB_ifOutMulticastPkts MIB_ifXEntry, 4
#define MIB_ifOutBroadcastPkts MIB_ifXEntry, 5
#define MIB_ifHCInOctets MIB_ifXEntry, 6
#define MIB_ifHCInUcastPkts MIB_ifXEntry, 7
#define MIB_ifHCInMulticastPkts MIB_ifXEntry, 8
#define MIB_ifHCInBroadcastPkts MIB_ifXEntry, 9
#define MIB_ifHCOutOctets MIB_ifXEntry, 10
#define MIB_ifHCOutUcastPkts MIB_ifXEntry, 11
#define MIB_ifHCOutMulticastPkts MIB_ifXEntry, 12
#define MIB_ifHCOutBroadcastPkts MIB_ifXEntry, 13
#define MIB_ifLinkUpDownTrapEnable MIB_ifXEntry, 14
#define MIB_ifHighSpeed MIB_ifXEntry, 15
#define MIB_ifPromiscuousMode MIB_ifXEntry, 16
#define MIB_ifConnectorPresent MIB_ifXEntry, 17
#define MIB_ifAlias MIB_ifXEntry, 18
#define MIB_ifCounterDiscontinuityTime MIB_ifXEntry, 19
#define MIB_ifStackTable MIB_ifMIBObjects, 2
#define MIB_ifStackEntry MIB_ifStackTable, 1
#define OIDIDX_ifStack 10
#define OIDIDX_ifStackEntry 11
#define MIB_ifStackStatus MIB_ifStackEntry, 3
#define MIB_ifRcvAddressTable MIB_ifMIBObjects, 4
#define MIB_ifRcvAddressEntry MIB_ifRcvAddressTable, 1
#define OIDIDX_ifRcvAddress 10
#define OIDIDX_ifRcvAddressEntry 11
#define MIB_ifRcvAddressStatus MIB_ifRcvAddressEntry, 2
#define MIB_ifRcvAddressType MIB_ifRcvAddressEntry, 3
#define MIB_ifStackLastChange MIB_ifMIBObjects, 6
#define MIB_interfaces MIB_mib_2, 2
#define MIB_ifNumber MIB_interfaces, 1
#define MIB_ifTable MIB_interfaces, 2
#define MIB_ifEntry MIB_ifTable, 1
#define OIDIDX_if 9
#define OIDIDX_ifEntry 10
#define MIB_ifIndex MIB_ifEntry, 1
#define MIB_ifDescr MIB_ifEntry, 2
#define MIB_ifType MIB_ifEntry, 3
#define MIB_ifMtu MIB_ifEntry, 4
#define MIB_ifSpeed MIB_ifEntry, 5
#define MIB_ifPhysAddress MIB_ifEntry, 6
#define MIB_ifAdminStatus MIB_ifEntry, 7
#define MIB_ifOperStatus MIB_ifEntry, 8
#define MIB_ifLastChange MIB_ifEntry, 9
#define MIB_ifInOctets MIB_ifEntry, 10
#define MIB_ifInUcastPkts MIB_ifEntry, 11
#define MIB_ifInNUcastPkts MIB_ifEntry, 12
#define MIB_ifInDiscards MIB_ifEntry, 13
#define MIB_ifInErrors MIB_ifEntry, 14
#define MIB_ifInUnknownErrors MIB_ifEntry, 15
#define MIB_ifOutOctets MIB_ifEntry, 16
#define MIB_ifOutUcastPkts MIB_ifEntry, 17
#define MIB_ifOutNUcastPkts MIB_ifEntry, 18
#define MIB_ifOutDiscards MIB_ifEntry, 19
#define MIB_ifOutErrors MIB_ifEntry, 20
#define MIB_ifOutQLen MIB_ifEntry, 21
#define MIB_ifSpecific MIB_ifEntry, 22
/* IP-MIB */
#define MIB_ipMIB MIB_mib_2, 4
#define OIDIDX_ip 7
#define MIB_ipForwarding MIB_ipMIB, 1
#define MIB_ipDefaultTTL MIB_ipMIB, 2
#define MIB_ipInReceives MIB_ipMIB, 3
#define MIB_ipInHdrErrors MIB_ipMIB, 4
#define MIB_ipInAddrErrors MIB_ipMIB, 5
#define MIB_ipForwDatagrams MIB_ipMIB, 6
#define MIB_ipInUnknownProtos MIB_ipMIB, 7
#define MIB_ipInDiscards MIB_ipMIB, 8
#define MIB_ipInDelivers MIB_ipMIB, 9
#define MIB_ipOutRequests MIB_ipMIB, 10
#define MIB_ipOutDiscards MIB_ipMIB, 11
#define MIB_ipOutNoRoutes MIB_ipMIB, 12
#define MIB_ipReasmTimeout MIB_ipMIB, 13
#define MIB_ipReasmReqds MIB_ipMIB, 14
#define MIB_ipReasmOKs MIB_ipMIB, 15
#define MIB_ipReasmFails MIB_ipMIB, 16
#define MIB_ipFragOKs MIB_ipMIB, 17
#define MIB_ipFragFails MIB_ipMIB, 18
#define MIB_ipFragCreates MIB_ipMIB, 19
#define MIB_ipAddrTable MIB_ipMIB, 20
#define MIB_ipAddrEntry MIB_ipAddrTable, 1
#define OIDIDX_ipAddr 9
#define OIDIDX_ipAddrEntry 10
#define MIB_ipAdEntAddr MIB_ipAddrEntry, 1
#define MIB_ipAdEntIfIndex MIB_ipAddrEntry, 2
#define MIB_ipAdEntNetMask MIB_ipAddrEntry, 3
#define MIB_ipAdEntBcastAddr MIB_ipAddrEntry, 4
#define MIB_ipAdEntReasmMaxSize MIB_ipAddrEntry, 5
#define MIB_ipNetToMediaTable MIB_ipMIB, 22
#define MIB_ipNetToMediaEntry MIB_ipNetToMediaTable, 1
#define MIB_ipNetToMediaIfIndex MIB_ipNetToMediaEntry, 1
#define MIB_ipNetToMediaPhysAddress MIB_ipNetToMediaEntry, 2
#define MIB_ipNetToMediaNetAddress MIB_ipNetToMediaEntry, 3
#define MIB_ipNetToMediaType MIB_ipNetToMediaEntry, 4
#define MIB_ipRoutingDiscards MIB_ipMIB, 23
/* BRIDGE-MIB */
#define MIB_dot1dBridge MIB_mib_2, 17
#define MIB_dot1dBase MIB_dot1dBridge, 1
#define MIB_dot1dBaseBridgeAddress MIB_dot1dBase, 1
#define MIB_dot1dBaseNumPorts MIB_dot1dBase, 2
#define MIB_dot1dBaseType MIB_dot1dBase, 3
#define MIB_dot1dBasePortTable MIB_dot1dBase, 4
#define OIDIDX_dot1d 10
#define OIDIDX_dot1dEntry 11
#define MIB_dot1dBasePortEntry MIB_dot1dBasePortTable, 1
#define MIB_dot1dBasePort MIB_dot1dBasePortEntry, 1
#define MIB_dot1dBasePortIfIndex MIB_dot1dBasePortEntry, 2
#define MIB_dot1dBasePortCircuit MIB_dot1dBasePortEntry, 3
#define MIB_dot1dBasePortDelayExceededDiscards MIB_dot1dBasePortEntry, 4
#define MIB_dot1dBasePortMtuExceededDiscards MIB_dot1dBasePortEntry, 5
#define MIB_dot1dStp MIB_dot1dBridge, 2
#define MIB_dot1dSr MIB_dot1dBridge, 3
#define MIB_dot1dTp MIB_dot1dBridge, 4
#define MIB_dot1dStatic MIB_dot1dBridge, 5
/*
* PRIVATE ENTERPRISE NUMBERS from
* http://www.iana.org/assignments/enterprise-numbers
*
* This is not the complete list of private enterprise numbers, it only
* includes some well-known companies and especially network companies
* that are very common in the datacenters around the world. It would
* be an overkill to include ~30.000 entries for all the organizations
* from the official list.
*/
#define MIB_ibm MIB_enterprises, 2
#define MIB_cmu MIB_enterprises, 3
#define MIB_unix MIB_enterprises, 4
#define MIB_ciscoSystems MIB_enterprises, 9
#define MIB_hp MIB_enterprises, 11
#define MIB_mit MIB_enterprises, 20
#define MIB_nortelNetworks MIB_enterprises, 35
#define MIB_sun MIB_enterprises, 42
#define MIB_3com MIB_enterprises, 43
#define MIB_synOptics MIB_enterprises, 45
#define MIB_enterasys MIB_enterprises, 52
#define MIB_sgi MIB_enterprises, 59
#define MIB_apple MIB_enterprises, 63
#define MIB_att MIB_enterprises, 74
#define MIB_nokia MIB_enterprises, 94
#define MIB_cern MIB_enterprises, 96
#define MIB_fsc MIB_enterprises, 231
#define MIB_compaq MIB_enterprises, 232
#define MIB_dell MIB_enterprises, 674
#define MIB_alteon MIB_enterprises, 1872
#define MIB_extremeNetworks MIB_enterprises, 1916
#define MIB_foundryNetworks MIB_enterprises, 1991
#define MIB_huawaiTechnology MIB_enterprises, 2011
#define MIB_ucDavis MIB_enterprises, 2021
#define MIB_checkPoint MIB_enterprises, 2620
#define MIB_juniper MIB_enterprises, 2636
#define MIB_force10Networks MIB_enterprises, 6027
#define MIB_alcatelLucent MIB_enterprises, 7483
#define MIB_snom MIB_enterprises, 7526
#define MIB_google MIB_enterprises, 11129
#define MIB_f5Networks MIB_enterprises, 12276
#define MIB_sFlow MIB_enterprises, 14706
#define MIB_microSystems MIB_enterprises, 18623
#define MIB_vantronix MIB_enterprises, 26766
#define MIB_openBSD MIB_enterprises, 30155
/* OPENBSD-MIB */
#define MIB_sensorMIBObjects MIB_openBSD, 2
#define MIB_sensors MIB_sensorMIBObjects, 1
#define MIB_sensorNumber MIB_sensors, 1
#define MIB_sensorTable MIB_sensors, 2
#define MIB_sensorEntry MIB_sensorTable, 1
#define OIDIDX_sensor 11
#define OIDIDX_sensorEntry 12
#define MIB_sensorIndex MIB_sensorEntry, 1
#define MIB_sensorDescr MIB_sensorEntry, 2
#define MIB_sensorType MIB_sensorEntry, 3
#define MIB_sensorDevice MIB_sensorEntry, 4
#define MIB_sensorValue MIB_sensorEntry, 5
#define MIB_sensorUnits MIB_sensorEntry, 6
#define MIB_sensorStatus MIB_sensorEntry, 7
#define MIB_localSystem MIB_openBSD, 23
#define MIB_SYSOID_DEFAULT MIB_openBSD, 23, 1
#define MIB_localTest MIB_openBSD, 42
#define MIB_TREE { \
{ MIBDECL(iso) }, \
{ MIBDECL(org) }, \
{ MIBDECL(dod) }, \
{ MIBDECL(internet) }, \
{ MIBDECL(directory) }, \
{ MIBDECL(mgmt) }, \
{ MIBDECL(mib_2) }, \
{ MIBDECL(system) }, \
{ MIBDECL(sysDescr) }, \
{ MIBDECL(sysOID) }, \
{ MIBDECL(sysUpTime) }, \
{ MIBDECL(sysContact) }, \
{ MIBDECL(sysName) }, \
{ MIBDECL(sysLocation) }, \
{ MIBDECL(sysServices) }, \
{ MIBDECL(sysORLastChange) }, \
{ MIBDECL(sysORTable) }, \
{ MIBDECL(sysOREntry) }, \
{ MIBDECL(sysORIndex) }, \
{ MIBDECL(sysORID) }, \
{ MIBDECL(sysORDescr) }, \
{ MIBDECL(sysORUpTime) }, \
{ MIBDECL(transmission) }, \
{ MIBDECL(snmp) }, \
{ MIBDECL(snmpInPkts) }, \
{ MIBDECL(snmpOutPkts) }, \
{ MIBDECL(snmpInBadVersions) }, \
{ MIBDECL(snmpInBadCommunityNames) }, \
{ MIBDECL(snmpInBadCommunityUses) }, \
{ MIBDECL(snmpInASNParseErrs) }, \
{ MIBDECL(snmpInTooBigs) }, \
{ MIBDECL(snmpInNoSuchNames) }, \
{ MIBDECL(snmpInBadValues) }, \
{ MIBDECL(snmpInReadOnlys) }, \
{ MIBDECL(snmpInGenErrs) }, \
{ MIBDECL(snmpInTotalReqVars) }, \
{ MIBDECL(snmpInTotalSetVars) }, \
{ MIBDECL(snmpInGetRequests) }, \
{ MIBDECL(snmpInGetNexts) }, \
{ MIBDECL(snmpInSetRequests) }, \
{ MIBDECL(snmpInGetResponses) }, \
{ MIBDECL(snmpInTraps) }, \
{ MIBDECL(snmpOutTooBigs) }, \
{ MIBDECL(snmpOutNoSuchNames) }, \
{ MIBDECL(snmpOutBadValues) }, \
{ MIBDECL(snmpOutGenErrs) }, \
{ MIBDECL(snmpOutGetRequests) }, \
{ MIBDECL(snmpOutGetNexts) }, \
{ MIBDECL(snmpOutSetRequests) }, \
{ MIBDECL(snmpOutGetResponses) }, \
{ MIBDECL(snmpOutTraps) }, \
{ MIBDECL(snmpEnableAuthenTraps) }, \
{ MIBDECL(snmpSilentDrops) }, \
{ MIBDECL(snmpProxyDrops) }, \
{ MIBDECL(experimental) }, \
{ MIBDECL(private) }, \
{ MIBDECL(enterprises) }, \
{ MIBDECL(security) }, \
{ MIBDECL(snmpV2) }, \
{ MIBDECL(snmpDomains) }, \
{ MIBDECL(snmpProxies) }, \
{ MIBDECL(snmpModules) }, \
{ MIBDECL(snmpMIB) }, \
{ MIBDECL(snmpMIBObjects) }, \
{ MIBDECL(snmpTrap) }, \
{ MIBDECL(snmpTrapOID) }, \
{ MIBDECL(snmpTrapEnterprise) }, \
{ MIBDECL(snmpTraps) }, \
{ MIBDECL(coldStart) }, \
{ MIBDECL(warmStart) }, \
{ MIBDECL(linkDown) }, \
{ MIBDECL(linkUp) }, \
{ MIBDECL(authenticationFailure) }, \
{ MIBDECL(egpNeighborLoss) }, \
\
{ MIBDECL(host) }, \
{ MIBDECL(hrSystem) }, \
{ MIBDECL(hrSystemUptime) }, \
{ MIBDECL(hrSystemDate) }, \
{ MIBDECL(hrSystemInitialLoadDevice) }, \
{ MIBDECL(hrSystemInitialLoadParameters) }, \
{ MIBDECL(hrSystemNumUsers) }, \
{ MIBDECL(hrSystemProcesses) }, \
{ MIBDECL(hrSystemMaxProcesses) }, \
{ MIBDECL(hrStorage) }, \
{ MIBDECL(hrStorageTypes) }, \
{ MIBDECL(hrMemorySize) }, \
{ MIBDECL(hrStorageTable) }, \
{ MIBDECL(hrStorageEntry) }, \
{ MIBDECL(hrStorageIndex) }, \
{ MIBDECL(hrStorageType) }, \
{ MIBDECL(hrStorageDescr) }, \
{ MIBDECL(hrStorageAllocationUnits) }, \
{ MIBDECL(hrStorageSize) }, \
{ MIBDECL(hrStorageUsed) }, \
{ MIBDECL(hrStorageAllocationFailures) }, \
{ MIBDECL(hrSWRun) }, \
{ MIBDECL(hrSWOSIndex) }, \
{ MIBDECL(hrSWRunTable) }, \
{ MIBDECL(hrSWRunEntry) }, \
{ MIBDECL(hrSWRunIndex) }, \
{ MIBDECL(hrSWRunName) }, \
{ MIBDECL(hrSWRunID) }, \
{ MIBDECL(hrSWRunPath) }, \
{ MIBDECL(hrSWRunParameters) }, \
{ MIBDECL(hrSWRunType) }, \
{ MIBDECL(hrSWRunStatus) }, \
{ MIBDECL(hrSWRunPerf) }, \
{ MIBDECL(hrSWRunPerfTable) }, \
{ MIBDECL(hrSWRunPerfEntry) }, \
{ MIBDECL(hrSWRunPerfCPU) }, \
{ MIBDECL(hrSWRunPerfMem) }, \
\
{ MIBDECL(ifMIB) }, \
{ MIBDECL(ifMIBObjects) }, \
{ MIBDECL(ifXTable) }, \
{ MIBDECL(ifXEntry) }, \
{ MIBDECL(ifName) }, \
{ MIBDECL(ifInMulticastPkts) }, \
{ MIBDECL(ifInBroadcastPkts) }, \
{ MIBDECL(ifOutMulticastPkts) }, \
{ MIBDECL(ifOutBroadcastPkts) }, \
{ MIBDECL(ifHCInOctets) }, \
{ MIBDECL(ifHCInUcastPkts) }, \
{ MIBDECL(ifHCInMulticastPkts) }, \
{ MIBDECL(ifHCInBroadcastPkts) }, \
{ MIBDECL(ifHCOutOctets) }, \
{ MIBDECL(ifHCOutUcastPkts) }, \
{ MIBDECL(ifHCOutMulticastPkts) }, \
{ MIBDECL(ifHCOutBroadcastPkts) }, \
{ MIBDECL(ifLinkUpDownTrapEnable) }, \
{ MIBDECL(ifHighSpeed) }, \
{ MIBDECL(ifPromiscuousMode) }, \
{ MIBDECL(ifConnectorPresent) }, \
{ MIBDECL(ifAlias) }, \
{ MIBDECL(ifCounterDiscontinuityTime) }, \
{ MIBDECL(ifStackTable) }, \
{ MIBDECL(ifStackEntry) }, \
{ MIBDECL(ifRcvAddressTable) }, \
{ MIBDECL(ifRcvAddressEntry) }, \
{ MIBDECL(ifRcvAddressStatus) }, \
{ MIBDECL(ifRcvAddressType) }, \
{ MIBDECL(ifStackLastChange) }, \
{ MIBDECL(interfaces) }, \
{ MIBDECL(ifNumber) }, \
{ MIBDECL(ifTable) }, \
{ MIBDECL(ifEntry) }, \
{ MIBDECL(ifIndex) }, \
{ MIBDECL(ifDescr) }, \
{ MIBDECL(ifType) }, \
{ MIBDECL(ifMtu) }, \
{ MIBDECL(ifSpeed) }, \
{ MIBDECL(ifPhysAddress) }, \
{ MIBDECL(ifAdminStatus) }, \
{ MIBDECL(ifOperStatus) }, \
{ MIBDECL(ifLastChange) }, \
{ MIBDECL(ifInOctets) }, \
{ MIBDECL(ifInUcastPkts) }, \
{ MIBDECL(ifInNUcastPkts) }, \
{ MIBDECL(ifInDiscards) }, \
{ MIBDECL(ifInErrors) }, \
{ MIBDECL(ifInUnknownErrors) }, \
{ MIBDECL(ifOutOctets) }, \
{ MIBDECL(ifOutUcastPkts) }, \
{ MIBDECL(ifOutNUcastPkts) }, \
{ MIBDECL(ifOutDiscards) }, \
{ MIBDECL(ifOutErrors) }, \
{ MIBDECL(ifOutQLen) }, \
{ MIBDECL(ifSpecific) }, \
\
{ MIBDECL(dot1dBridge) }, \
{ MIBDECL(dot1dBase) }, \
{ MIBDECL(dot1dBaseBridgeAddress) }, \
{ MIBDECL(dot1dBaseNumPorts) }, \
{ MIBDECL(dot1dBaseType) }, \
{ MIBDECL(dot1dBasePortTable) }, \
{ MIBDECL(dot1dBasePortEntry) }, \
{ MIBDECL(dot1dBasePort) }, \
{ MIBDECL(dot1dBasePortIfIndex) }, \
{ MIBDECL(dot1dBasePortCircuit) }, \
{ MIBDECL(dot1dBasePortDelayExceededDiscards) },\
{ MIBDECL(dot1dBasePortMtuExceededDiscards) }, \
{ MIBDECL(dot1dStp) }, \
{ MIBDECL(dot1dSr) }, \
{ MIBDECL(dot1dTp) }, \
{ MIBDECL(dot1dStatic) }, \
\
{ MIBDECL(ibm) }, \
{ MIBDECL(cmu) }, \
{ MIBDECL(unix) }, \
{ MIBDECL(ciscoSystems) }, \
{ MIBDECL(hp) }, \
{ MIBDECL(mit) }, \
{ MIBDECL(nortelNetworks) }, \
{ MIBDECL(sun) }, \
{ MIBDECL(3com) }, \
{ MIBDECL(synOptics) }, \
{ MIBDECL(enterasys) }, \
{ MIBDECL(sgi) }, \
{ MIBDECL(apple) }, \
{ MIBDECL(att) }, \
{ MIBDECL(nokia) }, \
{ MIBDECL(cern) }, \
{ MIBDECL(fsc) }, \
{ MIBDECL(compaq) }, \
{ MIBDECL(dell) }, \
{ MIBDECL(alteon) }, \
{ MIBDECL(extremeNetworks) }, \
{ MIBDECL(foundryNetworks) }, \
{ MIBDECL(huawaiTechnology) }, \
{ MIBDECL(ucDavis) }, \
{ MIBDECL(checkPoint) }, \
{ MIBDECL(juniper) }, \
{ MIBDECL(force10Networks) }, \
{ MIBDECL(alcatelLucent) }, \
{ MIBDECL(snom) }, \
{ MIBDECL(google) }, \
{ MIBDECL(f5Networks) }, \
{ MIBDECL(sFlow) }, \
{ MIBDECL(microSystems) }, \
{ MIBDECL(vantronix) }, \
{ MIBDECL(openBSD) }, \
\
{ MIBDECL(sensorMIBObjects) }, \
{ MIBDECL(sensors) }, \
{ MIBDECL(sensorNumber) }, \
{ MIBDECL(sensorTable) }, \
{ MIBDECL(sensorEntry) }, \
{ MIBDECL(sensorIndex) }, \
{ MIBDECL(sensorDescr) }, \
{ MIBDECL(sensorType) }, \
{ MIBDECL(sensorDevice) }, \
{ MIBDECL(sensorValue) }, \
{ MIBDECL(sensorUnits) }, \
{ MIBDECL(sensorStatus) }, \
{ MIBDECL(localSystem) }, \
{ MIBDECL(localTest) }, \
\
{ MIBDECL(ipMIB) }, \
{ MIBDECL(ipForwarding) }, \
{ MIBDECL(ipDefaultTTL) }, \
{ MIBDECL(ipInReceives) }, \
{ MIBDECL(ipInHdrErrors) }, \
{ MIBDECL(ipInAddrErrors) }, \
{ MIBDECL(ipForwDatagrams) }, \
{ MIBDECL(ipInUnknownProtos) }, \
{ MIBDECL(ipInDiscards) }, \
{ MIBDECL(ipInDelivers) }, \
{ MIBDECL(ipOutRequests) }, \
{ MIBDECL(ipOutDiscards) }, \
{ MIBDECL(ipOutNoRoutes) }, \
{ MIBDECL(ipReasmTimeout) }, \
{ MIBDECL(ipReasmReqds) }, \
{ MIBDECL(ipReasmOKs) }, \
{ MIBDECL(ipReasmFails) }, \
{ MIBDECL(ipFragOKs) }, \
{ MIBDECL(ipFragFails) }, \
{ MIBDECL(ipFragCreates) }, \
{ MIBDECL(ipRoutingDiscards) }, \
{ MIBDECL(ipAddrTable) }, \
{ MIBDECL(ipAddrEntry) }, \
{ MIBDECL(ipAdEntAddr) }, \
{ MIBDECL(ipAdEntIfIndex) }, \
{ MIBDECL(ipAdEntNetMask) }, \
{ MIBDECL(ipAdEntBcastAddr) }, \
{ MIBDECL(ipAdEntReasmMaxSize) }, \
{ MIBDECL(ipNetToMediaTable) }, \
{ MIBDECL(ipNetToMediaEntry) }, \
{ MIBDECL(ipNetToMediaIfIndex) }, \
{ MIBDECL(ipNetToMediaPhysAddress) }, \
{ MIBDECL(ipNetToMediaNetAddress) }, \
{ MIBDECL(ipNetToMediaType) }, \
{ MIBDECL(ipNetToMediaType) }, \
\
{ MIBEND } \
}
void mib_init(void);
#endif /* _SNMPD_MIB_H */
|