chore(readme): data, expected_md5sum and expected_length

This commit is contained in:
Christoph Eck
2020-10-20 13:49:14 +02:00
parent 5d78504138
commit e8dc6e5789

View File

@@ -54,7 +54,8 @@ monitors:
timeout: 1 timeout: 1
# If % of downtime is over this threshold, open an incident # If % of downtime is over this threshold, open an incident
threshold: 80 threshold: 80
# Raw data to transmit
data: "{\"key\":\"value\"}"
# custom HTTP headers # custom HTTP headers
headers: headers:
Authorization: Basic <hash> Authorization: Basic <hash>
@@ -62,6 +63,10 @@ monitors:
expected_status_code: 200 expected_status_code: 200
# regex to match body # regex to match body
expected_body: "P.*NG" expected_body: "P.*NG"
# expected body response md5 checksum
expected_md5sum: "<md5sum>"
# expected body response length
expected_length: 12345
# dns monitor example # dns monitor example
- name: dns - name: dns
# fqdn # fqdn