CastawayLabs / cachet-monitor

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

Authenticating to servers you're checking? #74

Open oogs opened 7 years ago

oogs commented 7 years ago

Hi,

I'm trying to add puppet servers to cachet, and in order to hit anything useful, we need to authenticate. We have to do the equivalent of:

curl -s -i --cert $CERT --key $KEY --cacert $CA_CERT https://puppetmaster.domain.com/path/to/API

Is this possible in cachet-monitor?

matejkramny commented 7 years ago

You could maybe install to the server for them to be trusted and then proceed as usual

oogs commented 7 years ago

The problem with that is we need to auth using different certs to different servers, and we need to do this with dev & prod self-signed certs (different CAs for each). Being able to pass this in as an option solves the problem.