Hello All,
I am having a issue using the check_http plugin in my environment. I am using to monitor the expiration date of certificates. The check seems to be working correctly however is keeps pointing to older certs. My question is how do I point it to the correct cert?
This is the command I am using
$USER1$/check_http -H $HOSTADDRESS$ -C $ARG1$
$ARG1$ = 30,7
Thank you!
Trouble with check_http plugin
-
kyang
Re: Trouble with check_http plugin
Could you try adding the --sni flag when running that command?
Code: Select all
/usr/local/nagios/libexec/check_http -H <hostIP> -C 30,7 --sniRe: Trouble with check_http plugin
Tried adding the --sni flag and receive: CRITICAL - Cannot make SSL connection.
Thank you
Thank you
-
kyang
Re: Trouble with check_http plugin
Which cert are you checking for? SSL?
You could use openssl to verify what certs are on the host you are checking for.
You could use openssl to verify what certs are on the host you are checking for.
Code: Select all
openssl s_client -showcerts -connect IP:Port