update to make a working sample_config
This commit is contained in:
parent
70aa0ef85d
commit
207ab5a0d1
|
@ -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"
|
||||
```
|
||||
|
|
|
@ -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"
|
||||
`
|
||||
|
|
Loading…
Reference in New Issue