[Bug 235197] sysutils/munin-node: list output empty unless hostname is lower case
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Jan 25 15:55:25 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235197
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 at FreeBSD.org
Reporter: john at saltant.com
Assignee: mat at FreeBSD.org
Flags: maintainer-feedback?(mat at FreeBSD.org)
Created attachment 201395
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=201395&action=edit
sysutils/munin-node: Lookup registered plugins case-insensitively
Conditions to reproduce
=======================
The hostname Munin discovers or is configured with (host_name) contains
uppercase characters.
Expected behavior
=================
$ 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
=================
$ 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
==========
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 snoop
the connection banner:
[Group;hostname.example.com]
# ...
use_node_name no
Fix
===
This has been fixed upstream but not yet released. The attached patch backports
the fix.
https://github.com/munin-monitoring/munin/commit/8ff5d5a9ec8b7ffd99dce61fee42defe7bda3b29
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list