Re: Kafka certificate monitoring

2022-07-28 Thread Fares Oueslati
Hello Sandeep, When using Strimzi and Kafka I created a small app that parses the cert file and pushes the validity period as a prom metric. You can run the app periodically in a cron job, you would mount the secret within the job pod and parse the file. I was using prom push gateway for that bu

Re: Kafka certificate monitoring

2022-07-27 Thread Luke Chen
Hi Sandeep, AFAIK, Kafka doesn't expose this kind of metrics. I did a quick search, and found there's a similar request in Strimzi. https://github.com/strimzi/strimzi-kafka-operator/issues/3761 Maybe you can help contribute it? Either to Kafka or to Strimzi? :) Thank you. Luke On Wed, Jul 27, 2

Kafka certificate monitoring

2022-07-27 Thread Sandeep M
Hi Team, I using Kafka with strimzi as kafka operator. I wanted to monitor kafka certificate expiry. We have Rancher kubernetes management tool which has built in Prometheus and Grafana. How could we monitor certificate expiry with current setup. Regards, Sandeep