CastawayLabs / cachet-monitor

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

Adding basic access authentication #33

Closed khelll closed 7 years ago

khelll commented 8 years ago

Is it doable to add support for websites using basic access authentication?. This is goint to be helpful for web services as well. Bascially, we need to add username/password per monitored component:

{
 //other settings,
"username": "someone",
"password": "somepass"
}
matejkramny commented 8 years ago

It is an extra HTTP header (i think Authorization: Basic <hash>)

We could add support for configuring additional http headers

yannickoo commented 7 years ago

You can simply add the username and password to the URL ➡️ https://someone:somepass@example.com.