Xymon Mailing List Archive search

bb-hosts-file page and subpage question

list Peter Welter
Mon, 6 Jun 2005 09:26:30 +0200
Message-Id: <user-51b353ba57f3@xymon.invalid>

Hi All,

Sorry, please discard my previous post.

I found the solution in the bb-hosts-man.page. Re-reading showed me
that below the include-tag it says:

dispinclude filename
    Acts like the "include" tag, but only on the BBDISPLAY server. Can
be used e.g. to put a group of hosts on multiple subpages, without
having to repeat the host definitions.

It works *great*! Thanks again Henrik for this brilliant piece of software!

Peter

2005/6/6, Peter Welter <user-f55666bd0d1e@xymon.invalid>:
Hi all,

As I understand, the page and subpage options help you to organize
your bunch of hosts. I have split them up in SLA's so I can alert on
each SLA we have. This is a very nice feature.

Now I thought it would be nice to have another view on my bunch of
hosts from a system perspective. So I have set up my bb-hosts file as
follows and get the :

page SLA SLA
subpage Application1 Application1
include bb-hosts-solaris-application1.txt
include bb-hosts-linux-application1.txt

subpage Application2 Application2
include bb-hosts-solaris-application2.txt
include bb-hosts-linux-application2.txt

page System System
subpage Solaris        Solaris
include bb-hosts-solaris-application1.txt
include bb-hosts-solaris-application2.txt

subpage Linux Linux
include bb-hosts-linux-application1.txt
include bb-hosts-linux-application2.txt


In the top-display I see: SLA and System and I can walk through either
branch to see my hosts, but in the bbnet column it says (in yellow):

Host XXXX appears twice in bb-hosts! This may cause strange results
Host YYYY appears twice in bb-hosts! This may cause strange results

So I guess the bbnet process double pings the associated hosts, so it
generates a double load. That's unwanted, but I like the approach very
much (an application/SLA-view and a system manager's-view).

Is there another (better & cleaner) way of setting this up?

Peter