Xymon Mailing List Archive search

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

list Henrik Størner
Tue, 18 Jan 2005 07:29:23 +0100
Message-Id: <user-a64c3492cfe7@xymon.invalid>

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