BB Unix Network Monitor - Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: {bb} initial page delay
On Wed, 07 Jul 2004 15:33:39 -0500, Jason Signalness <jason@btiadmin.net> wrote:
> >
> >
> >Your first rule does nothing, get rid of it.
> >
> Doesn't my first rule (*;;*;;*;*;*:~15) indicate "*" as the recipient,
> as in ALL recipients? I read the rule as "for all hosts, excluding
> nothing, for all services, excluding nothing, for all times, and for all
> recipients set an initial delay of 15 minutes." Are you saying that
> because the subsequent lines DO NOT have an initial delay specified, it
> will ignore my first line? Or are you saying my syntax is incorrect?
In short, the syntax is incorrect. Everything up until the ~15 is
correct, however it's moot if there is no recipient specified. You
can't configure * as 'all recipients', because it doesn't know who
those are. The host group and paging group sets in bbwarnsetup.cfg
are not read unless specifically used in a rule, so in this case,
where would it get the list of 'all recipients'? It wouldn't, sorry
to say. It doesn't matter anyway, as the rule doesn't do what you're
hoping anyway, that being (as I understand it) delay paging on all
hosts to all recipients for 15 minutes. The rules that follow it
would still trigger immediately, because BB uses fall through (test
against every rule), rather than first rule triggering. You seem to
be expecting BB to match on the first rule, then exit, which it
doesn't. Don't worry, that's one of the tougher things for alot of
folks to understand about BB paging.
> The effect I am after is this: For all services and recipients, don't
> page for 10 or 15 minutes if something goes red. If a service is still
> red after that delay, e-mail my phone(s). Then page every 4 hours until
> it's recovered.
In that case, for every rule that you write in the bbwarnrules.cfg
file, you need to add ~15-360 at the end. That will cause the rule to
not trigger for 15 minutes, and then only trigger every 4 hours after
the initial page.
> Is there any way to set a site-wide initial delay?
Unfortunately for you, no. However, the ruleset you posted is short
enough, so adding the ~15-360 after each rule should be manageable.
Sorry, but that's the way it is.
--
Regards,
Ben Pitzer
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.
Home |
Main Index |
Thread Index