[hobbit] Clients loosing connection trough ssh-tunnels

Nelson Amaral namaral at fnot.org.uk
Mon Apr 5 20:10:54 CEST 2010


Hi, 

Thanks for the help so far, you guys are great. 

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. 

I will try tomorrow to set the tcpkeepalive in the sshd_config to yes and see if this is the problem. 

I have a funny feeling it is the tunnel that times out. 

Another funny thing though , the ssh-tunnels column stays green. 

the columns for cpu, memory,etc go purple. 

Regards 

Nelson Amaral 

----- Original Message ----- 
From: "Tim McCloskey" <tm at freedom.com> 
To: "hobbit at hswn.dk" <hobbit at hswn.dk> 
Sent: Tuesday, 6 April, 2010 7:27:33 PM 
Subject: RE: [hobbit] Clients loosing connection trough ssh-tunnels 




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). 



Tim 





From: White, Bruce [mailto:bewhite at fellowes.com] 
Sent: Tuesday, April 06, 2010 11:16 AM 
To: hobbit at hswn.dk 
Subject: RE: [hobbit] Clients loosing connection trough ssh-tunnels 



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. 



…..Bruce 







Bruce White 

Senior Enterprise Systems Engineer | Phone: 630-671-5169 | Fax: 630-893-1648 | bewhite at fellowes.com | www.fellowes.com 







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. 







From: Nelson Amaral [mailto:amaral8011 at googlemail.com] 
Sent: Tuesday, April 06, 2010 10:49 AM 
To: hobbit at hswn.dk 
Subject: [hobbit] Clients loosing connection trough ssh-tunnels 




Hi, 





I have a xymon server to monitor clients in a DMZ using ssh-tunnels. 





The connection is up and the clients start reporting but after about 15 minutes they stop reporting. 





the ssh tunnel is up but the clients go purple. 





Could you please help? 





I have tried all the settings i can think but it still happens 








Please see bellow client logs 









2010-04-06 14:57:22 Could not connect to bbd at 127.0.0.1:1984 - Connection refused 


2010-04-06 14:57:22 Whoops ! bb failed to send message - Connection failed 


2010-04-06 15:02:23 Could not connect to bbd at 127.0.0.1:1984 - Connection refused 


2010-04-06 15:02:23 Whoops ! bb failed to send message - Connection failed 


2010-04-06 15:07:23 Could not connect to bbd at 127.0.0.1:1984 - Connection refused 


2010-04-06 15:07:23 Whoops ! bb failed to send message - Connection failed 


2010-04-06 15:12:24 Could not connect to bbd at 127.0.0.1:1984 - Connection refused 


2010-04-06 15:12:24 Whoops ! bb failed to send message - Connection failed 


2010-04-06 15:47:49 Whoops ! bb failed to send message - timeout 


2010-04-06 15:52:49 Whoops ! bb failed to send message - timeout 


2010-04-06 15:57:50 Whoops ! bb failed to send message - timeout 


2010-04-06 16:02:51 Whoops ! bb failed to send message - timeout 


2010-04-06 16:07:36 Could not connect to bbd at 127.0.0.1:1984 - Connection refused 


2010-04-06 16:07:36 Whoops ! bb failed to send message - Connection failed 


2010-04-06 16:12:37 Could not connect to bbd at 127.0.0.1:1984 - Connection refused 


2010-04-06 16:12:37 Whoops ! bb failed to send message - Connection failed 


2010-04-06 16:17:38 Could not connect to bbd at 127.0.0.1:1984 - Connection refused 


2010-04-06 16:17:38 Whoops ! bb failed to send message - Connection failed 


2010-04-06 16:22:39 Could not connect to bbd at 127.0.0.1:1984 - Connection refused 


2010-04-06 16:22:39 Whoops ! bb failed to send message - Connection failed 


2010-04-06 16:27:39 Could not connect to bbd at 127.0.0.1:1984 - Connection refused 


2010-04-06 16:27:39 Whoops ! bb failed to send message - Connection failed 


2010-04-06 16:32:40 Could not connect to bbd at 127.0.0.1:1984 - Connection refused 


2010-04-06 16:32:40 Whoops ! bb failed to send message - Connection failed 


2010-04-06 16:37:41 Could not connect to bbd at 127.0.0.1:1984 - Connection refused 


2010-04-06 16:37:41 Whoops ! bb failed to send message - Connection failed 


2010-04-06 16:42:42 Could not connect to bbd at 127.0.0.1:1984 - Connection refused 


2010-04-06 16:42:42 Whoops ! bb failed to send message - Connection failed 




-- 
Kind regards 

Nelson Amaral
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20100405/86cad608/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 3463 bytes
Desc: image001.jpg
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20100405/86cad608/attachment.jpg>


More information about the Xymon mailing list