Ticket #31173 (closed defect: fixed)
net-snmp @5.7 "Cannot find module (SNMPv2-SMI)" noise
| Reported by: | robin@… | Owned by: | ryandesign@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.0.3 |
| Keywords: | haspatch | Cc: | miken32@…, msavory@… |
| Port: | net-snmp |
Description
After update to 5.7 using snmp will cause some "cannot find module" noise, for example:
% snmpstatus -v3 srx1 MIB search path: /Users/username/.snmp/mibs:/opt/local/share/snmp/mibs Cannot find module (SNMPv2-SMI): At line 6 in /opt/local/share/snmp/mibs/SNMPv2-MIB.txt Cannot find module (SNMPv2-TC): At line 9 in /opt/local/share/snmp/mibs/SNMPv2-MIB.txt Cannot find module (SNMPv2-MIB): At line 1 in (none) Cannot find module (IANAifType-MIB): At line 13 in /opt/local/share/snmp/mibs/IF-MIB.txt Cannot find module (IF-MIB): At line 1 in (none) Cannot find module (INET-ADDRESS-MIB): At line 15 in /opt/local/share/snmp/mibs/IP-MIB.txt Cannot find module (IP-MIB): At line 1 in (none) Cannot find module (TCP-MIB): At line 1 in (none) Cannot find module (UDP-MIB): At line 1 in (none) Cannot find module (SNMP-FRAMEWORK-MIB): At line 11 in /opt/local/share/snmp/mibs/SNMP-VIEW-BASED-ACM-MIB.txt Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 1 in (none) Cannot find module (SNMP-TARGET-MIB): At line 18 in /opt/local/share/snmp/mibs/SNMP-COMMUNITY-MIB.txt Cannot find module (SNMP-COMMUNITY-MIB): At line 1 in (none) [UDP: [10.0.99.72]:161->[0.0.0.0]:0]=>[Juniper Networks, Inc. srx3600 internet router, kernel JUNOS 10.4R6.5 #0: 2011-07-23 10:41:41 UTC builder@warth.juniper.net:/volume/build/junos/10.4/release/10.4R6.5/obj-powerpc/bsd/sys/compile/JUNIPER-SRX Build date: 2011-07-23 10:19:14 UTC Copyrigh] Up: 10 days, 20:09:18.84 Interfaces: 122, Recv/Trans packets: 928023598/-1565682018 | IP: 31449226/10144715 23 interfaces are down!
The attached patch, lifted from FreeBSD ports/159252, resolves the issue.
Attachments
Change History
Changed 22 months ago by robin@…
- Attachment net-snmp-5.7_1.diff added
comment:2 Changed 22 months ago by miken32@…
Please add the maintainer's email address to CC so they can know this ticket exists. I'd like to see this get fixed as well.
Maintainers: ryandesign@macports.org, openmaintainer@macports.org
comment:3 Changed 22 months ago by robin@…
My apologies, I appear to lack the ability to amend the CC list post ticket creation. We will have to rely on an admin to do this.
comment:5 follow-up: ↓ 6 Changed 19 months ago by msavory@…
So I read the stuff from FreeBSD, and I initially was concerned that tis was just hiding errors, but seems OK. Will bump on the dev list.
comment:6 in reply to: ↑ 5 Changed 19 months ago by msavory@…
Apple's version works fine still if needed....
$ /usr/bin/snmpwalk -V NET-SNMP version: 5.6
comment:7 Changed 19 months ago by cal@…
- Owner changed from macports-tickets@… to ryandesign@…
Assigned to maintainer.
comment:8 Changed 19 months ago by ryandesign@…
- Keywords haspatch added; snmp removed
I have updated net-snmp to version 5.7.1. Is this still a problem?
comment:10 Changed 19 months ago by msavory@…
Yes, that fixes all the erroneous errors for me as well, thanks Ryan
comment:11 Changed 19 months ago by ryandesign@…
- Status changed from new to closed
- Resolution set to fixed


Patch