[Bug 222101] sysutils/munin-node/plugins/zpool_chksum

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Sep 6 12:37:25 UTC 2017


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

            Bug ID: 222101
           Summary: sysutils/munin-node/plugins/zpool_chksum
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: gkontos at aicom.gr

On GELI encrypted pools the plugin refuses to create graphs because of the .eli
prefix in the drives:

missing required attribute 'label' for data source 'Rda2' in service
zpool_chksum on my.hostnam,e/xxx.xxx.xxx.xxx:4949
...
...

Solution:

Replace

status=$(zpool status|awk 'BEGIN {p=0} /spares$/ || /^$/ {p=0} p==1 {print}
/NAME.*STATE.*READ/ {p=1}'

With 

status=$(zpool status|awk 'BEGIN {p=0} /spares$/ || /^$/ {p=0} p==1 {print}
/NAME.*STATE.*READ/ {p=1}' | sed -e 's/.eli//g')

That will omit the .eli

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


More information about the freebsd-ports-bugs mailing list