Adding an alert for a certificate
Written by
Updated at May 27, 2024
You can add alerts about a certificate's expiration or failure.
Adding an alert about upcoming certificate expiration
To create an alert:
Management console
- In the management console
, select the folder to create an alert in. - In the list of services, select Monitoring.
- On the home page, click Create alert.
- Specify the main parameters of the alert:
- Name. Enter a name for the channel.
- Description. Specify the notification method.
- Set the conditions to trigger the alert:
-
Select the metric to base the alert on:
service = Certificate Managername = certificate.days_until_expirationcertificate = *. To monitor a specific certificate, specify its ID.- (Optional) If you choose multiple certificates, use the
series_min()function that selects the minimum value.
-
Set up the main and additional alert parameters:
- Condition. The condition is less than or equal to. The number of days for Alarm is
4and for Warning,14. - Aggregation function.
- Evaluation window.
For more information, see Alert triggers.
- Condition. The condition is less than or equal to. The number of days for Alarm is
-
Specify the notification channel. If you do not have a notification channel, create one.
-
Click Create. Your alert will appear in the list.
-
Adding an alert about a faulty certificate
To create an alert:
Management console
- In the management console
, select the folder to create an alert in. - In the list of services, select Monitoring.
- On the home page, click Create alert.
- Specify the main parameters of the alert:
- Name. Enter a name for the channel.
- Description. Specify the notification method.
- Set the conditions to trigger the alert:
-
Select the metric to base the alert on:
service = Certificate Managername = certificate.is_out_of_ordercertificate = *. To monitor a specific certificate, specify its ID.- (Optional) If you choose multiple certificates, use the
series_sum()function that calculates the sum of values.
-
Set up the main and additional alert parameters:
- Condition. The condition is more than. The number of faulty certificates for Alarm is
0. - Aggregation function.
- Evaluation window.
For more information, see Alert triggers.
- Condition. The condition is more than. The number of faulty certificates for Alarm is
-
Specify the notification channel. If you do not have a notification channel, create one.
-
Click Create. Your alert will appear in the list.
-