diff options
author | Chris <github.account@chrigel.net> | 2018-09-24 16:09:41 +0200 |
---|---|---|
committer | Paweł Krupa <pawel@krupa.net.pl> | 2018-09-24 16:09:41 +0200 |
commit | 39385d786d0f2fd1b1aa05b571150f988d895f93 (patch) | |
tree | 5ff10335c505b95621f598cb35e02faffc7afb6e /conf.d | |
parent | 53e8c5ab747965ebc1a5fab342168a1adabeb580 (diff) |
Make method in url service configurable (#4257)
* Make method in url service configurable
#4127
* Add documentation for http method
* wake up WIP
Diffstat (limited to 'conf.d')
-rw-r--r-- | conf.d/python.d/httpcheck.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/conf.d/python.d/httpcheck.conf b/conf.d/python.d/httpcheck.conf index 058e057a65..bd21b5af87 100644 --- a/conf.d/python.d/httpcheck.conf +++ b/conf.d/python.d/httpcheck.conf @@ -66,6 +66,7 @@ chart_cleanup: 0 # url: 'http[s]://host-ip-or-dns[:port][path]' # # [required] the remote host url to connect to. If [:port] is missing, it defaults to 80 # # for HTTP and 443 for HTTPS. [path] is optional too, defaults to / +# method: GET # [optional] the HTTP request method (POST, PUT, DELETE, HEAD etc.) # redirect: yes # [optional] If the remote host returns 3xx status codes, the redirection url will be # # followed (default). # status_accepted: # [optional] By default, 200 is accepted. Anything else will result in 'bad status' in the |