[Bug 254231] bsnmpget MIB definition file inconsistency
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Mar 12 06:54:59 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254231
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 at FreeBSD.org
Reporter: mike at jellydonut.org
Created attachment 223197
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=223197&action=edit
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
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list