[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [hobbit] Host Groups in hobbit-alerts.cfg as per BB?
- To: <hobbit (at) hswn.dk>
- Subject: RE: [hobbit] Host Groups in hobbit-alerts.cfg as per BB?
- From: "Bruce Lysik" <blysik (at) shutterfly.com>
- Date: Wed, 26 Jan 2005 15:28:40 -0800
- Thread-index: AcT9J0urVPd7IG9xSzq2AV6sj5WGpgG1mhOw
- Thread-topic: [hobbit] Host Groups in hobbit-alerts.cfg as per BB?
> That's the documented way of doing it, yes. Although your example is
> not quite correct - it should be "%(hostA1|hostA2|hostB3|otherhost)".
>
> The simple way is this: "hostA1,hostA2,hostB3,otherhost"
>
> Note: You cannot mix the two - it's either a regular expression,
> or a simple list.
I'm trying to migrate from a large BB installation which made extensive use of host groups via the BBConfigure script. While some of the groups would allow for a regex to describe its members, there are quite a few sizable groups where this isn't feasible.
Is there any way hobbit could support the bbwarnsetup.cfg file style of host groups? Or possibly the HOST (and MAIL arguments for that matter) could accept shell commands somehow?
For example:
HOST=`/usr/local/bin/bbgroup netapps`
MAIL `cat oncall.txt`
(And bbgroup would assemple a comma seperated list of netapp hosts.)
Though I suppose the SCRIPT keyword would allow something similar for mailing.
Thoughts?
--
Bruce Z. Lysik <blysik (at) shutterfly.com>
Operations Engineer