<html xmlns:v="urn:schemas-microsoft-com:vml" 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=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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;}
@font-face
{font-family:"Lucida Console";
panose-1:2 11 6 9 4 5 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hello, I am trying to use the check_http Plugin.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><a href="https://www.monitoring-plugins.org/doc/man/check_http.html">https://www.monitoring-plugins.org/doc/man/check_http.html</a> I’ts a very nice PLUGIN.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">But I am getting complete wron Certificate dates,, and don’t exact know what is going wrong.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.0pt;font-family:"Lucida Console"">root@monitoring01:/opt/omd/versions/1.5.0p1.cme/lib/nagios/plugins# ./check_http -H casting-connect.de -C 30,14<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.0pt;font-family:"Lucida Console"">CRITICAL - Certificate 'casting-connect.de'
<span style="background:yellow;mso-highlight:yellow">expires in 3 day(s)</span> (Do 23 Aug 2018 23:59:59 GMT +0000).<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">This is right, and coorect.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">BUT when I try followign domain: I get a complete wrong SSL. Firefox and other applications are showing the right certificate EXPIRE date.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">But the plugin is getting something WRONG !<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span lang="EN-US">WRONG: <o:p></o:p></span></u></b></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Lucida Console"">root@monitoring01:/opt/omd/versions/1.5.0p1.cme/lib/nagios/plugins# ./check_http -H drgerdheine.de -C 30,14<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Lucida Console"">OK - Certificate
<b><span style="color:red">'*' will expire on Di 25 Mär 2025</span></b><span style="color:red">
</span>11:39:42 GMT +0000.</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Hope you can help… <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I am getting really confused… <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black;mso-fareast-language:DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:black;mso-fareast-language:DE">Beste Grüße
<br>
</span><span style="color:#333333;mso-fareast-language:DE">Fabio Scarvaglieri</span><span style="font-size:10.0pt;color:#333333;mso-fareast-language:DE">
</span><span style="font-size:10.0pt;color:black;mso-fareast-language:DE"><br>
<br>
<img border="0" width="150" height="44" style="width:1.5666in;height:.4583in" id="Picture_x0020_1" src="cid:image001.png@01D438C7.E2FB89D0" alt="http://cooperate.kaikaito.com/signatures/kaikaito-it-logo.png"><br>
<br>
</span><span style="color:gray;mso-fareast-language:DE">kaikaito IT GmbH </span><span style="color:black;mso-fareast-language:DE"><br>
</span><span style="color:gray;mso-fareast-language:DE">Fritz-Huber-Str. 1-3 , 68165 Mannheim
</span><span style="color:black;mso-fareast-language:DE"><br>
</span><span style="color:gray;mso-fareast-language:DE">+49 621-4908490 , 0179-1437108, kaikaito.fsca
</span><span style="color:black;mso-fareast-language:DE"><br>
</span><span style="color:#333333;mso-fareast-language:DE">Für Notfälle / 24/7 Support
</span><span style="color:black;mso-fareast-language:DE"><a href="mailto:support@kaikaito.de%20"><span style="color:windowtext">support@kaikaito.de</span><span style="color:#0563C1">
</span></a></span><span style="color:#333333;mso-fareast-language:DE">, </span><span style="color:black;mso-fareast-language:DE"><a href="http://www.kaikaito.com/"><span style="color:#333333">www.kaikaito.com
</span></a><o:p></o:p></span></p>
<div class="MsoNormal" align="center" style="text-align:center"><span style="color:black;mso-fareast-language:DE">
<hr size="1" width="100%" noshade="" style="color:#D8D8D7" align="center">
</span></div>
<p class="MsoNormal"><i><span style="font-size:10.0pt;color:gray;mso-fareast-language:DE">Diese Email könnte geschützte Informationen enthalten. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort
den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.
</span></i><span style="font-size:10.0pt;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br><br></body>
</html>