Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jun 2016 12:05:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 210622] net-mgmt/telegraf: Config file includes non-ascii chars
Message-ID:  <bug-210622-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 210622
           Summary: net-mgmt/telegraf: Config file includes non-ascii
                    chars
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: girgen@FreeBSD.org
          Reporter: ports@treg.io
          Assignee: girgen@FreeBSD.org
             Flags: maintainer-feedback?(girgen@FreeBSD.org)

telegraf.conf in /usr/local/etc/ contanins non-acsii chars that causes for
example puppet to fail if the environment variable LANG is not set:

Error: invalid byte sequence in US-ASCII
Error:
/Stage[main]/Telegraf::Config/File[/usr/local/etc/telegraf.conf]/content:
change from {md5}5c812b6b344d2871127156bad533dc10 to
{md5}2acf801f94443623297ab3bf1f8b0e13 failed: invalid byte sequence in US-A=
SCII


# pcregrep -n "[\x80-\xFF]" telegraf.conf
78:  ## Precision of writes, valid values are "ns", "us" (or "=C2=B5s"), "m=
s", "s",
"m", "h".
885:#   ##=C2=A0This collect all heap memory usage metrics.
891:#   ##=C2=A0This collect thread counts metrics.
897:#   ##=C2=A0This collect number of class loaded/unloaded counts metrics.

I believe these non-acsii chars should be removed from the configuration fi=
le.
If that is not possible the telegraf.conf should be installed as
telegraf.conf.sample and not telegraf.conf.

Let me know if more information is needed.

--=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-210622-13>