From: Alexander Dahl <post@lespocky.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 1/2] net-snmp: improve help texts and defaults
Date: Wed, 11 Sep 2013 14:59:13 +0200 [thread overview]
Message-ID: <1378904354-23820-1-git-send-email-post@lespocky.de> (raw)
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
next reply other threads:[~2013-09-11 12:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-11 12:59 Alexander Dahl [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1378904354-23820-1-git-send-email-post@lespocky.de \
--to=post@lespocky.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox