basic refactor + new prototype

This commit is contained in:
Matej Kramny
2017-02-04 16:02:22 -08:00
parent aaecc1669a
commit e910807973
6 changed files with 145 additions and 81 deletions

16
example.config.yml Normal file
View File

@@ -0,0 +1,16 @@
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>