From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from moutng.kundenserver.de ([212.227.126.186]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1VJk1P-0005KC-TS for ptxdist@pengutronix.de; Wed, 11 Sep 2013 14:59:52 +0200 From: Alexander Dahl Date: Wed, 11 Sep 2013 14:59:13 +0200 Message-Id: <1378904354-23820-1-git-send-email-post@lespocky.de> Subject: [ptxdist] [PATCH 1/2] net-snmp: improve help texts and defaults Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Signed-off-by: Alexander Dahl --- 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