CastawayLabs / cachet-monitor

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

API not set #94

Open martheli opened 6 years ago

martheli commented 6 years ago

I am trying to install this in a headless ubuntu server that I have. I downloaded the cachet-monitor_linux_amd64D file from github and put it on server, then created a cachet-monitor.config.json and put it into the etc folder and then when I run ./cachet-monitor_linux_amd64D I get the following error:

panic: API URL or API Token not set. cachet-monitor won't be able to report incidents.

I have my API and ket set in my JSON file as follows:

 "api": {
    "url": "http://domain/api/v1",
    "token": "keyString",
    "insecure": true
  },

I removed my domain and token for security.