Xymon Mailing List Archive search

PROBLEM IN BBPROXY WITH MULTIPLE BBDISPLAYS

3 messages in this thread

list Simo Hmami · Tue, 31 Aug 2010 10:36:05 +0000 ·

 Hi all !!


I'm using a bbproxy that forward messages to two bbdispalys servers ,
 everything works well until the day when one of my bbdisplays went 
down,
 I was thinking that the bbproxy will continue to forward messages 
to the second bbdisplay server but it wasn't the case.


When i say the bbdisplay is down i meen that the server crashs and is unreachable because when i just stop xymon on one of the bbdisplays server  the bbproxy still send information to the second one.


So the problem is produced when one of the  bbdisplays is unreachable.


Anyone has any solution, idea, suggestion ....?


Thank you in advance!! 

Momo
list Tobias Nygren · Thu, 2 Sep 2010 09:28:36 +0200 ·
On Tue, 31 Aug 2010 10:36:05 +0000
quoted from Simo Hmami
simo hmami <user-33c2c6af3912@xymon.invalid> wrote:
When i say the bbdisplay is down i meen that the server crashs and is unreachable because when i just stop xymon on one of the bbdisplays server  the bbproxy still send information to the second one.
So the problem is produced when one of the  bbdisplays is unreachable.
Anyone has any solution, idea, suggestion ....?
Hi,

We have the same problem and have a locally developed workaround for it.
It seems bbproxy tries to add a negative file descriptor to an
fd_set, which causes an out-of-bounds array access. Patch is attached.

Kind regards,
-Tobias Nygren
Attachments (1)
list Simo Hmami · Thu, 2 Sep 2010 14:56:47 +0000 ·

 Thank you for your response,


I applied the patch then i reproduced  the problem (one bbdisplay server up & the second down) but it dosn't seem to be workin,
 the bbproxy still can't send informations.


Regards
quoted from Tobias Nygren


Date: Thu, 2 Sep 2010 09:28:36 +0200
From: user-e1e6e6f72eb7@xymon.invalid
To: xymon at xymon.com
CC: user-33c2c6af3912@xymon.invalid
Subject: Re: [xymon] PROBLEM IN BBPROXY WITH MULTIPLE BBDISPLAYS

On Tue, 31 Aug 2010 10:36:05 +0000
simo hmami <user-33c2c6af3912@xymon.invalid> wrote:
 
When i say the bbdisplay is down i meen that the server crashs and is unreachable because when i just stop xymon on one of the bbdisplays server  the bbproxy still send information to the second one.
So the problem is produced when one of the  bbdisplays is unreachable.
 
Anyone has any solution, idea, suggestion ....?
 
Hi,
 
We have the same problem and have a locally developed workaround for it.
It seems bbproxy tries to add a negative file descriptor to an
fd_set, which causes an out-of-bounds array access. Patch is attached.
 
Kind regards,
-Tobias Nygren