Files
cachet-monitor/example.config.json
Matej Kramny 36bf228599 a compiling proof of concept
- abstract type
- http, tcp, icmp & dns monitor types
- unmarshal from json into any monitor type
2017-02-04 18:23:53 -08:00

22 lines
432 B
JSON

{
"api": {
"url": "https://demo.cachethq.io/api/v1",
"token": "9yMHsdioQosnyVK4iCVR",
"insecure": true
},
"monitors": [
{
"name": "google",
"url": "https://google.com",
"threshold": 80,
"component_id": 1,
"interval": 10,
"timeout": 5,
"headers": {
"Authorization": "Basic <hash>"
},
"expected_status_code": 200,
"strict_tls": true
}
]
}