Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Nov 2020 16:43:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 251103] net-mgmt/net-snmp: memory patch lost after 5.7 to 5.9 upgrade
Message-ID:  <bug-251103-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251103

            Bug ID: 251103
           Summary: net-mgmt/net-snmp: memory patch lost after 5.7 to 5.9
                    upgrade
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: zi@FreeBSD.org
          Reporter: ncrogers@gmail.com
          Assignee: zi@FreeBSD.org
             Flags: maintainer-feedback?(zi@FreeBSD.org)

Created attachment 219637
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D219637&action=
=3Dedit
Add back patch-agent_mibgroup_hardware_memory_memory__freebsd.c.

In the upgrade from 5.7.3 to 5.9, the following MIB patch was removed:
patch-agent_mibgroup_hardware_memory_memory__freebsd.c.

This patch is, unfortunately, still necessary to correctly instrument "used"
and "free" memory via SNMP under FreeBSD, since "inactive" memory needs to =
be
reported along with "cache" in the "UCD-SNMP-MIB::memCached" OID. This chan=
ge
was never upstreamed to net-snmp.

This issue is a repeat of the old PR:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D148339

I've attached a patch that includes the old patch, which still applies clea=
nly.

As an aside, I'm not sure if "Laundry" memory needs to be reported in this =
MIB
or not as well? Can someone with more insight comment on this? Currently I =
am
using (memTotalReal - memAvailReal - memCached) to instrument "used" memory=
 via
SNMP.

--=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-251103-7788>