<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); ">
<div>
<div>
<div style="font-family: Consolas, sans-serif; font-size: 12px; ">hi,</div>
<div style="font-family: Consolas, sans-serif; font-size: 12px; "><br>
</div>
<div style="font-family: Consolas, sans-serif; font-size: 12px; ">I'm experiencing a weird problem with the http test performed by xymonnet module.</div>
<div style="font-family: Consolas, sans-serif; font-size: 12px; ">This morning a monitored Domain Controller (used also as a dns resolver by xymon) dumped and after that</div>
<div style="font-family: Consolas, sans-serif; font-size: 12px; ">all http tests went red. The linux machine has two nameservers configured on resolv.conf (one of them is the bad one).</div>
<div style="font-family: Consolas, sans-serif; font-size: 12px; "><br>
</div>
<div style="font-family: Consolas, sans-serif; font-size: 12px; ">Enabling debug level on xymonnet shows strange timings reported on http test. Here the extract of xymonnet.log</div>
<div style="font-family: Consolas, sans-serif; font-size: 12px; "><br>
</div>
<div style="font-family: Consolas, sans-serif; font-size: 12px; ">================================</div>
<span class="Apple-style-span" style="font-family: Consolas; font-size: medium; "><font size="2" face="Arial">Address=target:80, open=0, res=0, err=1, connecttime=0.006708, totaltime=<b>15.197272</b>,</font></span><span class="Apple-style-span" style="font-family: Consolas; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: Consolas; font-size: medium; "><br>
</span><span class="Apple-style-span" style="font-family: Consolas; font-size: medium; "><font size="2" face="Arial">httpstatus = 0, open=0, errcode=1, parsestatus=0</font></span><span class="Apple-style-span" style="font-family: Consolas; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: Consolas; font-size: medium; "><br>
</span><span class="Apple-style-span" style="font-family: Consolas; font-size: medium; "><font size="2" face="Arial">Response:</font></span><span class="Apple-style-span" style="font-family: Consolas; font-size: medium; "> </span><br>
<div style="font-family: Consolas, sans-serif; font-size: 12px; "><span class="Apple-style-span" style="font-family: Arial; font-size: small; ">(no headers)</span> </div>
<div style="font-family: Consolas, sans-serif; font-size: 12px; "><br>
</div>
<div style="font-family: Consolas, sans-serif; font-size: 12px; ">================================</div>
<div style="font-family: Consolas, sans-serif; font-size: 12px; "><br>
</div>
<div style="font-family: Consolas, sans-serif; font-size: 12px; ">I've tried to increase —timeout value to 20 seconds on tasks.cfg line for xymonnet and this is the result!:</div>
<div style="font-family: Consolas, sans-serif; font-size: 12px; "><br>
</div>
<div style="font-family: Consolas, sans-serif; font-size: 12px; ">================================</div>
<div style="font-family: Consolas, sans-serif; font-size: 12px; "><br>
</div>
<div style="font-family: Consolas, sans-serif; font-size: 12px; "><span class="Apple-style-span" style="font-family: Consolas; font-size: medium; "><font size="2" face="Arial">Address=target:80, open=0, res=0, err=1, connecttime=0.005902, totaltime=<b>30.117212</b>,</font></span><span class="Apple-style-span" style="font-family: Consolas; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: Consolas; font-size: medium; "><br>
</span><span class="Apple-style-span" style="font-family: Consolas; font-size: medium; "><font size="2" face="Arial">httpstatus = 0, open=0, errcode=1, parsestatus=0</font></span><span class="Apple-style-span" style="font-family: Consolas; font-size: medium; "> </span><span class="Apple-style-span" style="font-family: Consolas; font-size: medium; "><br>
</span><span class="Apple-style-span" style="font-family: Consolas; font-size: medium; "><font size="2" face="Arial">Response:</font></span><span class="Apple-style-span" style="font-family: Consolas; font-size: medium; "> </span><br>
<div style="font-family: Consolas, sans-serif; font-size: 12px; "><span class="Apple-style-span" style="font-family: Arial; font-size: small; ">(no headers)</span> </div>
</div>
<div style="font-family: Consolas, sans-serif; font-size: 12px; "><br>
</div>
<div style="font-family: Consolas, sans-serif; font-size: 12px; ">================================</div>
<div style="font-family: Consolas, sans-serif; font-size: 12px; "><br>
</div>
<div style="font-family: Consolas, sans-serif; font-size: 12px; ">It seems that the xymonnet wrongly calculates totaltime of http get test…</div>
<div style="font-family: Consolas, sans-serif; font-size: 12px; "><br>
</div>
<div style="font-family: Consolas, sans-serif; font-size: 12px; ">Environment descr: Xymon 4.3.7 compiled under Centos 5.7 64bit</div>
<div style="font-family: Consolas, sans-serif; font-size: 12px; "><br>
</div>
<div style="font-family: Consolas, sans-serif; font-size: 12px; ">Note that the same issue doesn't occour on a second xymon backup server (centos 5.7 32bit!!!)</div>
<div style="font-family: Consolas, sans-serif; font-size: 12px; "><br>
</div>
<div style="font-family: Consolas, sans-serif; font-size: 12px; ">Can this problem be related with this old post <span class="Apple-style-span" style="font-family: Consolas; font-size: medium; "><a href="http://lists.xymon.com/archive/2008-June/019731.html">http://lists.xymon.com/archive/2008-June/019731.html</a> ???</span></div>
<div style="font-family: Consolas, sans-serif; font-size: 12px; "><span class="Apple-style-span" style="font-family: Consolas; font-size: medium; "><br>
</span></div>
<div style="font-family: Consolas, sans-serif; font-size: 12px; "><span class="Apple-style-span" style="font-family: Consolas; font-size: medium; ">thanks in advance for help,</span></div>
<div style="font-family: Consolas, sans-serif; font-size: 12px; "><br>
</div>
<div style="font-family: Consolas, sans-serif; font-size: 12px; "><br>
</div>
<div style="font-family: Consolas, sans-serif; font-size: 12px; ">
<div>
<p class="MsoNormal" style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; ">
<font class="Apple-style-span" face="Tahoma,sans-serif"><span class="Apple-style-span" style="font-size: 13px;">regards,</span></font></p>
<p class="MsoNormal" style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; ">
<font class="Apple-style-span" face="Tahoma,sans-serif"><span class="Apple-style-span" style="font-size: 13px;">Massimiliano</span></font></p>
</div>
</div>
</div>
</div>
<br>
<font face="Verdana" color="Green" size="2">Before printing, think about the environment<br>
</font><br>
<font face="Verdana" color="Gray" size="1">Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle persone indicate. La diffusione, copia o qualsiasi<br>
altra azione derivante dalla conoscenza di queste informazioni sono rigorosamente vietate. Qualora abbiate ricevuto<br>
questo documento per errore siete cortesemente pregati di darne immediata comunicazione al mittente e di provvedere<br>
alla sua distruzione, Grazie.<br>
</font><br>
<font face="Verdana" color="Gray" size="1">This e-mail and any attachments is confidential and may contain privileged information intended for the addressee(s)<br>
only. Dissemination, copying, printing or use by anybody else is unauthorised. If you are not the intended recipient,<br>
please delete this message and any attachments and advise the sender by return e-mail, Thanks.<br>
<br>
<br>
</font>
</body>
</html>