From fc14f4d8d8cd99aa54b22c9c52367929b3353419 Mon Sep 17 00:00:00 2001 From: m0duspwnens Date: Mon, 20 Jul 2020 14:35:47 -0400 Subject: [PATCH] ensure telegraf hostname is lowercase --- salt/telegraf/etc/telegraf.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/telegraf/etc/telegraf.conf b/salt/telegraf/etc/telegraf.conf index 70ca7837f..9f810f490 100644 --- a/salt/telegraf/etc/telegraf.conf +++ b/salt/telegraf/etc/telegraf.conf @@ -80,7 +80,7 @@ logfile = "/var/log/telegraf/telegraf.log" ## Override default hostname, if empty use os.Hostname() - hostname = "{{ grains.host }}" + hostname = "{{ grains.host | lower }}" ## If set to true, do no set the "host" tag in the telegraf agent. omit_hostname = false