[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Is there a way to clone host definitions in bb-hosts?
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Is there a way to clone host definitions in bb-hosts?
- From: Buchan Milne <bgmilne (at) staff.telkomsa.net>
- Date: Wed, 11 Jun 2008 11:19:21 +0200
- Cc: "John Burk" <john.d.burk (at) gmail.com>
- References: <4608520a0806101629k6edd1ee6y61d7e18c0b28f402 (at) mail.gmail.com>
- User-agent: KMail/1.9.7
On Wednesday 11 June 2008 01:29:21 John Burk wrote:
> I'm using hobbit for monitoring a compute cluster of nearly 1000
> identical hosts. I'm using includes in my bb-hosts to keep the file
> length down, but my included files are comprised of hundreds of hosts
> all identical except for the ipaddresses and hostnames.
>
> Surely there must be a way to template this, I just can't find it in
> the bb-hosts manpage...
[...]
> I'd like to be able to define the tags in a template, and simply use
> that template. Does this mechanism exist in bb-host?
No. This is the biggest weakness in Hobbit, but it is also one of the
BigBrother-compatibility features.
> That way
> if/when I need to change the tags for all my hosts, I only need to do
> it in one place, and not on every line in 3 different files.
But, do you want it only for bb-hosts (IOW, which tests to run and which tests
to not propagate), or also for thresholds, log/file/dir checks, alerts etc?
Henrik has mentioned that the configuration issues need to be looked at, but
it's a tradeoff between simplicity+repetitive, and excessively complex.
Regards,
Buchan