[Bug 207638] cpu configuration sysutils/minimunin

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 2 09:57:42 UTC 2016


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

            Bug ID: 207638
           Summary: cpu configuration sysutils/minimunin
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: xavi.garcia at gmail.com
                CC: erdgeist at erdgeist.org
             Flags: maintainer-feedback?(erdgeist at erdgeist.org)
                CC: erdgeist at erdgeist.org

Created attachment 167629
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=167629&action=edit
Patch that adds the missing white space

There is a typo in the bash expression that extracts the clockrate from
sysconfig because there is a white space missing.

Tested on FreeBSD 10 but not on FreeBSD 9.


As a result, the Munin master cannot evaluate the CDEF expression and fails to
configure the CPU graphs.


Steps to reproduce the bug:

Notice the white space before 127

# echo "config cpu" | minimunin | grep cdef
system.cdef system, 127,/,100,*
interrupt.cdef interrupt, 127,/,100,*
user.cdef user, 127,/,100,*
nice.cdef nice, 127,/,100,*
idle.cdef idle, 127,/,100,*


Attached patch with the fix

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list