check_certificate
./check_certificate.pl [OPTIONS] [-f configuration_file]
-
-h or --help: prints short usage tips
-
-V or --version: prints plugin versions
-
-v X or --verbose X: sets verbosity level to X (see UMI docs)
-
-t Y or --timeout Y: sets plugin execution timeout to Y seconds
-
-w W or --warning W: sets warning threshold to W days (default: 30)
-
-c C or --critical C: sets critical threshold to C days (default: 3)
Plugin check SSL certificate validation of server exposed to the public. In UNICORE environment there may be: Gateway, UVOS, Accounting Portal or ActiveMQ, but probe can be used with any SSL server. Additionally probe prints servers certificate DN.
-
HOST: IP or DNS name of server
-
PORT: service port
-
OK|WARNING|CRITICAL: Certificate at … will expire in …: Prints expires date of the certificate, server connection was established successfully.
-
CRITICAL: Unable to connect …: Unable to establish connection to teh server.
-
CRITICAL: Certificate at … will expire today!, CRITICAL: Certificate at … expired: Certificate is going to expire shortly or expired already.