summaryrefslogtreecommitdiffstats
path: root/rules/net-snmp.in
diff options
context:
space:
mode:
authorAlexander Dahl <post@lespocky.de>2013-09-20 15:59:31 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2013-09-27 12:55:05 +0200
commit94327f1f0e9d74df4aba70753aa8bc661bb5c093 (patch)
treee98e49efbdec70c17abe9a7eb8954659ddb51119 /rules/net-snmp.in
parent292762fb6ebab8ae1bf8f5c2d67db88cb2165927 (diff)
downloadptxdist-94327f1f0e9d74df4aba70753aa8bc661bb5c093.tar.gz
ptxdist-94327f1f0e9d74df4aba70753aa8bc661bb5c093.tar.xz
net-snmp: added extra menu entries for mib modules
Previously the MIB modules to be compiled where specified in a space separated list only. Other packages depending on special modules could not easily set a dependency. Now there are some extra menu entries to be referenced by other packages and still the old list. Both are integrated at build time. Signed-off-by: Alexander Dahl <post@lespocky.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/net-snmp.in')
-rw-r--r--rules/net-snmp.in48
1 files changed, 48 insertions, 0 deletions
diff --git a/rules/net-snmp.in b/rules/net-snmp.in
index 95b7d4369..a36a915f8 100644
--- a/rules/net-snmp.in
+++ b/rules/net-snmp.in
@@ -6,6 +6,7 @@ menuconfig NET_SNMP
select GCCLIBS_GCC_S if NET_SNMP_AGENT
select LIBC_DL if NET_SNMP_AGENT || NET_SNMP_APPLICATIONS
select LIBNL if NET_SNMP_AGENT || NET_SNMP_APPLICATIONS
+ select LM_SENSORS if NET_SNMP_MIB_MODULES_LM_SENSORS
if NET_SNMP
@@ -101,10 +102,57 @@ config NET_SNMP_PERSISTENT_DIR
string
default "/var/net-snmp"
+menu "additional mib modules "
+
+config NET_SNMP_MIB_MODULES_AGENTX
+ prompt "agentx"
+ bool
+ help
+ AgentX support (includes both agentx/master and agentx/client).
+
+config NET_SNMP_MIB_MODULES_UCD_SNMP
+ prompt "ucd_snmp"
+ bool
+ help
+ UCD-SNMP-MIB specific extensions.
+
+config NET_SNMP_MIB_MODULES_LM_SENSORS
+ prompt "ucd-snmp/lmsensorsMib"
+ bool
+ help
+ hardware monitoring (LM-SENSORS-MIB)
+
config NET_SNMP_MIB_MODULES
prompt "additional mib modules"
string
default ""
+ help
+ space separated list of optional modules
+ tunnel Linux TUNNEL-MIB support (ifTable extension)
+ mibII/interfaces (old ifTable implementation)
+ misc/ipfwacc accounting rules IP firewall information
+ ipfwchains/ipfwchains firewall chains under ipfw
+ sctp-mib support for the SCTP-MIB
+ etherlike-mib support for the EtherLike-MIB
+
+config NET_SNMP_WITHOUT_MIB_MODULES
+ prompt "without these mib modules"
+ string
+ default ""
+ help
+ space separated list of default mib modules compiled into the
+ agent (which can be removed):
+ mibII support for the mib-II tree.
+ snmpv3mibs support for the snmpv3 mib modules.
+ agent_mibs NET-SNMP-AGENT-MIB extensions
+ notification mibs supporting specification of trap destinations.
+ target Support for the SNMP WGs TARGET-MIB.
+ utilities general agent configuration utilities.
+ disman/event support for the DISMAN-EVENT-MIB
+ disman/schedule support for the DISMAN-SCHEDULE-MIB
+ host host resources mib support.
+
+endmenu
config NET_SNMP_DEFAULT_MIBS
prompt "default mib id's to read"