check_xi_service_http_cert should work on name not address

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
danieloo
Posts: 27
Joined: Mon Feb 13, 2012 11:12 am

check_xi_service_http_cert should work on name not address

Post 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 ?!?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: check_xi_service_http_cert should work on name not addre

Post by scottwilkerson »

This is perfectly reasonable.

you can modify the check_xi_service_http_cert check to reflect what you have mentioned
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart