diff options
Diffstat (limited to 'agent/mibgroup/default_modules.h')
-rw-r--r-- | agent/mibgroup/default_modules.h | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/agent/mibgroup/default_modules.h b/agent/mibgroup/default_modules.h new file mode 100644 index 0000000..6a77f70 --- /dev/null +++ b/agent/mibgroup/default_modules.h @@ -0,0 +1,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 |