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
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 | http://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
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<http://www.fellowes.com/>
[cid:image001.jpg at 01CAD57C.290CB4C0]
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<http://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<http://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<http://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<http://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<http://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<http://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<http://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<http://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<http://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<http://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<http://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<http://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
Nelson,
If the SSH session drops due to inactivity you cound try the clientaliveinterval and serveraliveinterval in sshd_config. See sectiion 2.12 of the openssh FAQ. There are probably other ways to do this as well.
Regards, -t
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<http://www.fellowes.com/>
[cid:image001.jpg at 01CAD57D.A690DBA0]
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<http://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<http://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<http://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<http://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<http://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<http://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<http://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<http://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<http://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<http://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<http://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<http://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
Check do you have two servers trying to connect to these clients...
Are you using the ssh-tunnels.sh script on the shire?
Padraig Lennon Senior Systems Integration Engineer
Pioneer Investments Management Ltd 5th Floor |Georges Quay Plaza | Georges Quay | Dublin 2 | Rep. of Ireland Tel. +353 (0)1 480.2081
padraig.lennon at pioneerinvestments.com <mailto:firstname.surname at pioneerinvestments.com> | www.pioneerinvestments.com <http://www.pioneerinvestments.com/>
Please consider the environment before printing this e-mail
From: Nelson Amaral [mailto:amaral8011 at googlemail.com] Sent: 06 April 2010 16:49 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
Hi,
I would like to report that I manage to resolve this problem.
The problem was that the tunnel timed out and hanged.
I solved it by changing the report time in client-local.cfg on the clients from 5m to 1m .
Maybe to 3m would work as well but this one is working so I'm not messing with it right now.
I would like to thank everyone for the help and support.
Regards
Nelson Sent from my BlackBerry® wireless device
-----Original Message----- From: "Lennon, Padraig" <Padraig.Lennon at pioneerinvestments.com> Date: Tue, 6 Apr 2010 23:47:48 To: <hobbit at hswn.dk> Subject: RE: [hobbit] Clients loosing connection trough ssh-tunnels
"The information in this e-mail and in any attachments is confidential and intended solely for the attention and use of the named addressee(s). This information may be subject to legal, professional or other privilege and further distribution of it is strictly prohibited without our authority. If you are not the intended recipient, you are not authorised to and must not disclose, copy, distribute, or retain this message or any part of it, and should notify us immediately.
This footnote also confirms that this email has been automatically scanned for the presence of computer viruses, profanities and certain file types."
Pioneer Investment Management Limited.
1 George’s Quay Plaza, George’s Quay, Dublin 2, Ireland.
Registered in Ireland no. 287793.
participants (4)
-
amaral8011@googlemail.com
-
bewhite@fellowes.com
-
Padraig.Lennon@pioneerinvestments.com
-
tm@freedom.com