[Bug 210622] net-mgmt/telegraf: Config file includes non-ascii chars
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Jun 27 12:05:54 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210622
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 at FreeBSD.org
Reporter: ports at treg.io
Assignee: girgen at FreeBSD.org
Flags: maintainer-feedback?(girgen at 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-ASCII
# pcregrep -n "[\x80-\xFF]" telegraf.conf
78: ## Precision of writes, valid values are "ns", "us" (or "µs"), "ms", "s",
"m", "h".
885:# ## This collect all heap memory usage metrics.
891:# ## This collect thread counts metrics.
897:# ## This collect number of class loaded/unloaded counts metrics.
I believe these non-acsii chars should be removed from the configuration file.
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.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list