CastawayLabs / cachet-monitor

Distributed monitoring plugin for CachetHQ
https://castawaylabs.github.io/cachet-monitor/
MIT License
439 stars 127 forks source link

I keep getting WARN[0000] API URL or API Token missing #128

Open jamieb452 opened 1 year ago

jamieb452 commented 1 year ago

Hello there,

I am trying to get this working, but as i've set my api url and also the Key needed, it keeps saying the same issue.

{ "api_url": "http://status.internetcable.eu.org/api/v1", "api_token": "6QUtlm8Yk2YY0JBqM5", "insecure_api": true, "monitors": [{ "name": "Url Monitor", "url": "https://google.com", "method": "get", "strict_tls": false, "interval": 10, "timeout": 5, "metric_id": 1, "component_id": 1, "threshold": 80, "expected_status_code": 200 }], "system_name": "system name", "log_path": "/var/log/" }

I have entered a random api token for security reasons thanks