BB Unix Network Monitor - Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: {bb} Inverse rules
Paul Bigelow wrote:
>
> I finally found the time to upgrade from 1.2a to 1.2b. Now I'm getting
> different behaviour in the paging rules.
>
> I have these rules:
> !*;;msgs;;*;*;*
> *;;*;;*;*;me@myaddress
> but with 1.2b I am now getting paged for msgs going red.
>
> Changing this so that the hostname is specific and not wild-carded, stops
> the pages:
> !host1;;msgs;;*;*;*
> !host2;;msgs;;*;*;*
> !host3;;msgs;;*;*;*
> *;;*;;*;*;me@myaddress
>
> Which reminds me, I don't think anyone ever answered my question a number of
> months ago on the scope of the negative rules. Are there any order
> dependencies, or does a "!" rule over-ride all other matching rules
> regardless of position? What result would this produce?:
> *;;*;;*;*;me@myaddress
> !*;;msgs;;*;*;*
> *;;*;;*;*;them@theiraddress
There's a bug in bb-page.sh, at line 744 change '*' to ' *'.
BTW, as of your other question . the ! rule precedes anything.
There is no precedence rules in bbwarnrules.cfg. All rules lines
are examined and a recipient's list is built. This list is then
used for notifications.
bye
--
Robert-Andre Croteau BSD,MOTU robert@unix.sh
Services Conseils Informatiques MOTU Inc. robert@motu.ca
(514) 465-3057 rcroteau@videotron.ca
http://www.motu.ca/ http://www.bb4.com
Si le bonheur ne s'achete pas alors louez le.
-
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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