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: b...@freebsd.org
          Reporter: m...@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.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to