summaryrefslogtreecommitdiff
path: root/agent/mibgroup/default_modules.h
blob: 6a77f708a19d733d7166c9b2e4d8dd3e9e3cdf46 (plain)
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
/* this is a Net-SNMP distributed file that sets all default mib
   modules to be built into the Net-SNMP agent */


/* these go into both the mini agent and the full agent */
config_require(snmpv3mibs)

#ifdef NETSNMP_MINI_AGENT

/* limit the mibII modules to the bare minimum */
config_require(mibII/snmp_mib)
config_require(mibII/system_mib)
config_require(mibII/sysORTable)
config_require(mibII/vacm_vars)
config_require(mibII/vacm_conf)
config_require(utilities/execute)

/* very few default mibs */
config_add_mib(SNMPv2-MIB)
config_add_mib(RFC1213-MIB)

#else /* !NETSNMP_MINI_AGENT == the full shabang */

config_require(mibII)
config_require(ucd_snmp)
config_require(notification)
config_require(notification-log-mib)
config_require(target)
config_require(agent_mibs)
config_require(agentx)
config_require(disman/event)
config_require(disman/schedule)
config_require(utilities)

/* default MIBs to auto-include for parsing */
/* NOTE: we consider these MIBs users will likely want to load by
   default, even if they're not supporting it in the agent (ie, the
   command line tools need to load them anyway) */
config_add_mib(IP-MIB)
config_add_mib(IF-MIB)
config_add_mib(TCP-MIB)
config_add_mib(UDP-MIB)
config_add_mib(HOST-RESOURCES-MIB)
config_add_mib(SNMPv2-MIB)
config_add_mib(RFC1213-MIB)
config_add_mib(NOTIFICATION-LOG-MIB)
config_add_mib(DISMAN-EVENT-MIB)
config_add_mib(DISMAN-SCHEDULE-MIB)

/* architecture specific extra modules */
/* these symbols are set in the host specific net-snmp/system/<os>.h files */
#ifdef NETSNMP_INCLUDE_HOST_RESOURCES
    config_require(host)
#endif

#endif