Xymon Mailing List Archive search

Problem with multiple BBDISPLAYS

list Werner Gmail Lists
Mon, 04 Sep 2006 11:00:14 -0300
Message-Id: <user-96a26d413f94@xymon.invalid>

On Mon, Sep 04, 2006 at 11:24:22AM +0200, Ulric Eriksson wrote:
Does the behaviour change if you swap the two IP-adresses in the
BBDISPLAYS setting? Ie if you change it to
 BBDISPLAYS="10.0.4.7 10.0.4.5"
Yes. Should it? ;-)

10.0.4.5 is the Big Brother server, 10.0.4.7 is the Hobbit 
server. It works when I list the Hobbit server first.
OK, then it isn't really a bug, but just a configuration issue.
The problem is that when the web-build task (bbgen) fetches
the current status it needs to get it from the Hobbit server, not
the BB server. But since it doesn't know which of all the servers
listed in BBDISPLAYS is a Hobbit server, it will always use the
first one.
Hi Henrik,
	Maybe (to avoid server/bbgen crash), bbgen could use the "ping"
command agains the listed servers, to be sure it's a hobbitd server and
not a BB or BB variant.

	-wm