<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} @font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Tahoma}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
a:link, span.MsoHyperlink
        {color:#0563C1;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:#954F72;
        text-decoration:underline}
span.EmailStyle17
        {font-family:"Calibri",sans-serif;
        color:windowtext}
span.EmailStyle18
        {font-family:"Calibri",sans-serif;
        color:#1F497D}
span.EmailStyle19
        {font-family:"Calibri",sans-serif;
        color:#1F497D}
.MsoChpDefault
        {font-size:10.0pt}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
div.WordSection1
        {}--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Because this is running over a serial cable, how do you have the serial handshaking setup? It may be expecting a hard drop on DTR (boy, this is going back in time). Try setting it to software handshaking. Maybe try playing with the [telnet] section in protocols.cfg.
 At worst, you could write an expect script to do the test - at least then you get to see what the terminal server responds to.<br>
</p>
<p><br>
</p>
<p>HTHs, Phil</p>
<p><br>
</p>
<div style="color: rgb(33, 33, 33);"><br>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> Xymon <xymon-bounces@xymon.com> on behalf of KING, KEVIN <KK1051@att.com><br>
<b>Sent:</b> Tuesday, 29 November 2016 3:30 AM<br>
<b>To:</b> Root, Paul T; xymon@xymon.com<br>
<b>Subject:</b> Re: [Xymon] telnet test leaving port hung., </font>
<div> </div>
</div>
<div>
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Paul, thanks for responding. No it is not a script, it is the internal telnet test in Xymon. I do not use the telnet test much as not many thing use that now. But I only see this hang issue going to the cisco.
 I have tried to catch it, I was thinking as you that telnet is not disconnecting nicely.</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">-Kevin</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Root, Paul T [mailto:Paul.Root@CenturyLink.com]
<br>
<b>Sent:</b> Monday, November 28, 2016 11:50 AM<br>
<b>To:</b> KING, KEVIN <KK1051@att.com>; xymon@xymon.com<br>
<b>Subject:</b> RE: telnet test leaving port hung.</p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="color:#1F497D">Sounds to me like the xymon server is disconnecting from the Cisco, and the Cisco is missing it.</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">Is this an expect script doing the test? Perhaps you aren’t disconnecting gracefully?</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<div>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt; font-family:"Tahoma",sans-serif">From:</span></b><span style="font-size:10.0pt; font-family:"Tahoma",sans-serif"> Xymon [<a href="mailto:xymon-bounces@xymon.com">mailto:xymon-bounces@xymon.com</a>]
<b>On Behalf Of </b>KING, KEVIN<br>
<b>Sent:</b> Monday, November 28, 2016 10:26 AM<br>
<b>To:</b> <a href="mailto:xymon@xymon.com">xymon@xymon.com</a><br>
<b>Subject:</b> [Xymon] telnet test leaving port hung.</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Xymon folks,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I am running Xymon 4.3.10 and I am seeing an issue with the telnet test going to a Cisco term server (router with async cards to serial device). Randomly the term server will hang and show a refuse connection. We the term server is checked
 the hung session came from the Xymon server. When I check the Xymon server netstat I do not show a connection to the term server. I get the term server port cleared and we are ok again.
</p>
<p class="MsoNormal">Anyone see this behavior?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">-Kevin  </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal" style="text-align:center" align="center"><span style="font-size:12.0pt; font-family:"Times New Roman",serif">This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this
 communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.</span></p>
</div>
</div>
</div>
</body>
</html>