Date: Fri, 12 Mar 2021 06:54:59 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 254231] bsnmpget MIB definition file inconsistency Message-ID: <bug-254231-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254231 Bug ID: 254231 Summary: bsnmpget MIB definition file inconsistency Product: Base System Version: 11.4-STABLE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: mike@jellydonut.org Created attachment 223197 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D223197&action= =3Dedit fix for mibII definitions for bsnmpget/walk Found an issue when using info-level logging with bsnmpget and bsnmpd. I'm running a local network utilization monitor and found a discrepancy with /usr/share/snmp/defs/mibII_tree.def, what bsnmpget uses to retrieve MIBs. If syslog is set to user.info the following message appears with the default configuration when trying to pull entries referenced in mibII_tree.def: Mar 12 00:37:07 <user.info> socrates bsnmpget: Matching OIDs with different string mappings: old - mib2, new - mibII This seems to be because mibII_tree.def lists its MIBs, like the log says, under mib2 and not mibII. Applied the attached patch and I no longer receive these superfluous log messages. Thanks! Michael Proto --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254231-227>