-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Certificate Expiration Date Variable and Configurable Alerting for Notifications #5358
Labels
feature-request
Request for new features to be added
Comments
I think this is already there. At least for the portion to globally set alerting/notification thresholds for certificate expiration. Have you looked in Settings > Notifications > TLS Certificate Expiry ? Then, on an individual monitor you tick "Certificate Expiry Notification" (and other options on that subject as you see fit) and it will inherit the alerting mechanism. |
hi joris thanks for the quick reply
so on the setting notification i have
notification type :smtp
friendly name : Test-Cert-Exp
in the custom subject i have ( but there is not variable for the cert
expiration date)
Certificate Expiry Alert: {{NAME}} is {{STATUS}}
then on my monitor i check
Certificate Expiry Notification
but when i want to test this to see if works i only get and email
with subject
Certificate Expiry Alert: Test is
…On Mon, Nov 18, 2024 at 2:33 PM Joris Le Blansch ***@***.***> wrote:
I think this is already there. At least for the portion to globally set
alerting/notification thresholds for certificate expiration. Have you
looked in Settings > Notifications > TLS Certificate Expiry ? Then, on an
individual monitor you tick "Certificate Expiry Notification" (and other
options on that subject as you see fit) and it will inherit the alerting
mechanism.
—
Reply to this email directly, view it on GitHub
<#5358 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BNBJW6BVXPO3PGDP56EAOML2BI6HLAVCNFSM6AAAAABSAMG5QWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBTHEZTCOJSHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
hi louis,
This is what I meant regarding certificate alerts.
Currently, when I set up an alert that applies to all my monitors, I also
have the certificate expiry notification checked for each monitor. However,
when I receive the alerts, this is what happens: I get a message for the
up/down status, but the subject is created using the alert's friendly name,
which I set up.
What I’m trying to say is that we need separate alerts—one dedicated to
certificate expiration and another for the up/down status. For the
certificate alert, it should allow me to configure notifications for 30,
60, or 90 days prior to expiration.
Let me know your thoughts on this.
[image: image.png]
[image: image.png]
On Mon, Nov 18, 2024 at 2:41 PM Rafael Vanderpool ***@***.***>
wrote:
… hi joris thanks for the quick reply
so on the setting notification i have
notification type :smtp
friendly name : Test-Cert-Exp
in the custom subject i have ( but there is not variable for the cert
expiration date)
Certificate Expiry Alert: {{NAME}} is {{STATUS}}
then on my monitor i check
Certificate Expiry Notification
but when i want to test this to see if works i only get and email
with subject
Certificate Expiry Alert: Test is
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
📑 I have found these related issues/pull requests
Proposed Solution:
New Notification Variables:
Add a new variable, {{CERT_EXP_DATE}}, that represents the certificate expiration date.
Add another variable, {{CERT_EXP_DAYS_REMAINING}}, to include the number of days until the certificate expires.
Customizable Alerts for Certificate Expiration:
🏷️ Feature Request Type
Certificate expiry
🔖 Feature description
Allow users to configure notifications for certificate expiration:
Example: Notify 60, 30, 15, and 5 days before the expiration date.
Make this configurable for all monitors, so users don’t have to set it manually for each monitor.
Email Example: Notifications for certificate expiration should include:
Monitor Name (e.g., DonateFood-Prod).
Certificate Name/Hostname (e.g., dsnydonate.nyc.gov).
Expiration Date (e.g., 2025-10-24).
Days Remaining (e.g., 340 days remaining)
Example Email
Subject: Certificate Expiration Alert: DonateFood-Prod
Body:
Global Alert Configuration for Certificate Expiry:
✔️ Solution
Add a global configuration option where users can:
Set thresholds for alerts (e.g., notify at 60, 30, 15 days before expiry).
Automatically apply these thresholds to all HTTPS monitors.
❓ Alternatives
No response
📝 Additional Context
No response
The text was updated successfully, but these errors were encountered: