summaryrefslogtreecommitdiffstats
path: root/collectors
diff options
context:
space:
mode:
authorYashar Nesabian <nesabian@gmail.com>2020-02-03 17:02:43 +0330
committerGitHub <noreply@github.com>2020-02-03 16:32:43 +0300
commitae0ed88628adc1ee6f93b66e63c2941eb2ca8572 (patch)
treebeaaa129c517b7fd8474cc5895890781ec06f7f6 /collectors
parentf42fe9916704c31e95b8f25dba2410e6afe66bc1 (diff)
update httpcheck.conf (#7952)
* update httpcheck.conf add a description on how to send the header with the request * Update httpcheck.conf Added description on the request body section.
Diffstat (limited to 'collectors')
-rw-r--r--collectors/python.d.plugin/httpcheck/httpcheck.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/collectors/python.d.plugin/httpcheck/httpcheck.conf b/collectors/python.d.plugin/httpcheck/httpcheck.conf
index 1e1dd0205e..95adba2705 100644
--- a/collectors/python.d.plugin/httpcheck/httpcheck.conf
+++ b/collectors/python.d.plugin/httpcheck/httpcheck.conf
@@ -70,9 +70,12 @@ 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 /
+# header: {'Content-Type': 'application/json'}
+# # [optional] the HTTP header sent with the request.
# 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).
+# body: {'key': 'value'} # [optional] the body sent with the request (e.g. POST, PUT, PATCH).
# status_accepted: # [optional] By default, 200 is accepted. Anything else will result in 'bad status' in the
# # status chart, however: The response time will still be > 0, since the
# # host responded with something.