In the config /etc/snmpd.conf uncomment: begemotSnmpdModulePath."bridge" = "/usr/lib/snmp_bridge.so" Logs: ... Mar 18 19:45:01 templ snmpd[1970]: lm_load: open /usr/lib/snmp_bridge.so: Undefined symbol "mib_find_if" Mar 18 19:45:01 templ kernel: Mar 18 19:45:01 templ snmpd[1970]: lm_load: open /usr/lib/snmp_bridge.so: Undefined symbol "mib_find_if" Mar 18 19:45:01 templ snmpd[1970]: init dep failed: 13 1.3.6.1.4.1.12325.1.1.1.6 6.98.114.105.100.103.101 Mar 18 19:45:01 templ kernel: Mar 18 19:45:01 templ snmpd[1970]: init dep failed: 13 1.3.6.1.4.1.12325.1.1.1.6 6.98.114.105.100.103.101 Mar 18 19:45:01 templ snmpd[1970]: error in config file Mar 18 19:45:01 templ kernel: Mar 18 19:45:01 templ snmpd[1970]: error in config file FreeBSD 11.0-STABLE #0 r314635: Sat Mar 4 02:12:23 EET 2017 # pkg info -x snmp bsnmp-regex-0.6_1 bsnmp-ucd-0.4.2 net-snmp-5.7.3_12
You need to load mib-II to get the missing symbol. This is an issue with several of the MIB modules not lazy-loading their dependencies. I think this was noted in the example config file/module manpage, but I'll doublecheck. I'll see if I can at the very least add more intuitive error messages.
Also, you must load mib-II in the config before the bridge module.
(In reply to Ngie Cooper from comment #2) Thanks. Moving a section # # MIB-2 module # begemotSnmpdModulePath."mibII" = "/usr/lib/snmp_mibII.so" just above the boot section of the snmp_bridge.so module in the config snmpd.conf started service bsnmpd. Probably, it is necessary to make the appropriate corrections in the installation config snmpd.conf
I forgot to MFC the change from head that moved MIB-II being loaded before the bridge module. Fixed in r315592/r315593. I'll open another bug to fix the underlying issue that needs to be fixed is more apparent.
(In reply to Ngie Cooper from comment #4) *to fix the underlying -> so the underlying