[Bug 251103] net-mgmt/net-snmp: memory patch lost after 5.7 to 5.9 upgrade
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Nov 13 16:43:37 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251103
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 at FreeBSD.org
Reporter: ncrogers at gmail.com
Assignee: zi at FreeBSD.org
Flags: maintainer-feedback?(zi at FreeBSD.org)
Created attachment 219637
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=219637&action=edit
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 change
was never upstreamed to net-snmp.
This issue is a repeat of the old PR:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=148339
I've attached a patch that includes the old patch, which still applies cleanly.
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.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list