Xymon Mailing List Archive search

bb-hosts file parsing issue

6 messages in this thread

list Etienne Marganne · Thu, 1 Feb 2007 10:32:50 +0100 ·
Hi all,

 
Now here is a tough problem we encountered. We recently installed a new
Hobbit server to get some redundancy. Every thing worked fine since we
copied our configuration files and try to make it work with that
installation of Hobbit server. 

 
The parsing of the bb-hosts file (in our case, this file is renamed
bb-hosts-shared for historical reason, believe it does not change anything)
does not work. bbgen crashes ... and we do not understand why. We tried all
combinations of tab's and spaces ... it only propagates the error to the
next line. 

 
I think that this issue is more of the scope of Henrik but if anybody has
similar problems; his, her proposals are welcome.

 
Thank you for taking carefully care of this issue,

 
Etienne Marganne

TI Automotive.


The information contained in this transmission may contain privileged and confidential information.  It is intended only for the use of the person(s) named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
Attachments (1)
list Jason Altrincham Jones · Thu, 1 Feb 2007 09:39:51 -0000 ·
You renamed bb-hosts but did you change the BBHOSTS setting in
hobbitserver from:

BBHOSTS="$BBHOME/etc/bb-hosts"

To

BBHOSTS="$BBHOME/etc/bb-hosts-shared"

 
?

Jason.
quoted from Etienne Marganne

 
From: Marganne, Etienne [mailto:user-b63c96159c04@xymon.invalid] 
Sent: 01 February 2007 09:33
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] bb-hosts file parsing issue

 
Hi all,

 
Now here is a tough problem we encountered. We recently installed a new
Hobbit server to get some redundancy. Every thing worked fine since we
copied our configuration files and try to make it work with that
installation of Hobbit server. 

 
The parsing of the bb-hosts file (in our case, this file is renamed
bb-hosts-shared for historical reason, believe it does not change
anything) does not work. bbgen crashes ... and we do not understand why.
We tried all combinations of tab's and spaces ... it only propagates the
error to the next line. 

 
I think that this issue is more of the scope of Henrik but if anybody
has similar problems; his, her proposals are welcome.

 
Thank you for taking carefully care of this issue,

 
Etienne Marganne

TI Automotive.

The information contained in this transmission may contain privileged
and confidential information. It is intended only for the use of the
person(s) named above. If you are not the intended recipient, you are
hereby notified that any review, dissemination, distribution or
duplication of this communication is strictly prohibited. If you are not
the intended recipient, please contact the sender by reply email and
destroy all copies of the original message.
list Etienne Marganne · Thu, 1 Feb 2007 10:45:29 +0100 ·
No we still have a bb-hosts file but with a include in it so that there is a
link from bb-hosts-shared to bb-hosts:

 
"The" line in bb-hosts: 

include bb-hosts-shared

 
Etienne Marganne

TI Automotive.
quoted from Jason Altrincham Jones

 
From: Jones, Jason (Altrincham) [mailto:user-ee957b46acd2@xymon.invalid] 
Sent: jeudi 1 février 2007 10:40
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] bb-hosts file parsing issue

 
You renamed bb-hosts but did you change the BBHOSTS setting in hobbitserver
from:

BBHOSTS="$BBHOME/etc/bb-hosts"

To

BBHOSTS="$BBHOME/etc/bb-hosts-shared"

 
?

Jason.

 
From: Marganne, Etienne [mailto:user-b63c96159c04@xymon.invalid] 
Sent: 01 February 2007 09:33
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] bb-hosts file parsing issue

 
Hi all,

 
Now here is a tough problem we encountered. We recently installed a new
Hobbit server to get some redundancy. Every thing worked fine since we
copied our configuration files and try to make it work with that
installation of Hobbit server. 

 
The parsing of the bb-hosts file (in our case, this file is renamed
bb-hosts-shared for historical reason, believe it does not change anything)
does not work. bbgen crashes ... and we do not understand why. We tried all
combinations of tab's and spaces ... it only propagates the error to the
next line. 

 
I think that this issue is more of the scope of Henrik but if anybody has
similar problems; his, her proposals are welcome.

 
Thank you for taking carefully care of this issue,

 
Etienne Marganne

TI Automotive.

The information contained in this transmission may contain privileged and
confidential information. It is intended only for the use of the person(s)
named above. If you are not the intended recipient, you are hereby notified
that any review, dissemination, distribution or duplication of this
communication is strictly prohibited. If you are not the intended recipient,
please contact the sender by reply email and destroy all copies of the
original message.
	

The information contained in this transmission may contain privileged and confidential information.  It is intended only for the use of the person(s) named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
list Jason Altrincham Jones · Thu, 1 Feb 2007 09:55:17 -0000 ·
Try using the absolute path rather than just bb-hosts-shared.  Alternatively you could alter hobbitserver to use bb-hosts-shared instead, up to you.
quoted from Etienne Marganne

Jason.

 
From: Marganne, Etienne [mailto:user-b63c96159c04@xymon.invalid] Sent: 01 February 2007 09:45
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] bb-hosts file parsing issue

 
No we still have a bb-hosts file but with a include in it so that there is a link from bb-hosts-shared to bb-hosts:

 
"The" line in bb-hosts: 
include bb-hosts-shared

 
Etienne Marganne

TI Automotive.

 
From: Jones, Jason (Altrincham) [mailto:user-ee957b46acd2@xymon.invalid] Sent: jeudi 1 février 2007 10:40
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] bb-hosts file parsing issue

 
You renamed bb-hosts but did you change the BBHOSTS setting in hobbitserver from:

