From 7d49979658fa942847013f6ae7b57e999f836ad2 Mon Sep 17 00:00:00 2001 From: Marko Crnic Date: Wed, 4 May 2016 09:22:34 +0200 Subject: [PATCH] Update haproxy input plugin sample configuration --- plugins/inputs/haproxy/haproxy.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/inputs/haproxy/haproxy.go b/plugins/inputs/haproxy/haproxy.go index 0db3dbb59..d3f3d0696 100644 --- a/plugins/inputs/haproxy/haproxy.go +++ b/plugins/inputs/haproxy/haproxy.go @@ -93,8 +93,8 @@ var sampleConfig = ` ## If no servers are specified, then default to 127.0.0.1:1936 servers = ["http://myhaproxy.com:1936", "http://anotherhaproxy.com:1936"] - ## Or you can also use local socket(not work yet) - ## servers = ["socket://run/haproxy/admin.sock"] + ## Or you can also use local socket + ## servers = ["socket:/run/haproxy/admin.sock"] ` func (r *haproxy) SampleConfig() string {