Xymon Mailing List Archive search

Two BBDisplays, one collaboration

list Josh Luthman
Mon, 5 Nov 2007 16:25:26 -0500
Message-Id: <user-096903bdf917@xymon.invalid>

I just tried this:

Going to the main hobbit server and adding the summary line:
summary holidayinn.All holidayinn.ip.1.2 http://holidayinn/hobbit/

When I did this the main server contacted the hotel server and the at the
bottom of bb.html on the hotel server had this summary.  Oops?

Next I put that same config with the reverse IP on the hotel server.  This
worked and voids my last question question above.

Thank you all for your help!  Thanks a ton!

Josh

On 11/5/07, Hubbard, Greg L <user-d970b5e56ec9@xymon.invalid> wrote:
 That sounds about right.  I don't know of any alternative if you can't
drill into the remote server.  If it is not accessible, then you are
probably hosed in many ways.

*From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
*Sent:* Monday, November 05, 2007 2:57 PM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* Re: [hobbit] Two BBDisplays, one collaboration

If I understand this correctly, on the main Hobbit server I would add:

Summary Vegas.All pub.lic.i.p http://vegas.foo.com/hobbit/

Correct?

What would be an alternative solution should I find myself not able to
access the web pages from outside the hotel network?

Thanks a lot for your help Greg - slowly but surely, I'm getting it =)

On 11/5/07, Hubbard, Greg L <user-d970b5e56ec9@xymon.invalid> wrote:
 look in the docs for "summary"

*From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
*Sent:* Monday, November 05, 2007 2:36 PM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* Re: [hobbit] Two BBDisplays, one collaboration

 Honestly either one would work for me - I'd like to go for whatever is
easiest to maintain, so option b would be my preference.

I see on the demo site that at the bottom it has an SSLUG remote host.
The links go to the remote bbdisplay, making it so that if IPs or hosts need
to be changed, they're only changed on this one server.

This would be perfect for my situation, though I don't know what the
tyge or www tests are or what changed I need to do.  I would imagine it is
simply adding a couple of lines in bb-hosts though it may include bblocation
in the hobbitserver.cfg.

Does anyone know how Henrik got his demo site setup like that?

Josh


On 11/5/07, Hubbard, Greg L < user-d970b5e56ec9@xymon.invalid> wrote:
 Ah.  You have a couple of options.

a) configure each client (at a customer location) to send to the local
server as well as the main server.  This means that your customer clients
must all appear in the bb-hosts in your main server, as well as in the
bb-hosts for the server at the customer location.

b) (might work) -- you can have the Hobbit server at the customer
location send up a summary to your main server.  You will get a single dot
that shows the overall status of that customer.  The dot is linked to the
Hobbit page on the remote server.  This way you don't have to keep updating
your central server as hosts come and go at remote locations.

And you can mix and match these methods.

GLH

*From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
*Sent:* Monday, November 05, 2007 1:22 PM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* Re: [hobbit] Two BBDisplays, one collaboration

 I can't scp the entire host list, nor would I need to - it isn't
going to change and the hosts are not identical.

Let me tell you how the overall picture looks.  We have a main Hobbit
server that monitors our backbone, customers' home routers, WWW servers and
things.  Now we're adding a Hobbit at a hotel's LAN.  The first step was to
get Hobbit running there on its own little world and ping the access
points.  Now the next step, where I'm stuck, is to duplicate the information
that is sent from bbtest to the bbdisplay on our company Hobbit.

The hotel's list of hosts is limited - their APs and a couple of their
guest/lobby PCs.  Ours needs to have the things it has currently, but
another page that includes the hotel's hosts.

Sorry, I know I'm terrible at explaining my own situations =(

Josh

On 11/5/07, Tod Hansmann <user-b6e28cb93fa4@xymon.invalid> wrote:
 We just scp the hostlist from one to the others anytime changes are
made.  You could probably do this in a cron-job as well.


Do you have BBLOCATION set?  You shouldn't if you're not using
Net:foo


Do the displays have the entire bb-hosts file from both?  The bb-gen
won't generate pages for any of the hosts it doesn't know about via
bb-hosts.  Have you verified that hobbit is getting the status messages from
one server to the other?  Lastly, I'm picking at straws here, but do you
have any errors in the bb-display log?


*Tod Hansmann*

Network Engineer


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

*From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
*Sent: *Monday, November 05, 2007 11:04 AM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* Re: [hobbit] Two BBDisplays, one collaboration


Tod,

I've configured it that way and neither of the www pages have any
information (concerning these hosts).  I do know that 1984 is "connectable"
from the new Hobbit server (tested with nmap).

Any other ideas out there?  From what little I know about this it
seems like this Net option is just an extra step, it doesn't seem required -
is this true?  What is the simplest way of getting the list of hosts on both
bbdisplays?

Josh

On 11/5/07, *Tod Hansmann* < user-b6e28cb93fa4@xymon.invalid> wrote:

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"
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


--
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

--
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

--
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

--
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

-- 
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