[Nagiosplug-devel] [ nagiosplug-Patches-3140046 ] check_http: clarify timestamp format for SSL cert expiry
SourceForge.net
noreply at sourceforge.net
Sun Dec 19 00:50:39 CET 2010
Patches item #3140046, was opened at 2010-12-19 00:50
Message generated for change (Tracker Item Submitted) made by tarvin
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=3140046&group_id=29880
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Enhancement
Group: release-1.4.15
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Troels Arvin (tarvin)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_http: clarify timestamp format for SSL cert expiry
Initial Comment:
The "-C" option for check_http is very useful for alarming when an SSL certificate is about to expire. However, the plugin's output is unclear in the OK state; it might say:
OK - Certificate will expire on 05/01/2011 23:59
What is that - Jan 5th or May 1st?
Patch 3123940 solves the ambiguity is a nice way by formatting the output in (localized) RFC 822 format. If the Nagios Plugin developers find that patch 3123940 is too intrusive, the attached patch might be considered instead: It adds a format description to the status message text, e.g.:
OK - Certificate will expire on 05/01/2011 23:59 (MM/DD/YYYY HH:MM).
The patch is against version 1.4.15. Tested on CentOS 5.5 x86_64 using gcc 4.1.2.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=3140046&group_id=29880
More information about the Devel
mailing list