Open tamalsaha opened 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.
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
https://www.monitoring-plugins.org/doc/man/check_http.html