====== Certificate status ====== This monitor will check the status of certificate from API and generate an alert if the certificate will/is expired ===== Configuration hints ===== * Create a new line in the table. * Select **CERTIFICATE_STATUS** in Available metrics column * Set the number of days remaining before expiration to trigger an alert The monitor will automatically generate an alert for expired certificates and include the certificate's expiration date in the alert message. ===== Surveillance table ===== ^Parameter^Description^ |Active|To enable or disable a rule| |Available metrics|Select **CERTIFICATE_STATUS** to monitor the certificates status| |Filter|A filter to match only a type certificate (Available types : UI, System, CA, subaccount)| |Thresholds|Number of days remaining before expiration| |Severity|The severity of the alarm generated| |Alarm|Enable/disable alarm sending| ===== Examples ===== ^Active^Available metrics^Filter^Thresholds^Severity^Alarm^ |true|CERTIFICATE_STATUS|*|5|MAJOR|true| **Effect** : Generates a MAJOR alarm if remainng expiration days is < 5.\\ **Alarm message** : * Certificate XXX has expired on yyyy-MM-dd HH:mm:ss * Certificate XXX will expire in X day(s) (<= 5) ^Active^Available metrics^Filter^Thresholds^Severity^Alarm^ |true|CERTIFICATE_STATUS|UI|5|MAJOR|true| **Effect** : Generates a MAJOR alarm if remainng expiration days is < 5. and type is equal to UI\\ **Alarm message** : * Certificate XXX has expired on yyyy-MM-dd HH:mm:ss * Certificate XXX will expire in X day(s) (<= 5) ===== Generated metrics ===== ^Metric Id^Metric Unit^Metric description^ |EXPIRATION_REMAINING_DAYS|Left days|Number of days remaining before expiration (negative value if expired)|