Monitoring HTTPS

Frank Thyes thyes at gmx.net
Thu May 18 21:23:56 CEST 2006


+++ C. Bensend [Thu, May 18, 2006 at 09:17:47PM CEST]:
 
> You're not testing SSL (missing the -S switch).  Here is my
> check_cert definition:
> 
> define command{
>         command_name    check_cert
>         command_line    $USER1$/check_http -S -H $ARG1$ -C 7 -t 20
>         }
> 
> Note you'll have to follow the previous instructions to get SSL
> support first.

xxxxx:/usr/local/src/nagios-plugins-1.4.2/plugins# ./check_http
www.verisign.com -S -C 100000000
WARNING - Certificate expires in 379 day(s) (06/01/2007 23:59).

Bloody help file...

xxxxx:/usr/local/src/nagios-plugins-1.4.2/plugins# ./check_http -h
CHECK CERTIFICATE: check_http www.verisign.com -C 14

When the certificate of 'www.verisign.com' is valid for more than 14
days, a STATE_OK is returned. When the certificate is still valid, but for
less than 14 days, a STATE_WARNING is returned. A STATE_CRITICAL will be
returned when the certificate is expired.

Thanks C.

Regards
Frank
-- 
Computers are like air conditioners. Both stop working,
if you open windows.


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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