[Nagiosplug-devel] sslutils patch : show certificate subject

Alberto Capponi alberto at studiocapponi.com
Wed Dec 15 15:02:38 CET 2010


Maybe a malformed expression in certificate header.

Il 24/11/2010 15.24, Stéphane Urbanovski ha scritto:
> Hi all
>
> Here is a patch (against v1.4.15) that show the certificate subject in 
> check_http message :
>
> check_http -C 5 -H 69.58.181.89
> OK - Certificate 'www.verisign.com' will expire on 05/25/2012 23:59.
>
> Can someone check it ? (I'm not a C guru)
>
>
> It seems there is a little bug when using check_tcp with certificate 
> check (sample output from an unpatched version):
>
> check_tcp -D 5 -H www.verisign.com -p 443
> OK - Certificate will expire on 05/25/2012 23:59.
> TCP OK - 0,476 second response time on port 
> 443|time=0,476054s;;;0,000000;10,000000
>
>
> Is there a way to use strftime (or something in same spirit) to show a 
> locale date (dd/mm/yyyy for french) instead of US format mm/dd/yyyy ?
>
> Regards
>
>
>
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App&  Earn a Chance To Win $500!
> Tap into the largest installed PC base&  get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
>
>
> _______________________________________________________
> Nagios Plugin Development Mailing List Nagiosplug-devel at lists.sourceforge.net
> Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> ::: Please include plugins version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20101215/6fc66960/attachment.html>


More information about the Devel mailing list