[Nagiosplug-devel] sslutils patch : show certificate subject

Stéphane Urbanovski stephane.urbanovski at ac-nancy-metz.fr
Fri Dec 3 18:26:26 CET 2010


No comments ?

-- 
Stéphane Urbanovski

Stéphane Urbanovski a écrit :
> 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





More information about the Devel mailing list