{ "api": { "url": "https://demo.cachethq.io/api/v1", "token": "9yMHsdioQosnyVK4iCVR", "insecure": false }, "date_format": "02/01/2006 15:04:05 MST", "monitors": [ { "active": false, "name": "google", "target": "https://google.com", "strict": true, "method": "POST", "component_id": 1, "metric_id": 4, "template": { "investigating": { "subject": "{{ .Monitor.Name }} - {{ .SystemName }}", "message": "{{ .Monitor.Name }} check **failed** (server time: {{ .now }})\n\n{{ .FailReason }}" }, "fixed": { "subject": "I HAVE BEEN FIXED" } }, "interval": 1, "timeout": 1, "threshold": 80, "headers": { "Authorization": "Basic " }, "expected_status_code": 200, "expected_body": "P.*NG" }, { "type": "dns", "active": true, "name": "dns", "target": "opnsense.bennetg.dev.", "question": "a", "component_id": 2, "interval": 1, "timeout": 1, "dns": "10.0.0.60:53", "answers": [ { "exact": "10.0.0.1" } ] }, { "type": "tcp", "name": "TCP", "active": false, "target": "10.0.0.1", "interval": 10, "timeout": 1, "port": "443", "component_id": 4 }, { "active": true, "type": "icmp", "name": "icmp", "target": "10.0.0.1", "component_id": 4, "interval": 10, "timeout": 3 } ] }