summaryrefslogtreecommitdiff
path: root/agent/mibgroup/mibII.h
diff options
context:
space:
mode:
Diffstat (limited to 'agent/mibgroup/mibII.h')
-rw-r--r--agent/mibgroup/mibII.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/agent/mibgroup/mibII.h b/agent/mibgroup/mibII.h
new file mode 100644
index 0000000..9b60d36
--- /dev/null
+++ b/agent/mibgroup/mibII.h
@@ -0,0 +1,32 @@
+/*
+ * module to include the modules relavent to the mib-II mib(s)
+ */
+
+config_require(mibII/system_mib)
+config_require(mibII/sysORTable)
+config_require(mibII/at)
+config_require(mibII/ifTable)
+config_require(mibII/ip)
+config_require(mibII/snmp_mib)
+config_require(mibII/tcp)
+config_require(mibII/icmp)
+config_require(mibII/udp)
+config_require(mibII/vacm_vars)
+config_require(mibII/setSerialNo)
+
+/* mibII/ipv6 is activated via --enable-ipv6 and only builds on Linux+*BSD */
+#if defined(NETSNMP_ENABLE_IPV6) && (defined(linux) || defined(freebsd3) || defined(netbsd) || defined(openbsd))
+config_require(mibII/ipv6)
+#endif
+
+#ifdef NETSNMP_INCLUDE_IFTABLE_REWRITES
+config_require(if-mib)
+#endif
+
+/*
+ * these new module re-rewrites have only been implemented for
+ * linux.
+ */
+#if defined( linux )
+config_require(ip-mib ip-forward-mib tcp-mib udp-mib)
+#endif