[hobbit] Host Groups in hobbit-alerts.cfg as per BB?

Henrik Stoerner henrik at hswn.dk
Tue Jan 18 07:29:23 CET 2005


On Tue, Jan 18, 2005 at 02:03:40PM +1300, Andy France wrote:
>
> Is it possible to create "host groups" for alerting as per the
> bbwarnsetup.cfg and bbwarnrules.cfg files in Big Brother?

Yes. There are actually two way you can do that - the documented
one, and the simple one :-)

> The hobbit-alerts.cfg file mentions I can use regular expression type
> wildcards, but some servers for which I want the same alerting do not
> follow any such pattern.  Does using "%hostA1|hostA2|hostB3|otherhost" fake
> the grouping?

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.


Regards,
Henrik



More information about the Xymon mailing list