mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 1/2] net-snmp: improve help texts and defaults
@ 2013-09-11 12:59 Alexander Dahl
  2013-09-11 12:59 ` [ptxdist] [PATCH 2/2] net-snmp: added extra menu entries for mib modules Alexander Dahl
  2013-09-11 13:09 ` [ptxdist] [PATCH 1/2] net-snmp: improve help texts and defaults Uwe Kleine-König
  0 siblings, 2 replies; 5+ messages in thread
From: Alexander Dahl @ 2013-09-11 12:59 UTC (permalink / raw)
  To: ptxdist


Signed-off-by: Alexander Dahl <post@lespocky.de>
---
 rules/net-snmp.in   |   12 +++++++++---
 rules/net-snmp.make |    4 ++--
 2 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/rules/net-snmp.in b/rules/net-snmp.in
index aed84a8..95b7d43 100644
--- a/rules/net-snmp.in
+++ b/rules/net-snmp.in
@@ -109,7 +109,11 @@ config NET_SNMP_MIB_MODULES
 config NET_SNMP_DEFAULT_MIBS
 	prompt "default mib id's to read"
 	string
-	default	""
+	default	"SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB"
+	help
+	  Colon separated list of default mib IDs to read. (The default list
+	  is "SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB" with the addition of
+	  any mibs used by the mib modules the agent is configured with)
 
 config NET_SNMP_MIB_INSTALL_DIR
 	prompt "directory to install mib files"
@@ -117,8 +121,10 @@ config NET_SNMP_MIB_INSTALL_DIR
 	default	"/usr/share/snmp/mibs"
 
 config NET_SNMP_DOM_SOCK_ONLY
-	bool "Only allow domain socket connections to the agent" if NET_SNMP_AGENT
+	bool "Disable UDP/TCP transports for agentx" if NET_SNMP_AGENT
 	default y
 	help
-	  Enable this to disable TCP and UDP connections to the agent.
+	  Enable this to disable TCP and UDP connections for subagent
+	  connections with AgentX protocol. Only unix socket connections are
+	  allowed then.
 endif
diff --git a/rules/net-snmp.make b/rules/net-snmp.make
index 7a25043..894946b 100644
--- a/rules/net-snmp.make
+++ b/rules/net-snmp.make
@@ -54,8 +54,8 @@ NET_SNMP_AUTOCONF := \
 	--disable-privacy \
 	--disable-internal-md5 \
 	--$(call ptx/endis, PTXCONF_NET_SNMP_DOM_SOCK_ONLY)-agentx-dom-sock-only \
-	--disable-mib-config-checking \
-	--disable-mfd-rewrites \
+	--enable-mib-config-checking \
+	--enable-mfd-rewrites \
 	--disable-testing-code \
 	--disable-reentrant \
 	--disable-embedded-perl \
-- 
1.7.10.4


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-09-12  9:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-11 12:59 [ptxdist] [PATCH 1/2] net-snmp: improve help texts and defaults Alexander Dahl
2013-09-11 12:59 ` [ptxdist] [PATCH 2/2] net-snmp: added extra menu entries for mib modules Alexander Dahl
2013-09-11 13:09 ` [ptxdist] [PATCH 1/2] net-snmp: improve help texts and defaults Uwe Kleine-König
2013-09-11 13:26   ` Alexander Dahl
2013-09-12  9:18     ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox