#375 Patch to specify critical threshold for cert expiration

release-1.4.15
open
nobody
5
2012-01-14
2012-01-14
William Leibzon
No

The enclosed patch modifies check_tcp, check_http, check_smtp allowing to optionally specify two values for certificate expiration check. The first is days before it expires when WARNING alerts start to be issued and 2nd is for when critical alerts start to be issued. If 2nd value is not specified the critical alert days is default to 0 and behavior is as it is now when CRITICAL alerts are only issued when certificate actually expired.

Discussion