Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jan 2019 15:55:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 235197] sysutils/munin-node: list output empty unless hostname is lower case
Message-ID:  <bug-235197-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 235197
           Summary: sysutils/munin-node: list output empty unless hostname
                    is lower case
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: mat@FreeBSD.org
          Reporter: john@saltant.com
          Assignee: mat@FreeBSD.org
             Flags: maintainer-feedback?(mat@FreeBSD.org)

Created attachment 201395
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D201395&action=
=3Dedit
sysutils/munin-node: Lookup registered plugins case-insensitively

Conditions to reproduce
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

The hostname Munin discovers or is configured with (host_name) contains
uppercase characters.


Expected behavior
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

$ telnet localhost 4949
Trying ::1...
Connected to localhost.
Escape character is '^]'.
# munin node at HostName.example.COM
list
cpu if_igb0 if_packets_igb0 iostat load memory systat users
quit
Connection closed by foreign host.


Observed behavior
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

$ telnet localhost 4949
Trying ::1...
Connected to localhost.
Escape character is '^]'.
# munin node at HostName.example.COM
list

quit
Connection closed by foreign host.


Workaround
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

A) Set an all-lowercase host name in the munin-node config:

    host_name hostname.example.com

OR

B) Set an all-lowercase host name in the munin-master config, and don't sno=
op
the connection banner:

    [Group;hostname.example.com]
    # ...
    use_node_name no


Fix
=3D=3D=3D

This has been fixed upstream but not yet released. The attached patch backp=
orts
the fix.

https://github.com/munin-monitoring/munin/commit/8ff5d5a9ec8b7ffd99dce61fee=
42defe7bda3b29

--=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-235197-7788>