Strange issue with check_http -C for SSL certs

william pink will.pink at gmail.com
Wed Sep 16 19:11:32 CEST 2009


Hi,

First email to the list been a Nagios user for some time now and have never
had any really trouble with it until today, I am using the check_http plugin
to check for SSL certificate expiry. I can check the plug in manually and it
results back in the correct expiry time but if I configure it in Nagios it
returns a totally different date here is the configuration

command defined

# Check SSL cert expiry
define command{
        command_name    check_cert_expiry
        command_line    $USER1$/check_http -H $HOSTADDRESS$ --ssl -C 14
        }

service defined

define service{
        use                                    service         ; Name of
service template to use
        hostgroup_name                 linux-sites
        service_description             Checks SSL Cert
        contact_groups                  critical
        check_command                check_cert_expiry
        }


The hostgroup linux-sites is a collection of the URL's I manage, I am really
not sure where to start with this one?

Any pointers would be great,

Thanks,
Will
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090916/0f3f0bca/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
-------------- 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