BBHOSTS="$BBHOME/etc/bb-hosts"

To

BBHOSTS="$BBHOME/etc/bb-hosts-shared"

 
?

Jason.

 
From: Marganne, Etienne [mailto:user-b63c96159c04@xymon.invalid] Sent: 01 February 2007 09:33
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] bb-hosts file parsing issue

 
Hi all,

 
Now here is a tough problem we encountered. We recently installed a new Hobbit server to get some redundancy. Every thing worked fine since we copied our configuration files and try to make it work with that installation of Hobbit server. 
 
The parsing of the bb-hosts file (in our case, this file is renamed bb-hosts-shared for historical reason, believe it does not change anything) does not work. bbgen crashes ... and we do not understand why. We tried all combinations of tab's and spaces ... it only propagates the error to the next line. 
 
I think that this issue is more of the scope of Henrik but if anybody has similar problems; his, her proposals are welcome.

 
Thank you for taking carefully care of this issue,

 
Etienne Marganne

TI Automotive.

The information contained in this transmission may contain privileged and confidential information. It is intended only for the use of the person(s) named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
	
The information contained in this transmission may contain privileged and confidential information. It is intended only for the use of the person(s) named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
list Etienne Marganne · Thu, 1 Feb 2007 11:02:47 +0100 ·
Well, as a matter of fact, I do not believe this (bb-hosts-shared file)
could be the source of the issue. Everything has worked fine until now...
Why suddenly such a crash? 

 
I honestly think that it comes from the file parser ...
quoted from Jason Altrincham Jones

 
Etienne Marganne

TI Automotive.

 
From: Jones, Jason (Altrincham) [mailto:user-ee957b46acd2@xymon.invalid] 
Sent: jeudi 1 février 2007 10:55
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] bb-hosts file parsing issue

 
Try using the absolute path rather than just bb-hosts-shared.  Alternatively
you could alter hobbitserver to use bb-hosts-shared instead, up to you.

Jason.

 
From: Marganne, Etienne [mailto:user-b63c96159c04@xymon.invalid] 
Sent: 01 February 2007 09:45
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] bb-hosts file parsing issue

 
No we still have a bb-hosts file but with a include in it so that there is a
link from bb-hosts-shared to bb-hosts:

 
"The" line in bb-hosts: 

include bb-hosts-shared

 
Etienne Marganne

TI Automotive.

 
From: Jones, Jason (Altrincham) [mailto:user-ee957b46acd2@xymon.invalid] 
Sent: jeudi 1 février 2007 10:40
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] bb-hosts file parsing issue

 
You renamed bb-hosts but did you change the BBHOSTS setting in hobbitserver
from:

BBHOSTS="$BBHOME/etc/bb-hosts"

To

BBHOSTS="$BBHOME/etc/bb-hosts-shared"

 
?

Jason.

 
From: Marganne, Etienne [mailto:user-b63c96159c04@xymon.invalid] 
Sent: 01 February 2007 09:33
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] bb-hosts file parsing issue

 
Hi all,

 
Now here is a tough problem we encountered. We recently installed a new
Hobbit server to get some redundancy. Every thing worked fine since we
copied our configuration files and try to make it work with that
installation of Hobbit server. 

 
The parsing of the bb-hosts file (in our case, this file is renamed
bb-hosts-shared for historical reason, believe it does not change anything)
does not work. bbgen crashes ... and we do not understand why. We tried all
combinations of tab's and spaces ... it only propagates the error to the
next line. 

 
I think that this issue is more of the scope of Henrik but if anybody has
similar problems; his, her proposals are welcome.

 
Thank you for taking carefully care of this issue,

 
Etienne Marganne

TI Automotive.

The information contained in this transmission may contain privileged and
confidential information. It is intended only for the use of the person(s)
named above. If you are not the intended recipient, you are hereby notified
that any review, dissemination, distribution or duplication of this
communication is strictly prohibited. If you are not the intended recipient,
please contact the sender by reply email and destroy all copies of the
original message.
	
The information contained in this transmission may contain privileged and
confidential information. It is intended only for the use of the person(s)
named above. If you are not the intended recipient, you are hereby notified
that any review, dissemination, distribution or duplication of this
communication is strictly prohibited. If you are not the intended recipient,
please contact the sender by reply email and destroy all copies of the
original message.
	

The information contained in this transmission may contain privileged and confidential information.  It is intended only for the use of the person(s) named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
list Henrik Størner · Thu, 1 Feb 2007 11:10:27 +0100 ·
quoted from Etienne Marganne
On Thu, Feb 01, 2007 at 10:32:50AM +0100, Marganne, Etienne wrote:
The parsing of the bb-hosts file (in our case, this file is renamed
bb-hosts-shared for historical reason, believe it does not change anything)
does not work. bbgen crashes ... and we do not understand why. We tried all
combinations of tab's and spaces ... it only propagates the error to the
next line. 
It seems this is caused by a mis-handling of the "nopropred" setting;
for this host it's "-snmp". I don't see this in your bb-hosts file, 
so presumably this is a command-line option or from a .default. host.

So could you give me the exact command you use to run bbgen ?

Also, if it is possible then I would like to have your bbgen executable,
the core file and the bb-hosts file. You can upload them with ftp to
www.hswn.dk in the /incoming directory.


Regards,
Henrik