<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang=EN-AU link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Hi all</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Looking for some help here.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have a mixed environment running different distros of Ubuntu and have found some kind of error/bug/problem with check_http and SNI.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>All of my virtually hosted sites are on an Ubuntu 16.04 box running Apache 2.4.whatever the latest patch level is.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>When I execute check_http -H server.domain.tld -S -C 30,60 –sni from a fully patched Ubuntu 14.04 host using the version of check_http supplied by apt or via a compiled check_http from <a href="https://www.monitoring-plugins.org/download/monitoring-plugins-2.2.tar.gz">https://www.monitoring-plugins.org/download/monitoring-plugins-2.2.tar.gz</a> I get the correct response.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>When I execute check_http -H server.domain.tld -S -C 30,60 –sni from a fully patched Centos 7 host using the version of check_http supplied by yum or via a compiled check_http from <a href="https://www.monitoring-plugins.org/download/monitoring-plugins-2.2.tar.gz">https://www.monitoring-plugins.org/download/monitoring-plugins-2.2.tar.gz</a> I get the first SSL certificate for the first virtualhost installed to the Apache webserver. It is like it is ignoring the –sni flag or the –sni flag is not being sent correctly.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’ve had a look around Google and can’t seem to find anything that matches this kind of behaviour?</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Suggestions are welcome please!</p><p class=MsoNormal><o:p> </o:p></p></div></body></html>