CastawayLabs / cachet-monitor

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

Accepting basic auth headers #121

Open a7madev opened 4 years ago

a7madev commented 4 years ago

Currently its not accepting basic auth, it shows an error "bad request 400 status" if you add auth in headers. This fixes using the following inside your site monitor object in config.json file

"auth": {
  "username": "USERNAME_HERE",
  "password": "PASSWORD_HERE"
}

This fixes #87