Add support for considering connection / timeout related errors as UNKNOWN
state
#878
Labels
config
documentation
Improvements or additions to documentation
enhancement
New feature or request
output/extended
Long Service Output (aka, "extended" or "detailed")
output/summary
Service Output (aka, "one-line-summary")
plugin/check_cert
Milestone
Overview
Because the stock
check_http
plugin considers connection refusals and timeouts asCRITICAL
, this plugin adopted the same behavior when it was initially developed.The
check_cert
plugin continues to consider connection refusals and timeouts asCRITICAL
state, but there are cases where it could be useful to (optionally) force those issues to be considered asUKNOWN
state.For example, having this support could allow a sysadmin to configure only expirations (approaching, exceeded) as actionable, effectively ignoring connection issues by deselecting
UNKNOWN
state as triggering notifications. Service checks configured in this way would presume that connection related issues are temporary, relying on a separate service check (e.g., HTTPS GET/POST/whatever) to be responsible for alerting if normal client connections are unsuccessful.With this setup, less "noise" would be generated from service checks intended to trigger only when certificates are approaching expiration (or failing some other enforced validation requirement).
References
The text was updated successfully, but these errors were encountered: