From 73cba644b6743d7fd2b8ff32f9aadb1ecb72ad0c Mon Sep 17 00:00:00 2001 From: ngie Date: Sun, 19 Mar 2017 22:14:22 +0000 Subject: [PATCH] MFC r311601: Move the mibII module up so uncommenting the bridge module works Add a note about how module ordering and dependent modules git-svn-id: svn://svn.freebsd.org/base/stable/10@315593 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- etc/snmpd.config | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/etc/snmpd.config b/etc/snmpd.config index 22a992178..0eb205e5a 100644 --- a/etc/snmpd.config +++ b/etc/snmpd.config @@ -122,6 +122,14 @@ snmpEnableAuthenTraps = 2 # order to use the enclosed variables, e.g. `usmUserStatus.$(engine).$(user1)` # can only be used if %usm is uncommented. # +# Modules are loaded in the order listed, so they must be before any +# dependent modules, e.g. "mibII" vs "bridge". +# + +# +# MIB-2 module +# +begemotSnmpdModulePath."mibII" = "/usr/lib/snmp_mibII.so" # # Bridge module @@ -135,11 +143,6 @@ snmpEnableAuthenTraps = 2 # #begemotSnmpdModulePath."hostres" = "/usr/lib/snmp_hostres.so" -# -# MIB-2 module -# -begemotSnmpdModulePath."mibII" = "/usr/lib/snmp_mibII.so" - # # Netgraph module # -- 2.42.0