Bug 239657

Summary: net-mgmt/bsnmp-ucd: Fix memCached
Product: Ports & Packages Reporter: topical <topical>
Component: Individual Port(s)Assignee: Mikolaj Golub <trociny>
Status: Closed FIXED    
Severity: Affects Some People Flags: koobs: maintainer-feedback+
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238027
Attachments:
Description Flags
fix initialization of mibmem.cached none

Description topical 2019-08-05 14:30:30 UTC
memCached gets increased on every update, making it unusable.

Reason is https://github.com/trociny/bsnmp-ucd/commit/e04763c409e5260fee04adb48d8df0cd0a63f608#diff-1817c06ea819ca3dc6091bd3f25daf24 which doesn't initialize mibmem.cached on newer kernels.

Even though this commit is rather old, it didn't made its way to the official port repository until 2019Q3. There, it was part of the update to version 0.4.3. This update in turn was initiated by Bug Report 238027

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238027

E.g. nagios-snmp-plugins-extras returns bogus values now and thus is unusable.
Comment 1 topical 2019-08-05 15:18:42 UTC
Created attachment 206293 [details]
fix initialization of mibmem.cached
Comment 2 Mikolaj Golub freebsd_committer freebsd_triage 2019-08-05 17:08:55 UTC
Thank you for your report!

I have pushed a little different version and going to release a new version of bsnmp-ucd with the fix and update the port. Does it look good for you?

[1] https://github.com/trociny/bsnmp-ucd/commit/dc8028d78c890222f3da4a6f9d6bb2f4c8b3932d
Comment 3 topical 2019-08-06 06:54:25 UTC
Sounds great! I'm looking forward to a new version.
Comment 4 commit-hook freebsd_committer freebsd_triage 2019-08-06 10:45:16 UTC
A commit references this bug:

Author: trociny
Date: Tue Aug  6 10:44:29 UTC 2019
New revision: 508246
URL: https://svnweb.freebsd.org/changeset/ports/508246

Log:
  Update to 0.4.4

  PR:		239657

Changes:
  head/net-mgmt/bsnmp-ucd/Makefile
  head/net-mgmt/bsnmp-ucd/distinfo
Comment 5 Kubilay Kocak freebsd_committer freebsd_triage 2020-04-15 02:11:28 UTC
^Triage: This appears resolved by ports r508246

Please re-open if the issue is still reproducible