<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>Hi,<br><br>Thanks for the help so far, you guys are great.<br><br>I do get clients reporting and connecting to the server, but after a period, let's say 30 minutes they stop reporting and the alerts go purple.<br><br>I will try tomorrow to set the tcpkeepalive in the sshd_config to yes and see if this is the problem.<br><br>I have a funny feeling it is the tunnel that times out.<br><br>Another funny thing though , the ssh-tunnels column stays green.<br><br>the columns for cpu, memory,etc go purple.<br><span><br>Regards<br><br>Nelson Amaral<br></span><br>----- Original Message -----<br>From: "Tim McCloskey" <tm@freedom.com><br>To: "hobbit@hswn.dk" <hobbit@hswn.dk><br>Sent: Tuesday, 6 April, 2010 7:27:33 PM<br>Subject: RE: [hobbit] Clients loosing connection trough ssh-tunnels<br><br>




<!--[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:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
p.9e5bb5e4-fb20-4e72-8738-57fffb90d6a1, li.9e5bb5e4-fb20-4e72-8738-57fffb90d6a1, div.9e5bb5e4-fb20-4e72-8738-57fffb90d6a1
        {mso-style-name:9e5bb5e4-fb20-4e72-8738-57fffb90d6a1;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Arial","sans-serif";
        color:navy;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</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]-->


<div class="Section1">

<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">That might be the tunnel IP:port of the remote BB server.   What
happens when you try to telnet to the server directly, from the client?  (To
determine if the tunnel really is up).</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">Tim</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"> </span></p>

<div>

<div style="border-right: medium none; border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0in 0in;">

<p class="MsoNormal"><b><span style="font-size: 10pt; font-family: "Tahoma","sans-serif";">From:</span></b><span style="font-size: 10pt; font-family: "Tahoma","sans-serif";"> White, Bruce
[mailto:bewhite@fellowes.com] <br>
<b>Sent:</b> Tuesday, April 06, 2010 11:16 AM<br>
<b>To:</b> hobbit@hswn.dk<br>
<b>Subject:</b> RE: [hobbit] Clients loosing connection trough ssh-tunnels</span></p>

</div>

</div>

<p class="MsoNormal"> </p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Arial","sans-serif"; color: navy;">In the output below, it appears your client is trying to connect to
bbd on the local host via the loopback address (127.0.0.1).   Are you
sure you have the BBDISP variable in your hobbitclient.cfg file set
correctly?  It should be pointing to the xymon server, not the loopback
address.</span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Arial","sans-serif"; color: navy;"> </span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Arial","sans-serif"; color: navy;">    …..Bruce</span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Arial","sans-serif"; color: navy;"> </span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Arial","sans-serif"; color: navy;"> </span></p>

<p class="9e5bb5e4-fb20-4e72-8738-57fffb90d6a1"> </p>

<p class="9e5bb5e4-fb20-4e72-8738-57fffb90d6a1"> <strong><span style="font-size: 10pt; font-family: "Arial","sans-serif"; color: black;">Bruce
White</span></strong></p>

<p class="9e5bb5e4-fb20-4e72-8738-57fffb90d6a1"><span style="font-size: 10pt; font-family: "Arial","sans-serif"; color: gray;"> Senior Enterprise Systems
Engineer | Phone: 630-671-5169 | Fax: 630-893-1648 | bewhite@fellowes.com
| <a href="http://www.fellowes.com/" target="_blank">www.fellowes.com</a></span></p>

<p class="9e5bb5e4-fb20-4e72-8738-57fffb90d6a1"> </p>

<p class="9e5bb5e4-fb20-4e72-8738-57fffb90d6a1"><img src="cid:image001.jpg@01CAD57C.290CB4C0" id="_x0000_i1025" height="42" width="514" border="0"> </p>

<p class="9e5bb5e4-fb20-4e72-8738-57fffb90d6a1"> </p>

<p class="9e5bb5e4-fb20-4e72-8738-57fffb90d6a1"><span style="font-size: 7.5pt; font-family: "Arial","sans-serif"; color: gray;">Disclaimer: The information
contained in this message may be privileged and confidential and protected from
disclosure. If the reader of this message is not the intended recipient or
an employee or agent responsible for delivering this message to the intended
recipient, you are hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited. If you have received this
communication in error, please notify us immediately by replying to the message
and deleting it from your computer. Thank you. Fellowes, Inc.</span></p>

<p class="9e5bb5e4-fb20-4e72-8738-57fffb90d6a1"> </p>

<div>

<div class="MsoNormal" style="text-align: center;" align="center">

<hr align="center" width="100%" size="2">

</div>

</div>

<div>

<p class="MsoNormal"><b><span style="font-size: 10pt; font-family: "Tahoma","sans-serif";">From:</span></b><span style="font-size: 10pt; font-family: "Tahoma","sans-serif";"> Nelson Amaral
[mailto:amaral8011@googlemail.com] <br>
<b>Sent:</b> Tuesday, April 06, 2010 10:49 AM<br>
<b>To:</b> hobbit@hswn.dk<br>
<b>Subject:</b> [hobbit] Clients loosing connection trough ssh-tunnels</span></p>

</div>

<p class="MsoNormal"> </p>

<p class="MsoNormal"><br clear="all">
Hi,</p>

<div>

<p class="MsoNormal"> </p>

</div>

<div>

<p class="MsoNormal">I have a xymon server to monitor clients in a DMZ using
ssh-tunnels.</p>

</div>

<div>

<p class="MsoNormal"> </p>

</div>

<div>

<p class="MsoNormal">The connection is up and the clients start reporting but
after about 15 minutes they stop reporting.</p>

</div>

<div>

<p class="MsoNormal"> </p>

</div>

<div>

<p class="MsoNormal">the ssh tunnel is up but the clients go purple.</p>

</div>

<div>

<p class="MsoNormal"> </p>

</div>

<div>

<p class="MsoNormal">Could you please help? </p>

</div>

<div>

<p class="MsoNormal"> </p>

</div>

<div>

<p class="MsoNormal">I have tried all the settings i can think but it still
happens</p>

</div>

<div>

<p class="MsoNormal"> </p>

</div>

<div>

<p class="MsoNormal"> </p>

</div>

<div>

<p class="MsoNormal">Please see bellow client logs</p>

</div>

<div>

<p class="MsoNormal"> </p>

</div>

<div>

<p class="MsoNormal"> </p>

</div>

<div>

<div>

<p class="MsoNormal">2010-04-06 14:57:22 Could not connect to <a href="http://bbd@127.0.0.1:1984" target="_blank">bbd@127.0.0.1:1984</a> - Connection refused</p>

</div>

<div>

<p class="MsoNormal">2010-04-06 14:57:22 Whoops ! bb failed to send message -
Connection failed</p>

</div>

<div>

<p class="MsoNormal">2010-04-06 15:02:23 Could not connect to <a href="http://bbd@127.0.0.1:1984" target="_blank">bbd@127.0.0.1:1984</a> - Connection refused</p>

</div>

<div>

<p class="MsoNormal">2010-04-06 15:02:23 Whoops ! bb failed to send message -
Connection failed</p>

</div>

<div>

<p class="MsoNormal">2010-04-06 15:07:23 Could not connect to <a href="http://bbd@127.0.0.1:1984" target="_blank">bbd@127.0.0.1:1984</a> - Connection refused</p>

</div>

<div>

<p class="MsoNormal">2010-04-06 15:07:23 Whoops ! bb failed to send message -
Connection failed</p>

</div>

<div>

<p class="MsoNormal">2010-04-06 15:12:24 Could not connect to <a href="http://bbd@127.0.0.1:1984" target="_blank">bbd@127.0.0.1:1984</a> - Connection refused</p>

</div>

<div>

<p class="MsoNormal">2010-04-06 15:12:24 Whoops ! bb failed to send message -
Connection failed</p>

</div>

<div>

<p class="MsoNormal">2010-04-06 15:47:49 Whoops ! bb failed to send message -
timeout</p>

</div>

<div>

<p class="MsoNormal">2010-04-06 15:52:49 Whoops ! bb failed to send message -
timeout</p>

</div>

<div>

<p class="MsoNormal">2010-04-06 15:57:50 Whoops ! bb failed to send message -
timeout</p>

</div>

<div>

<p class="MsoNormal">2010-04-06 16:02:51 Whoops ! bb failed to send message -
timeout</p>

</div>

<div>

<p class="MsoNormal">2010-04-06 16:07:36 Could not connect to <a href="http://bbd@127.0.0.1:1984" target="_blank">bbd@127.0.0.1:1984</a> - Connection refused</p>

</div>

<div>

<p class="MsoNormal">2010-04-06 16:07:36 Whoops ! bb failed to send message -
Connection failed</p>

</div>

<div>

<p class="MsoNormal">2010-04-06 16:12:37 Could not connect to <a href="http://bbd@127.0.0.1:1984" target="_blank">bbd@127.0.0.1:1984</a> - Connection refused</p>

</div>

<div>

<p class="MsoNormal">2010-04-06 16:12:37 Whoops ! bb failed to send message - Connection
failed</p>

</div>

<div>

<p class="MsoNormal">2010-04-06 16:17:38 Could not connect to <a href="http://bbd@127.0.0.1:1984" target="_blank">bbd@127.0.0.1:1984</a> - Connection refused</p>

</div>

<div>

<p class="MsoNormal">2010-04-06 16:17:38 Whoops ! bb failed to send message -
Connection failed</p>

</div>

<div>

<p class="MsoNormal">2010-04-06 16:22:39 Could not connect to <a href="http://bbd@127.0.0.1:1984" target="_blank">bbd@127.0.0.1:1984</a> - Connection refused</p>

</div>

<div>

<p class="MsoNormal">2010-04-06 16:22:39 Whoops ! bb failed to send message -
Connection failed</p>

</div>

<div>

<p class="MsoNormal">2010-04-06 16:27:39 Could not connect to <a href="http://bbd@127.0.0.1:1984" target="_blank">bbd@127.0.0.1:1984</a> - Connection refused</p>

</div>

<div>

<p class="MsoNormal">2010-04-06 16:27:39 Whoops ! bb failed to send message -
Connection failed</p>

</div>

<div>

<p class="MsoNormal">2010-04-06 16:32:40 Could not connect to <a href="http://bbd@127.0.0.1:1984" target="_blank">bbd@127.0.0.1:1984</a> - Connection refused</p>

</div>

<div>

<p class="MsoNormal">2010-04-06 16:32:40 Whoops ! bb failed to send message -
Connection failed</p>

</div>

<div>

<p class="MsoNormal">2010-04-06 16:37:41 Could not connect to <a href="http://bbd@127.0.0.1:1984" target="_blank">bbd@127.0.0.1:1984</a> - Connection refused</p>

</div>

<div>

<p class="MsoNormal">2010-04-06 16:37:41 Whoops ! bb failed to send message - Connection
failed</p>

</div>

<div>

<p class="MsoNormal">2010-04-06 16:42:42 Could not connect to <a href="http://bbd@127.0.0.1:1984" target="_blank">bbd@127.0.0.1:1984</a> - Connection refused</p>

</div>

<div>

<p class="MsoNormal">2010-04-06 16:42:42 Whoops ! bb failed to send message -
Connection failed</p>

</div>

<div>

<p class="MsoNormal"> </p>

</div>

<p class="MsoNormal">-- <br>
Kind regards<br>
<br>
Nelson Amaral</p>

</div>

</div>

</div></body></html>