BB Unix Network Monitor - Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

{bb} How can I get mail on yellow, page on red?



This will look familiar, but it's a separate question, so please read
on. 

BB 1.9e-btf

pagelevels: red yellow purple
pagelevelsmail: yellow 
pagetype: event

Our text pagers are reached by sending email to them. In bbwarnsetup.cfg
I have an alias set up to our pagers:
pg-dba: daves-pager@myserver.mydomain.com
freds-pager@myserver.mydomain.com which are aliases to the actual
devices.  

The rule(s) in question looks like this 

resfiles6;;pages_free;;0-6;0000-2359; pg-dba:30 sysadmin@mydomain.com:60
resfiles6;;pages_free;;0-6;0000-2359; pg-escalate:^60-5

What I'm expecting to happen:
If the test returns yellow, 
-pg-dba should be ignored (because it's not an email address)
-sysadmin@mydomain.com should be send an email (because it *is* an email
address

If the test turns red,
pg-dba should not be ignored and pagers should rouse us from our
slumber. 

What's actually happening:

If the test turns yellow,
The notifications are being sent to pg-dba and to sysadmin@mydomain.com

So we're getting paged on yellow.  According to the docs, this shouldn't
happen: 
# If the event is of yellow or purple  level, only an email notification
# will be sent if the color is also defined in the "pagelevels" token.

How can we build a rule that will mail on yellow and page on red?  Are
the email adresses in the bbwarnsetup groups entry causing this problem?

TIA!   Dave
 




--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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