a compiling proof of concept
- abstract type - http, tcp, icmp & dns monitor types - unmarshal from json into any monitor type
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
apiurl: https://demo.cachethq.io/api/v1
|
||||
apitoken: 9yMHsdioQosnyVK4iCVR
|
||||
insecureapi: true
|
||||
monitors:
|
||||
- name: google
|
||||
type: http
|
||||
url: https://google.com
|
||||
stricttls: true
|
||||
threshold: 80
|
||||
componentid: 1
|
||||
interval: 10
|
||||
timeout: 5
|
||||
expectedstatuscode: 200
|
||||
headers:
|
||||
- name: Authorization
|
||||
value: Basic <xyz>
|
||||
Reference in New Issue
Block a user