update to make a working sample_config

This commit is contained in:
Luke Swithenbank 2016-03-31 19:54:08 +11:00 committed by Cameron Sparr
parent 70aa0ef85d
commit 207ab5a0d1
2 changed files with 5 additions and 5 deletions

View File

@ -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"
```

View File

@ -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"
`