Page 1 of 1

check_xi_service_http_cert should work on name not address

Posted: Tue Nov 06, 2012 9:47 am
by danieloo
We have multiple servers on each about 20 different websites on different domains.

I configured nagiosxi with hosts:
- hostname = FQDN (www.test1.com)
- hostaddress = IPadres

The default http cert check checks on hostaddress after it being resolved i believe.

Since it is possible to have multiple certificates on one host I think it is better to use
$USER1$/check_http -H $HOSTNAME$ -C $ARG1$

example we have two websites
https://www.test1.com and https://www.test2.com
both have a different certificate thus using two different ip addresses (since SNI isn't supported by older clients)
These two different ip addresses are resolving to one hostname.

Can anybody help me, ar emy thoughts correct and should i change the command ?!?

Re: check_xi_service_http_cert should work on name not addre

Posted: Tue Nov 06, 2012 2:24 pm
by scottwilkerson
This is perfectly reasonable.

you can modify the check_xi_service_http_cert check to reflect what you have mentioned