SslCertificateExpiresSoon
Runbook: SslCertificateExpiresSoon Alert
Alert Details
- Alert Name: SslCertificateExpiresSoon
- Expression:
(min without (cluster) (probe_ssl_earliest_cert_expiry{job=~".+", nanocosmosGroup=~".+", environment=~".+"}) - time()) / 3600 / 24 <=
Description
This alert is triggered when the SSL certificate for any job within a specific group (nanocosmosGroup) and environment (environment) is about to expire within a specified number of days. This indicates that the SSL certificate needs to be renewed soon to avoid service disruptions.
Possible Causes
- SSL certificate is nearing its expiration date.
- Misconfiguration of the SSL certificate monitoring.
- Delays in the certificate renewal process.
Troubleshooting Steps
1. Check SSL Certificate Expiry Date
Verify the expiry date of the SSL certificate for the target service.
|
|
Expected Output:
|
|
2. Renew SSL Certificate
If the certificate is nearing its expiry date, renew it using your certificate authority (CA).
|
|
Expected Output:
|
|
3. Verify SSL Certificate Renewal
After renewing the certificate, verify that the new certificate is in place and has the correct expiry date.
|
|
Expected Output:
|
|
4. Check Probe Configuration
Ensure that the probe is correctly configured to monitor the SSL certificate expiry.
|
|
Expected Output:
|
|
5. Review Logs
Check the logs of the probe for any errors or warnings related to SSL certificate monitoring.
|
|
Expected Output:
|
|
Additional Steps
If the issue persists, consider:
- Contacting your certificate authority (CA) for assistance with the renewal process.
- Checking for any automation issues in the certificate renewal process.
- Contacting the network or system administrator for further investigation.