Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Sep 2017 12:37:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 222101] sysutils/munin-node/plugins/zpool_chksum
Message-ID:  <bug-222101-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222101

            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@FreeBSD.org
          Reporter: gkontos@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=3D$(zpool status|awk 'BEGIN {p=3D0} /spares$/ || /^$/ {p=3D0} p=3D=
=3D1 {print}
/NAME.*STATE.*READ/ {p=3D1}'

With=20

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

That will omit the .eli

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222101-13>