check_http issue

Claudio Kuenzler ck at claudiokuenzler.com
Mon Mar 12 18:51:25 CET 2012


I know this doesn't answer your questions, but did you give the
check_ssl_cert plugin a try?

https://svn.id.ethz.ch/nagios_plugins/check_ssl_cert/check_ssl_cert

I'm using this plugin to check ssl certificates, not only on http but also
tls....

On Mon, Mar 12, 2012 at 10:04 AM, Sunny Jaisinghani <
Sunny_Jaisinghani at symantec.com> wrote:

> Hello,
>
> I am using the check_http plugin for checking the SSL cert expiry. Even if
> the cert is not due to expire very soon, the plugin reports as CRITICAL.
> I have few more certs for which the plugin reports correct status.
>
> What could be going wrong over here. ??
>
> BAD
>
> # /usr/lib/nagios/plugins/check_http --ssl -H XX.XX.XX.XX  -p 8001 -w 30
> -c 30 -C 30
> CRITICAL - Certificate expired on 02/17/2062 22:44.
>
> # openssl x509 -in abc.example.com.crt -noout –enddate
> notAfter=Feb 17 22:57:24 2062 GMT
>
> GOOD
>
> # /usr/lib/nagios/plugins/check_http --ssl -H XX.XX.XX.XX  -p 8000 -w 30
> -c 30 -C 30
> OK - Certificate will expire on 02/09/2013 23:59.
>
> # openssl x509 -in xyz.example.com.crt -noout –enddate
> notAfter=Feb 10 23:59:59 2013 GMT
>
>
> Thanks
> Sunny
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin 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-lists.org/archive/users/attachments/20120312/57710567/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list