[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bb-hosts-file page and subpage question
- To: hobbit (at) hswn.dk
- Subject: Re: bb-hosts-file page and subpage question
- From: Peter Welter <peter.welter (at) gmail.com>
- Date: Mon, 6 Jun 2005 09:26:30 +0200
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=GBKP8KnNxcwrs3lB16a8WVjVvV1BLkPCSkN3JIrYwU6McV/pfuDikxTvoQOouUpjK4iHB4kP2IXoLIWOqMgGz0Rf7E5t9fRW4YFR4xyaWyqvdt0XkoC1Hp7cfg0GYIyyfjuq7v5Co33inwe5tw90MIblPF2ut/RqC6DspLRxklA=
- References: <af5861d605060600055aedc809@mail.gmail.com>
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 <peter.welter (at) gmail.com>:
> 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
>