ops-center / searchlight

🔦 Alerts for Kubernetes
https://appscode.com/products/searchlight
Apache License 2.0
321 stars 24 forks source link

Check various aspects of a certificate #308

Open tamalsaha opened 6 years ago

tamalsaha commented 6 years ago

https://www.monitoring-plugins.org/doc/man/check_http.html

l13t commented 6 years ago

icinga has built-in solution for this: https://www.icinga.com/docs/icinga2/latest/doc/10-icinga-template-library/#http

it should be the same plugin.

tamalsaha commented 6 years ago

Currently we implement icinga plugins that can read the data from a Kubernetes secret or secrets and perform these checks.

We can work towards bringing parity to icinga's built-in plugin but this has to be reimplemented in some way https://github.com/appscode/searchlight/blob/master/plugins/check_cert/lib.go#L203