[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [hobbit] Duplicate Alerting issue.
> -----Original Message-----
> From: Stewart_Larsen (at) doh.state.fl.us
> [mailto:Stewart_Larsen (at) doh.state.fl.us]
> Sent: Donnerstag, 8. März 2007 22:25
> To: hobbit (at) hswn.dk
> Subject: [hobbit] Duplicate Alerting issue.
>
> I have a bit of a problem with my alert config.
>
> Suppose I have two macros defined for host groups
>
> $databases=%(sdb.*)
> $unix=%(sdb.*|www.*)
>
> Then I create some records like...
>
> HOST=$databases
> MAIL managers (at) foo.com
> MAIL dba (at) foo.com
>
> HOST=$unix
> MAIL managers (at) foo.com
> MAIL unix (at) foo.com
>
> The problem is then, that the managers group will get two alerts when
> there is a problem with an sdb* box.
>
> This was not the behavior under BB. Is there a way to keep the
> duplicate alerts out?
Try to use the EXHOST tag:
HOST=$unix EXHOST=$databases
MAIL managers (at) foo.com
MAIL unix (at) foo.com
Johann