From 363015e26cb29c4456e81a38b7bce06ba5a57619 Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 31 May 2020 11:59:36 +0200 Subject: [PATCH] Use full path for socket --- templates/telegraf.conf.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/telegraf.conf.j2 b/templates/telegraf.conf.j2 index 171192f..accd7e9 100644 --- a/templates/telegraf.conf.j2 +++ b/templates/telegraf.conf.j2 @@ -56,8 +56,8 @@ address = "{{ telegraf.inputs.postgresql.address }}" ignored_databases = ["template0", "template1"] -#[[inputs.haproxy]] -# servers = ["socket:/haproxy/haproxy.sock"] +[[inputs.haproxy]] + servers = ["socket:/run/haproxy/haproxy-stats.sock"] [[inputs.unbound]] server = "localhost:8953"