Skip to main content

HTTP

This check performs queries on HTTP endpoints and HTTP Namespaces to monitor their activity.

Highlight

Connection
connectionPath of existing connection e.g. connection://sftp/instance/ Mutually exclusive with username, passwordConnection
usernameMutually exclusive with connectionEnvVar
passwordMutually exclusive with connectionEnvVar
urlHTTP URL, if a URL is specified on both the connection and check, the URL on the check takes precedence.stringYes
ntlmWhen true, will do authentication using NTLM v1 protocolbool
ntlmv2When true, will do authentication using NTLM v2 protocolbool
apiVersion: canaries.flanksource.com/v1
kind: Canary
metadata:
name: http-check
spec:
interval: 30
http:
- url: https://httpbin.demo.aws.flanksource.com/status/200
thresholdMillis: 3000
responseCodes: [201, 200, 301]
responseContent: ""
maxSSLExpiry: 7
- endpoint: https://httpbin.demo.aws.flanksource.com/status/404
thresholdMillis: 3000
responseCodes: [404]
responseContent: ""
maxSSLExpiry: 7
- endpoint: https://httpbin.demo.aws.flanksource.com/status/500
thresholdMillis: 3000
responseCodes: [500]
responseContent: ""
maxSSLExpiry: 7