Author: RevDigger
Date: 13-10-01 06:17
I forget if this is standard or something I did myself, but my commands.cfg has this:
command[check_ssl]=$USER1$/check_http -H $ARG1$ -S -C $ARG2$
-H is for the host name, in case it's a VHost and that is pertinent. -S tells it to use ssl. And -C is the number of days before the cert expires to start warning me. That's right, it checks the expire date on the cert for you. Too cool.
So in my hosts.cfg I have something like:
service[lisa]=SSL;0;24x7;3;2;1;unix-admins;180;24x7;1;1;1;;check_ssl!secure.myhost.com!14
Works great. In my Netsaint Status Detail, I get, "Certificate will expire on 07/03/2002 23:59."
|
|