Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About installing cachet-monitor #96

Open
y-ohara8814 opened this issue Aug 9, 2018 · 3 comments
Open

About installing cachet-monitor #96

y-ohara8814 opened this issue Aug 9, 2018 · 3 comments

Comments

@y-ohara8814
Copy link

Precondition

  • Already installed CachetHQ
  • Successed to access Dashboard
  • Have some WEBsites which I want to monitor status by using CachetHQ
  • Using Amazon Linux
  • Using Apache 2.4
  • Using PHP 7.0
  • Using Mysql 14.14

Following the procedure which is written on this site, I executed cachet-monitor -c /~~~/~~~~~~.yml,

Now an error occuered.

WARN[0000] Unable to parse configuration file
PANI[0000] Unable to start (reading config): yaml: line 61: did not find expected key
panic: (*logrus.Entry)

I edited from line1 to line13 about config.yml which I renamed from config.sample.yml.
Following the error message,

did not find expected key

In config file, "cachet api token" may be incorrect, I think.
(I wrote the API-KEY which appeared when I excuted php artisan key:generate)

Does anyone know about this error? I hope someone would give me some advise.

regards,

@y-ohara8814
Copy link
Author

Sorry, I found "cachet api token" in cachet's status page.
But the error still appears despite rewriting the config.yml ...

WARN[0000] Unable to parse configuration file
PANI[0000] Unable to start (reading config): yaml: line 61: did not find expected key
panic: (*logrus.Entry)

@casKd-dev
Copy link

Validate your yaml file here http://www.yamllint.com/

@voarsh2
Copy link

voarsh2 commented Feb 15, 2020

Validate your yaml file here http://www.yamllint.com/

Solved my issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants