I check whether the date has expired certificate using the wizard:
Code: Select all
$USER1$/check_http -H $HOSTADDRESS$ -C 30Certificate 1
Code: Select all
Owner *.companyname.com
Issuer prx.companyname.com
Valid from 26.09.2014 to 26.09.2016
Code: Select all
OK - Certificate '*.companyname.com' will expire on Sun 25 Sep 2016 11:59:00 PM MSK. Certificate 2
Code: Select all
Owner www.companyname.com
Issuer prx.companyname.com
Valid from 18.12.2014 to 19.12.2015
Code: Select all
OK - Certificate 'www.my.companyname.com' will expire on Sun 15 Dec 2024 03:01:00 PM MSK. Please tell me how to fix the script for the second nagios certificate?
Best Regards
Valery