update to make a working sample_config
This commit is contained in:
parent
e9227889a5
commit
0cf4b671fd
|
@ -8,9 +8,9 @@ This input plugin will test HTTP/HTTPS connections.
|
||||||
# List of UDP/TCP connections you want to check
|
# List of UDP/TCP connections you want to check
|
||||||
[[inputs.http_response]]
|
[[inputs.http_response]]
|
||||||
# Server address (default http://localhost)
|
# Server address (default http://localhost)
|
||||||
address = "http://github.com:80"
|
address = "https://github.com"
|
||||||
# Set http response timeout (default 1.0)
|
# Set http response timeout (default 10)
|
||||||
response_timeout = 1.0
|
response_timeout = 10
|
||||||
# HTTP Method (default "GET")
|
# HTTP Method (default "GET")
|
||||||
method = "GET"
|
method = "GET"
|
||||||
```
|
```
|
||||||
|
|
|
@ -23,9 +23,9 @@ func (_ *HttpResponse) Description() string {
|
||||||
|
|
||||||
var sampleConfig = `
|
var sampleConfig = `
|
||||||
## Server address (default http://localhost)
|
## Server address (default http://localhost)
|
||||||
address = "http://github.com:80"
|
address = "https://github.com"
|
||||||
## Set response_timeout (default 1 seconds)
|
## Set response_timeout (default 1 seconds)
|
||||||
response_timeout = 1
|
response_timeout = 10
|
||||||
## HTTP Method
|
## HTTP Method
|
||||||
method = "GET"
|
method = "GET"
|
||||||
`
|
`
|
||||||
|
|
Loading…
Reference in New Issue