Xymon Mailing List Archive search

Two BBDisplays, one collaboration

list Tod Hansmann
Mon, 5 Nov 2007 09:22:04 -0700
Message-Id: <user-3353dc55d526@xymon.invalid>

So, we have two servers doing tests, and they display their own tests,
and also send alerts to the main display.  So the main display is an
aggregate of both test servers.  This looks to be similar to what you're
doing, so I hope that helps put the rest of this info in context.

 
This is the testers:

BBDISP="0.0.0.0"

BBDISPLAYS="127.0.0.1 ip.of.main.display"

   ------ more stuff -------

BBLOCATION="poller1"

 
The BBLOCATION is important to the setup.  I'll point out why in a
moment.  Also, ip.of.main.display is the same in both configs here.

 
This is the main display:

BBSERVERIP="ip.of.main.display"

BBDISP="$BBSERVERIP"

BBDISPLAYS=""

   ------ more stuff -------

BBLOCATION="display"

 
Now in the bb-hosts file, I have Net:poller1 with all the hosts poller1
polls, and Net:poller2 with all the hosts poller2 polls.  This may not
be useful in the setup you're trying to get working, but it can't hurt
to include.  I think your original config is the one to go with, but I
might go with 127.0.0.1 and no spaces.  I'm pretty sure the BBDISPLAYS
just has bbtest-net send it to everything in that list when it has a
status message.  Also note that port 1984 will have to be opened
appropriately on any firewalls.

 
Way more info than you probably need, but I do hope some of it helps.

 
Tod Hansmann

Network Engineer

 
  <http://www.directpointe.com/>;  


From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] 
Sent: Saturday, November 03, 2007 12:58 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Two BBDisplays, one collaboration

 
What I am trying to do is have two BBDisplay servers.  The first one
being our main one - monitors our network equipment and things - and a
second one that lives on the customer's network and pings APs, Switches,
etc.

I have setup this in bb-hosts on the main one:

page HIXX Holiday Inn X X
group-compress <H3><I>Access Points</I></H3>
1.2.3.4 host.com # noconn

group-compress <H3><I>HIDM Hardware</I></H3>
2.3.4.5 host2.com # noconn

Reason for the noconn is that these are all private IPs, accessible only
by the customer's LAN.  These configuration match those of the
customer's bb-hosts (with the exception of noconn, of course =)

I then went into the customer's server/etc/hobbitserver.cfg and changed
it as such:

BBDISP=" 0.0.0.0 <http://0.0.0.0>; "
BBDISPLAYS=" 10.59.1.119,MAINSERVERPUBLIC"

I have also tried it without quotes

When I set this neither BBDisplay has anything on the www pages, they're
completely blank!  Once I switch it to 

BBDISP="$BBSERVERIP"            # IP of a single hobbit/bbd server
BBDISPLAYS=""

It works perfectly fine on the customer's server, but the main one is
display blank (obviously =)

Please let me know where I went wrong.  Thanks in advance!

Josh

-- 
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer