[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Duplicate entries in bb-hosts
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Duplicate entries in bb-hosts
- From: "s_aiello (at) comcast.net" <s_aiello (at) comcast.net>
- Date: Thu, 21 Aug 2008 12:04:04 -0400
- References: <BAC1D28A5AB852439A6914CA7AB4E63F0645B0C5 (at) permls05.wde.woodside.com.au>
- User-agent: KMail/1.10.0 (Linux/2.6.24-19-generic; KDE/4.1.0; x86_64; ; )
On Thursday 21 August 2008 11:01:01 Everett, Vernon wrote:
> Hi all
>
> Here's one that's got me stumped.
> All the Hobbit docs and list information states that if we monitor a
> host with a dynamic (DHCP assigned) IP address, we put it into bb-hosts
> as
> 0.0.0.0 server01 # Other stuff here.
>
> Ok, not a problem. Been there, done that got the T-shirt.
>
> Now, if a host need to appear twice (or more), in 2 different pages or
> groups, for instance, then the first entry in bb-hosts is supposed to be
>
> 1.2.3.4 server02 # Other stuff here
> and the second (and subsequent) appearance should be
> 0.0.0.0 server02 # Other stuff
>
> Also all good. Got a few T-shirts for that too.
>
> Now for what I am trying to do.
> A host with a dynamic (DHCP assigned) IP address needs to appear twice.
> So I thought we follow the pattern.
> First entry
> 0.0.0.0 server03 #
> Subsewunt entries
> 0.0.0.0 server03 #
>
> Looks too easy.
> Well, it is too easy.
> Now on the hobbit server, bbtest is yellow, and the gives the message
> Error output:
> Host server03 appears twice in bb-hosts! This may cause strange results
> Any ideas how to get round that?
> The only other factors that might be relevant are
> 1. All the servers appear a second time in bb-hosts include file.
> 2. All of these hosts are Windows machines, running bbwin.
>
> All assistance greatly appreciated.
>
> Regards
> Vernon
>
When having a host appear multiple times, one of the entries should be
considered the primary entry with all bbtags for that device. You define that
device entry as the 'primary' one with the prefer bbtag.
~Steve