Collectd network interfaces plugin does not work properly, spams "uc_update: Value too old:" in the log. This issue was fixed for /usr/ports/net-mgmt/collectd5 with this patch: http://svnweb.freebsd.org/ports/head/net-mgmt/collectd5/files/patch-src-interface.c?view=markup&pathrev=338750 I've tried the same patch for /usr/ports/net-mgmt/collectd and it works.
Notify maintainer.
Created attachment 144419 [details] net-mgmt-collectd.patch Proposed patch to resolve issue with uc_update
Ok, thank a lot for your help with this issue. I've made a patch to correct this problem (attached). So I hope it will be resolved soon.
maintainer created a fix, so it can be committed now.
ports@bsdserwis.com: I think the attached patch is corrupt. All it does is bump the portrevision; surely there is more to your fix?
Hmm, I don't think so that patch only bumps portrevision :-))) I've checked my ports collection again and there is no patch-src__interface.c actually. So attached patch has also this "missing" file. Or am I wrong? :-)))
(In reply to ports from comment #6) > Hmm, > > I don't think so that patch only bumps portrevision :-))) I've checked my > ports collection again and there is no patch-src__interface.c actually. So > attached patch has also this "missing" file. Or am I wrong? :-))) Yes. Look at the patch on bugzilla. It's easily verifiable. (click the "diff" hyperlink)
The last comment was before I realized bugzilla diff viewer was (and still is) buggy. I'll take it since it's my fault the PR got stalled.
A commit references this bug: Author: marino Date: Sun Oct 5 23:25:48 UTC 2014 New revision: 370134 URL: https://svnweb.freebsd.org/changeset/ports/370134 Log: net-mgmt/collectd: Fix network IF plugin to avoid log spam While here, remove redundant @dirrm and strip installed libraries. PR: 191388 Reported by: Fredrik Lennmark Fix by: maintainer (Krzysztof Stryjek) Changes: head/net-mgmt/collectd/Makefile head/net-mgmt/collectd/files/patch-src__interface.c head/net-mgmt/collectd/pkg-plist
Thanks!