HTTP
This check performs queries on HTTP endpoints, and HTTP Namespaces to monitor their activity.
apiVersion: canaries.flanksource.com/v1
kind: Canary
metadata:
name: http-check
spec:
interval: 30
http:
- endpoint: http://status.savanttools.com/?code=200
thresholdMillis: 3000
responseCodes: [201, 200, 301]
responseContent: ""
maxSSLExpiry: 7
- endpoint: http://status.savanttools.com/?code=404
thresholdMillis: 3000
responseCodes: [404]
responseContent: ""
maxSSLExpiry: 7
- endpoint: http://status.savanttools.com/?code=500
thresholdMillis: 3000
responseCodes: [500]
responseContent: ""
maxSSLExpiry: 7
Field | Description | Scheme | Required |
---|---|---|---|
authentication |
Credentials for authentication headers | Authentication | |
body |
Request Body Contents | string | |
description |
Description for the check | string | |
display |
template to display server response in text (overrides default bar format for UI) | Template | |
endpoint |
HTTP endpoint to check. Mutually exclusive with Namespace | string | Yes |
headers |
Header fields to be used in the query | kommons.EnvVar | |
icon |
Icon for overwriting default icon on the dashboard | string | |
method |
Method to use - defaults to GET | string | |
name |
Name of the check | string | |
ntlm |
NTLM when set to true will do authentication using NTLM v1 protocol | bool | |
ntlmv2 |
NTLM when set to true will do authentication using NTLM v2 protocol | bool |