From f868d54e969ab3d52406f7dfcb44fe203b09c7ad Mon Sep 17 00:00:00 2001 From: Luke Swithenbank Date: Thu, 31 Mar 2016 19:54:08 +1100 Subject: [PATCH] update to make a working sample_config --- plugins/inputs/http_response/README.md | 6 +++--- plugins/inputs/http_response/http_response.go | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/inputs/http_response/README.md b/plugins/inputs/http_response/README.md index 13da76097..b70bbde72 100644 --- a/plugins/inputs/http_response/README.md +++ b/plugins/inputs/http_response/README.md @@ -8,9 +8,9 @@ This input plugin will test HTTP/HTTPS connections. # List of UDP/TCP connections you want to check [[inputs.http_response]] # Server address (default http://localhost) - address = "http://github.com:80" - # Set http response timeout (default 1.0) - response_timeout = 1.0 + address = "https://github.com" + # Set http response timeout (default 10) + response_timeout = 10 # HTTP Method (default "GET") method = "GET" ``` diff --git a/plugins/inputs/http_response/http_response.go b/plugins/inputs/http_response/http_response.go index e19c698a8..d2d35025a 100644 --- a/plugins/inputs/http_response/http_response.go +++ b/plugins/inputs/http_response/http_response.go @@ -23,9 +23,9 @@ func (_ *HttpResponse) Description() string { var sampleConfig = ` ## Server address (default http://localhost) - address = "http://github.com:80" + address = "https://github.com" ## Set response_timeout (default 1 seconds) - response_timeout = 1 + response_timeout = 10 ## HTTP Method method = "GET" `