Initial attempt at creating incidents when an URL becomes unhealthy. Missing to actually call it from the scheduler. #3

This commit is contained in:
Mitsuo Takaki
2016-05-16 01:31:53 -07:00
parent 9c8c89c1dd
commit 0f53ff8678
6 changed files with 129 additions and 53 deletions

View File

@@ -8,10 +8,11 @@ endpoint:
- type: LATENCY
threshold: 1
- type: REGEX
regex: '.*<body>.*'
regex: '.*(<body).*'
cachet:
api_url: https://demo.cachethq.io/api/v1
token: my_token
component_id: 1
#metric_id: 1
create_incident: true
frequency: 30