<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi</p>
<p>Yesterday we updated our Nagios plugins rpm (RHEL 6.9) to nagios-plugins-http-2.2.1-1, and now our Nagios dashboard is lit up with critical alerts for our SSL certificate checks. Previously they had all returned STATE_OK. For the services that are now alerting,
we were using check_http to examine the certificate expiry date on various servers that do not run http, in particular OpenLDAP and libvirt servers. We now get the following error:<br>
</p>
<p><font face="Courier New, Courier, monospace">./check_http -H localhost -p 636 -C 14 -v<br>
</font></p>
<p><font face="Courier New, Courier, monospace">SSL initialized<br>
</font></p>
<p><font face="Courier New, Courier, monospace">SSL OK - Certificate '<host-name>' will expire on 2019-01-25 16:12 +0300/+03. GET / HTTP/1.1<br>
</font></p>
<font face="Courier New, Courier, monospace">User-Agent: check_http/v2.2.1 (nagios-plugins 2.2.1)<br>
Connection: close<br>
Host: localhost:636<br>
Accept: */*<br>
<br>
<br>
HTTP CRITICAL - No data received from host<br>
</font><br>
<br>
<br>
Could this be fixed to work as before or is there an additional flag I can use to ignore HTTP errors?<br>
<br>
<br>
<pre class="moz-signature" cols="72">--
Regards
Ian Shore
Systems Administrator
KAUST Supercomputing Laboratory (KSL)
King Abdullah University of Science & Technology
Thuwal
Saudi Arabia
Tel: +966 (0)12 808 0237</pre>
<br>
<hr>
<font face="Arial" color="Gray" size="1">This message and its contents including attachments are intended solely for the original recipient. If you are not the intended recipient or have received this message in error, please notify me immediately and delete
this message from your computer system. Any unauthorized use or distribution is prohibited. Please consider the environment before printing this email.<br>
</font>
</body>
</html>