Update handling of performance data metrics to allow emitting negative expiration values #529
Labels
documentation
Improvements or additions to documentation
output/perfdata
Service Perf Data (aka, "performance data")
plugin/check_cert
Milestone
Overview
Currently, the
check_cert
plugin uses0
as the minimum expiration value forexpires_leaf
andexpires_intermediate
metrics.Here is an example of checking expires.badssl.com:
Instead of stopping at zero, it is likely more useful to emit the actual days past expiration so that systems collecting metrics can show how long a certificate stays in an expired state before it is replaced.
0
was set as themin
field for both metrics as part of GH-475, so that will also need to be changed if we update the logic to emit negative expiration values.References
min
expiration lifetime value toexpires_leaf
,expires_intermediate
performance data metrics #475The text was updated successfully, but these errors were encountered: