Bug 196504

Summary: [patch] sysutils/munin-common: plugin "iostat" wrongly labels kB/s as MB/s
Product: Ports & Packages Reporter: VK <vlad-fbsd>
Component: Individual Port(s)Assignee: Mathieu Arnold <mat>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (mat)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
sysutils_munin-common.r376291.diff none

Description VK freebsd_triage 2015-01-05 11:54:54 UTC
Created attachment 151350 [details]
sysutils_munin-common.r376291.diff

The sysutils/munin-common (2.0.25) plugin "iostat" wrongly labels "MB per second read+write" and should instead label "kB per second read+write". The values are directly taken from /usr/sbin/iostat which shows kB/sec.

Patch against the SVN tree (revision 376291) attached. The "iostat" plugin already has a patchfile, so this modifies that patchfile to include these additional changes.
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2015-01-05 11:54:54 UTC
Auto-assigned to maintainer mat@FreeBSD.org
Comment 2 commit-hook freebsd_committer freebsd_triage 2015-01-19 17:48:26 UTC
A commit references this bug:

Author: mat
Date: Mon Jan 19 17:47:48 UTC 2015
New revision: 377445
URL: https://svnweb.freebsd.org/changeset/ports/377445

Log:
  Fix the iostat plugin to report the correct unit. [1]
  Fix common plugins PATH problems by adding LOCALBASE/{bin,sbin} to the default
  PATH.  Fix a " that should not have been there.  Fix a few permissions
  problems. [2]

  PR:		196504 [1]
  Submitted by:	Vlad "Blackflow" K.
  PR:		196739 [2]
  Submitted by:	darius dons net au
  Sponsored by:	Absolight

Changes:
  head/sysutils/munin-common/files/patch-plugins_node.d.freebsd_iostat.in
  head/sysutils/munin-node/Makefile
  head/sysutils/munin-node/files/plugins.conf.in