Monitor SSL Certificate

Dears,

I’ve a question about monitoring the ssl certificate expiry date for websites?
How could i monitor this and get notified about the expiration date 1 month before it expire?

Regards,

What have you tried so far? Are you having issues with the built-in SSL check?

1 Like

Use this Plugin… SSL-Certificates in Exchange

There are also built-in certificate checks in Checkmk.

Be careful: A lot has changed here with the release of Checkmk 2.3. So when looking at the documentation, make sure to select your version for the correct instructions.

Take a look here:

My version is 1.6.0
where could i find the ssl certificate check?
i’ll search in documentation and if anyone can help i would be grateful.

I just need to get notified before the ssl expire for my domains.

Hi @elkhedewy

If you select version 1.6 in the docs article I linked, you will get to the article for your version. You can follow that. The first example is for Check_http, which is the check you are looking for.

With that being said: Checkmk 1.6 has been EOL for years now, you should really update to version that is still being maintained.

Best
Elias

Many Thanks you made my day. But found some errors if you can help me.
Here is the rule i used


And when the check is active i noticed that it give some errors on many Vms

Example for the error:
CRITICAL - Socket timeout after 10 seconds

i checked the port on the vm and its working:
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 59937/nginx

No firewall, no selinux.

One more thing i noticed, that the check doesn’t give my actual domain name…it give the result of *.mydomain.com

EXAMPLE:
OK - Certificate ‘*.mydomain.com’ will expire on Fri Jun 13 23:59:59 2025 +0000.

Any ideas?

So you have a wildcard cert?

Yes wild certificate.
I think because the wild certificate it give the *.mydomain.com

But why on many vms it give the below error
CRITICAL - Socket timeout after 10 seconds


I’m using the same check and the same ssl wild certificate on other VMs and its working fine.

Why it give the errors on screen shot on those VMs?