[hobbit] Host Groups in hobbit-alerts.cfg as per BB?
rwaegner
rwaegner at questia.com
Tue Jan 18 16:21:13 CET 2005
Is it also possible to have page groups setup the same way?
as in:
HOST=* SERVICE=conn REPEAT=10 RECOVERED
MAIL=
"1235556666 at cellcarrier.net,1235557777 at cellcarrier.net,1235558888 at cellcarrier.net" DURATION>30 COLOR=red
Rick
On Tue, 2005-01-18 at 00:29, Henrik Stoerner wrote:
> 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
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
More information about the Xymon
mailing list